This content has been marked as final.
Show 3 replies
-
1. Re: default context no longer works on 3.2.3
raja05 May 8, 2004 12:24 PM (in response to kenroberts)Im not sure how it works on 3.0.6 as i have 3.0.8 and i could get it only as
http://localhost:8080/warname
One thing you can try to do to accomplish what you need is to package it into a ear and specify your context-root to be a / in ur application.xml
Or if you dont want to repackage into a ear, create a jboss-web.xml which would have a
context-root tag that has a value of /
Lookup the dtd for jboss-web_3_2.dtd to figure the Definition of context-root
http://www.jboss.org/j2ee/dtd/ -
2. Re: default context no longer works on 3.2.3
kenroberts May 10, 2004 2:53 PM (in response to kenroberts)Thanks.
I'll give that a try and then post back. -
3. Re: default context no longer works on 3.2.3
bommee Jul 16, 2004 2:43 PM (in response to kenroberts)Thanks raja05!
I have spent too much time trying to find something on theNo Default Context
issue and this is all I needed to know.
So to paraphrase:
In your web applications WEB_INF directory if the jboss-web.xml file doesn't already exist you will need to create it. This file will contain at least:<jboss-web> <context-root>/</context-root> </jboss-web>
And that should be all you need to set this as the default context. Man that was painful, maybe I just had really bad luck, but there doesn't seem to be any docs on this.
Thanks again.