When web application has a version, Engine level Clustering works correctly.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1051392 13f79535-47bb-0310-9956-
ffa450edef68
Container context = manager.getContainer() ;
if(context != null && context instanceof Context) {
Container host = ((Context)context).getParent();
- if(host != null && host instanceof Host && clusterName!=null && !(clusterName.indexOf("#")>=0))
+ if(host != null && host instanceof Host && clusterName!=null &&
+ !(clusterName.startsWith(host.getName() +"#"))) {
clusterName = host.getName() +"#" + clusterName ;
+ }
}
}
return clusterName;
node is the only node in the cluster. Log requesting session data as
INFO rather than WARNING. (markt)
</fix>
+ <fix>
+ <bug>50503</bug>: When web application has a version, Engine level
+ Clustering works correctly. (kfujino)
+ </fix>
</changelog>
</subsection>
<subsection name="Web applications">