JBoss Community

ERROR deploying web application to root context jbossAS 7.1

created by Phanor Coll in JBoss AS 7 Development - View the full discussion

Im trying to deploy my web app to root context instead of using http://localhost:8080/webapp, I want to use http://localhost:8080..

 

I modified standalone.xml, enable-welcome-root to false

 

<virtual-server name="default-host" enable-welcome-root="false">

      <alias name="localhost"/>

</virtual-server>

 

and created jboss-web.xml in WEB-INF

 

<jboss-web>

     <context-root>/</context-root>

</jboss-web>

 

when I  enter http://localhost:8080, I get

HTTP Status 404 - /


type Status report

message /

description The requested resource (/) is not available.

 

 

Im using jbossAS 7.1

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community