This content has been marked as final.
Show 3 replies
-
1. Re: How to change JBoss AS 4.04 CR2 Default Web Root
pkusos May 6, 2006 4:00 AM (in response to pkusos)Sorry. I'm using Ubuntu Linux
-
2. Re: How to change JBoss AS 4.04 CR2 Default Web Root
kurt_olsen May 8, 2006 1:19 AM (in response to pkusos)I would suggest leaving webroot where it is and simply replacing the contents. This is easy to do from an ant script in a post-installation phase. Create the webapp you'd like to be root, and after removing the contents of the default jboss app, copy yours in.
-
3. Re: How to change JBoss AS 4.04 CR2 Default Web Root
jetica May 14, 2006 4:51 AM (in response to pkusos)add file jboss-web.xml to WEB-INF,
and file content :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
<context-root>/</context-root>
</jboss-web>