I am a newer about JBoss. And I used JBoss 4.2.3 GA
I have deloy a war named 01.war application to $JBOSS_HOME/server/default/deploy/
When I started JBoss, I found that the context path of 01.war turned to:
[TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/01.war/
Then I have rename war filename to 01forum.war, and restarted JBoss, JBoss log showed:
[TomcatDeployer] deploy, ctxPath=/forum, warUrl=.../deploy/01forum.war/
Open my web browser, type URL: http://localhost/forum , the page could be showed correctly.
But when change the URL to http://localhost/01forum , there was a 404 error.
It seams that JBoss will cut the prefix digit in war file name, this is a BUG OR JBOSS SPEC?
Could anyone told me the truth !!
If I recall correctly, you can prefix your apps with a number and the deployer will deploy the apps in the order specified by the numbers. Of course the deployer ignores the number prefix when it considers the app name, and since the app name provides the context...