Bugs item #602587, was opened at 2002-08-30 19:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=602587&group_id=22866

Category: CatalinaBundle
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick Coleman (mystafer)
Assigned to: Scott M Stark (starksm)
Summary: Catalina cluster fails for context '/'

Initial Comment:
This applies only when deploying a distributable war in a 
JBoss3-Tomcat4 bundle clustered environment.

This problem appears to be in the JBoss_3_0_2 tag as 
well as the head as of Aug 30, 2002 3:40 PM EST.

When deploying a standalone war file with a jboss-
web.xml setting of <context-root>/</context-root> and a 
web.xml setting of <distributable/>, the Apache context 
equivalent is "".  (Nothing)

The constructor for the 
class "org.jboss.web.catalina.session.ClusterManager" 
retrieves the context to create a new jmx administration 
bean for the clustered context name.

The new jmx object is constructed as: 
objectName=new ObjectName
("jboss.web:service=ClusterManager,context="+contextP
ath);

Since the contextPath variable equates to "", the 
operation fails.   The exception handler for this routine 
ignores the error and simply 
outputs: "ClusteredHTTPSessionService not found" 
which is not correct.

If the following line of code:
if (contextPath.equals("")) contextPath="/";
is added after the line:
contextPath=context.getPath();
in the constructor, the code works as designed.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=602587&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to