Description of problem: WAIT_FOR_BEFORE_START does not work for / context applications. If you set WAIT_FOR_BEFORE_START to / and deploy a / application, the connectors never start. Version-Release number of selected component (if applicable): EAP 6.2.0 How reproducible: Always Steps to Reproduce: 1. ./standalone.sh -Dorg.apache.catalina.connector.WAIT_FOR_BEFORE_START=/ 2. Deploy a / context 3. Check and see that the connectors never started as expected after / was deployed Actual results: Connectors never start with WAIT_FOR_BEFORE_START=/ Expected results: Connectors start with WAIT_FOR_BEFORE_START=/ when / context app is deployed Additional info: It gets the newly started context through context.getPath(). When deployed to /, context.getPath() is returning "" so that doesn't match the "/" value specified on WAIT_BEFORE_START and so the condition is never satisfied. WAIT_BEFORE_START can't be set to "" to get a matching value there since only values containing "/" are effectively used.
PR: https://github.com/jbossas/jboss-eap/pull/762
6.3 bz: https://bugzilla.redhat.com/show_bug.cgi?id=1050204 6.x PR: https://github.com/jbossas/jboss-eap/pull/763
Correct 6.x PR: https://github.com/jbossas/jboss-eap/pull/768
Marking for inclusion in 6.2.1 release notes documentation.
Verified in 6.2.1.CP.CR1-patch