-
1. Re: Context root for WAR (not EAR)
adrian.brock Jan 28, 2002 12:53 PM (in response to hlship)If you are using a WAR, the context is the name of the
WAR.
e.g. myapp.war is deployed to http://localhost:8080/myapp
Regards,
Adrian -
2. Re: Context root for WAR (not EAR)
coetmeur Feb 6, 2002 12:02 PM (in response to hlship)
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 -
3. Re: Context root for WAR (not EAR)
craigday Apr 14, 2002 9:05 AM (in response to hlship)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.
c -
4. Re: Context root for WAR (not EAR)
jules_gosnell Apr 16, 2002 10:09 AM (in response to hlship)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 !
Jules -
5. Re: Context root for WAR (not EAR)
oravecz Apr 17, 2002 10:14 AM (in response to hlship)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? -
6. Re: Context root for WAR (not EAR)
oravecz Apr 17, 2002 10:34 AM (in response to hlship)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:
<context-root>mycontext</context-root>
and
<virtual-host>name</virtual-host>