You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/11/08 03:04:28 UTC
DO NOT REPLY [Bug 50230] New: Recursive dependency between the
tomcat-catalina-ha and tomcat-catalina
https://issues.apache.org/bugzilla/show_bug.cgi?id=50230
Summary: Recursive dependency between the tomcat-catalina-ha
and tomcat-catalina
Product: Tomcat 7
Version: 7.0.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Manager
AssignedTo: dev@tomcat.apache.org
ReportedBy: xhhsld@gmail.com
>From the pom file of tomcat-catalina-ha, it depends on the tomcat-catalina. But
one class HTMLManagerServlet in the tomcat-catalina has a reference to a class
BackupManager in the tomcat-catalina-ha. Is there a way to remove the
recursive dependency between those two components ?
By the way, there mightbe a NullPointerException issue while using the
BackupManager in the HTMLManagerServlet.
---> line.523
Manager manager = ctxt.getManager();
if (manager instanceof BackupManager && showProxySessions) {
args[5] = new Integer(
((BackupManager)manager).getActiveSessionsFull());
} else if (ctxt.getManager() != null){
args[5] = new Integer(manager.getActiveSessions());
} else {
args[5] = new Integer(0);
}
<---
Please also check the thread from
http://www.mail-archive.com/users@tomcat.apache.org/msg83188.html
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50230] Recursive dependency between the
tomcat-catalina-ha and tomcat-catalina
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50230
--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-11-09 10:34:33 EST ---
As was pointed out on the referenced thread there is no NPE risk here.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50230] Recursive dependency between the
tomcat-catalina-ha and tomcat-catalina
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50230
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-11-11 17:11:28 EST ---
Fixed in trunk and will be in 7.0.5 onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org