as told here the name of the war is the name of the context...
thus ".war" is deployed on the root context
works on jboss244+tomcat401
doesnt work on jboss245 tomcat403. webapps get deployed in random contexts of the form web1001 web1002 web1003 which is totally useless, i can fix this behaviour in the source from the jboss end if required, ive tracked it down, but i cant say whether jboss should be making the decision about the context.
In 2.4.5 and 3.0RC1 (I think) context is configurable within the jboss-web.xml insinde the war.
Looks like you'll have to upgrade !
I wish I could figure out how to check out 2.4.5 to see what it is doing.
Does anyone have an example of how to use jboss-web.xml to specify the web app's context?
I know bad form...
The source is included in the jBoss 2.4.5 download. Turns out there are two new entries added to the jboss-web.xml descriptor: