[jboss-dev-forums] [JBoss AS 7 Development] - Re: JBoss 7.1.1 - Not able to set app to root context using jboss-web.xml

such do-not-reply at jboss.com
Tue May 8 15:41:10 EDT 2012


such [https://community.jboss.org/people/such] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/734355#734355

--------------------------------------------------------------
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
[https://community.jboss.org/message/734355#734355]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120508/2a9a1eea/attachment.html 


More information about the jboss-dev-forums mailing list