[
https://issues.jboss.org/browse/AS7-3293?page=com.atlassian.jira.plugin.s...
]
Remy Maucherat commented on AS7-3293:
-------------------------------------
Since you didn't provide a test war, and I believe welcome files are functional, I am
directing you to the support forum to investigate further.
root context
------------
Key: AS7-3293
URL:
https://issues.jboss.org/browse/AS7-3293
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.1.0.Final
Environment: Windows 7, 64 bit, JDK/RE 7 (Java(TM) SE Runtime Environment (build
1.7.0-b147))
Reporter: Arron Ferguson
Assignee: Remy Maucherat
Labels: context, root, welcome
Context root of a deployed web app results in an HTTP 404 despite web.xml specifying the
correct path to a welcome file, e.g.:
<welcome-file-list>
<welcome-file>/index.html</welcome-file>
</welcome-file-list>
...
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
Accessing the context root (e.g.
http://localhost:8080/myapp/) will result in:
HTTP Status 404 - /myapp/
for example.
On a side note, I'm using a snapshot (jboss-as-7.1.0.Final-SNAPSHOT) and yet the 404
page is stating at the bottom of the 404 page that it is "JBoss
Web/7.0.8.Final". Is this right?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira