Index: tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java =================================================================== RCS file: /cvsroot/jboss/jboss-tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java,v retrieving revision 1.26.2.11 diff -u -u -r1.26.2.11 TomcatDeployer.java --- tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java 7 Jul 2005 05:46:55 -0000 1.26.2.11 +++ tomcat/src/main/org/jboss/web/tomcat/tc5/TomcatDeployer.java 22 Jul 2005 13:49:44 -0000 @@ -266,9 +266,6 @@ new Object[]{jaccValve}, new String[]{"org.apache.catalina.Valve"}); - // Init the container; this will also start it - server.invoke(objectName, "init", new Object[]{}, new String[]{}); - if (metaData.getDistributable()) { // Try to initate clustering, fallback to standard if no clustering is available @@ -299,6 +296,9 @@ } } + // Init the container; this will also start it + server.invoke(objectName, "init", new Object[]{}, new String[]{}); + /* Add security association valve after the authorization valves so that the authenticated user may be associated with the request thread/session.