you want / or /index.html to be mapped to your application in JBoss so it must be the ROOT webapp (server/default/deploy/ROOT.war), once it is working in JBoss directly you should remove the Rewrite directives.
I already have the following in my web app:
<jboss-web> ... <context-root>/</context-root> <virtual-host>cluster.domain.com</virtual-host> </jboss-web>
Shouldn't that be enough? The context is working okay, it's just a question of getting a default document to be served.
I'll focus on getting this working directly...
Thanks for the reply.
In order for <welcome-file-list> to be recognised, web.xml file also needs to have an additional servlet mapping that matches with the welcome-file entry. For example:
<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/index.html</url-pattern> </servlet-mapping> ... <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list>
Not so obvious after all?
I have created a JIRA: MODCLUSTER-86
Note that is it only a related problem.
Cool - although I've managed to resolve my use case, having mod_cluster interact appropriately with mod_rewrite will be very handy.
Thanks for your time,