On 20/10/2010 21:39, Ivan wrote:
> Hi,
> 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 ?
Yes. Ugly, but possible.
> By the way, there mightbe a NullPointerException issue while using the
> BackupManager in the HTMLManagerServlet.
Really? Where?
Mark
> ---> 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);
> }
> <---
> thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]