- 
        1. Re: ROOT ignored in excludedContextsjfclere Sep 1, 2011 2:55 AM (in response to larstobi)Check the mod-cluster.sar/META-INF/mod-cluster-jboss-beans.xml there should something like: <property name="excludedContexts">${jboss.modcluster.excludedContexts:ROOT,admin-console,invoker,jbossws,jmx-console,juddi,web-console}</property> So it is -Djboss.modcluster.excludedContexts .... Note you try to use the default doing nothing should have work. 
- 
        2. Re: ROOT ignored in excludedContextslarstobi Sep 1, 2011 3:30 AM (in response to jfclere)This line is unchanged by me and straight from the 1.1.3 tarball: <property name="excludedContexts">${jboss.mod_cluster.excludedContexts,jboss.modcluster.excludedContexts:ROOT,admin-console,invoker,jbossws,jmx-console,juddi,web-console}</property> So, bot jboss.modcluster and jboss.mod_cluster should work, however I have also tried withhout the underscore with no luck. However, my profile folder was a copy of the web profile, and I just tried renaming ROOT.war to jboss-ROOT.war, and excluded jboss-ROOT instead of just ROOT. Now it correctly excludes the context. Is this a bug, or is it the correct behaviour? If it is correct behaviour, can I achieve the same without renaming ROOT.war, or is this rename required? 
- 
        3. Re: ROOT ignored in excludedContextsjfclere Sep 1, 2011 3:57 AM (in response to larstobi)That looks like a bug :-( 
- 
        4. Re: ROOT ignored in excludedContextslarstobi Sep 1, 2011 4:02 AM (in response to jfclere)Okay, then I'll file a bug report. We have a good workaround with the renaming of ROOT.war in the mean time. 
- 
        5. Re: ROOT ignored in excludedContextsjfclere Sep 1, 2011 4:14 AM (in response to jfclere)MODCLUSTER-253 
- 
        6. Re: ROOT ignored in excludedContextspferraro Sep 1, 2011 11:01 AM (in response to jfclere)I don't actually think this is a bug. Does your server.xml specify a specific host name, e.g. <Host name="myhost">? The values contain in excludedContexts are expected to be host-delimited. If no host is specified, it is assumed to be "localhost". To exclude the root context of a specific host, you would use something like this: <property name="excludedContexts">myhost:ROOT,myhost:mycontext</property> 
- 
        7. Re: ROOT ignored in excludedContextspferraro Sep 1, 2011 11:03 AM (in response to jfclere)To elaborate, when parsing the excludedContexts, mod_cluster translates "ROOT" to the "" context, not "/". Jean-Frederic, is there a chance that the version of jbossweb in use here might be expecting "/" instead of ""? 
- 
        8. Re: ROOT ignored in excludedContextsjfclere Sep 1, 2011 11:40 AM (in response to pferraro)We have in main/java/org/jboss/modcluster/mcmp/impl/ResetRequestSourceImpl.java: if (path.equals("")) path = "/"; 
- 
        9. Re: ROOT ignored in excludedContextslarstobi Sep 1, 2011 11:53 AM (in response to pferraro)I have localhost in my server.xml, and no aliases. 
- 
        10. Re: ROOT ignored in excludedContextspferraro Sep 1, 2011 4:39 PM (in response to larstobi)FYI, I tracked down the issue to a regression caused by MODCLUSTER-220. I've committed a fix, which will be included in 1.1.4.Final. 
 
     
    