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&...]