[jboss-jira] [JBoss JIRA] (AS7-3293) root context

Arron Ferguson (JIRA) jira-events at lists.jboss.org
Thu Jan 12 15:50:21 EST 2012


Arron Ferguson created AS7-3293:
-----------------------------------

             Summary: 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


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>

This 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

        


More information about the jboss-jira mailing list