[jboss-jira] [JBoss JIRA] (AS7-3293) root context
Arron Ferguson (JIRA)
jira-events at lists.jboss.org
Thu Jan 12 16:58:21 EST 2012
[ https://issues.jboss.org/browse/AS7-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655662#comment-12655662 ]
Arron Ferguson commented on AS7-3293:
-------------------------------------
Remy,
I am not asking for support, I am reporting a bug. Glassfish 3.1.1 successfully handles the root context based on the Servlet spec, JBoss 7.1 Final is apparently not.
I'd suggest a different tone and approach (i.e. a more professional one) if you wish for long term survival of the JBoss brand; flaming someone for reporting a bug will scare away any future attempts at using this product and spending money on your employer's storefront.
> 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
More information about the jboss-jira
mailing list