[jboss-cvs] JBossAS SVN: r107707 - branches/JBPAPP_5_1/tomcat/src/main/org/jboss/web/tomcat/service/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 19 16:41:14 EDT 2010
Author: miclark
Date: 2010-08-19 16:41:14 -0400 (Thu, 19 Aug 2010)
New Revision: 107707
Modified:
branches/JBPAPP_5_1/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java
Log:
JBPAPP-465 - applied patch.
Modified: branches/JBPAPP_5_1/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java
===================================================================
--- branches/JBPAPP_5_1/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java 2010-08-19 20:22:22 UTC (rev 107706)
+++ branches/JBPAPP_5_1/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java 2010-08-19 20:41:14 UTC (rev 107707)
@@ -1101,9 +1101,11 @@
}
String hostName = ((Host) container_.getParent()).getName();
hostName = (hostName == null) ? "localhost" : hostName;
+ String path = ((Context) container_).getPath();
+ path="".equals(path) ? "/" : path;
ObjectName clusterName = new ObjectName(domain
+ ":type=Manager,host=" + hostName + ",path="
- + ((Context) container_).getPath());
+ + path);
if (server.isRegistered(clusterName))
{
More information about the jboss-cvs-commits
mailing list