This content has been marked as final.
Show 2 replies
-
1. Re: Publish application ...
peterj Feb 17, 2011 4:24 PM (in response to erick.pessoa)Two steps:
First, remove the default ROOT application. In 5.1.0 it is at server/xxx/deploy/ROOT.war.
Second, create a WEB-INF/jboss-web.xml file within your WAR with this content:
<jboss-web>
<context-root>/</context-root>
<jboss-web>
Instead of removing ROOT.war, you could add a jboss-web.xml file to it with a different context-root, or simply rename it. For example, if you rename it to jbossroot.war, you can still access it via http://hostname:8080/jbossroot
-
2. Publish application ...
erick.pessoa Feb 19, 2011 10:51 AM (in response to peterj)Peter, thank's for your help...