XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.0.Final
    • Web
    • Hide

      Create Java EE 6 Web app, deploy and attempt to access root context of web app within JBoss AS 7.1 Final, e.g.:

      http://localhost:8080/myapp/

      Show
      Create Java EE 6 Web app, deploy and attempt to access root context of web app within JBoss AS 7.1 Final, e.g.: http://localhost:8080/myapp/
    • Hide

      Don't really have one, sorry. This works in Glassfish 3.1.1 (not trolling, just saying .

      Show
      Don't really have one, sorry. This works in Glassfish 3.1.1 (not trolling, just saying .
    • Low

      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?

              rmaucher Remy Maucherat
              geekkit Arron Ferguson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: