JBoss Community

Re: JBoss 7.1.1 - Not able to set app to root context using jboss-web.xml

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

Never mind. I got the solution.

 

I disabled the default 'welcome' content, which is deployed in the root context by default.

 

<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">

 

  <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/>

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

    <alias name="localhost" />

    <alias name="example.com" />

  </virtual-server>

</subsystem>

 

Thanks

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community