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: xhh...@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/us...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to