[jboss-dev-forums] [JBoss AS 7 Development] - ERROR deploying web application to root context jbossAS 7.1
Phanor Coll
do-not-reply at jboss.com
Mon Mar 19 18:09:10 EDT 2012
Phanor Coll [https://community.jboss.org/people/pcoll] created the discussion
"ERROR deploying web application to root context jbossAS 7.1"
To view the discussion, visit: https://community.jboss.org/message/724863#724863
--------------------------------------------------------------
Im trying to deploy my web app to root context instead of using http://localhost:8080/webapp http://localhost:8080/webapp, I want to use http://localhost:8080 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 http://localhost:8080, I get
h1. 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
[https://community.jboss.org/message/724863#724863]
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/20120319/bc6ed56f/attachment.html
More information about the jboss-dev-forums
mailing list