Im not sure how it works on 3.0.6 as i have 3.0.8 and i could get it only as
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
I'll give that a try and then post back.
I have spent too much time trying to find something on the
No Default Contextissue 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.