### Eclipse Workspace Patch 1.0 #P jbosseap-5.0 Index: tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java =================================================================== --- tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java (revision 103345) +++ tomcat/src/main/org/jboss/web/tomcat/service/session/JBossManager.java (working copy) @@ -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)) {