[jboss-jira] [JBoss JIRA] (WFLY-3758) Unable to run JSF applications deployed to "/"
Ken H (JIRA)
issues at jboss.org
Tue Aug 26 11:43:00 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken H closed WFLY-3758.
-----------------------
Resolution: Rejected
Withdrawn. I was unable to reproduce the behavior in a sample project until Rewrite/PrettyFaces was introduced to the JSF project. This was a bug in the Rewrite 2.0.12 servlet that has been addressed in 3.0.0.Alpha3.
> Unable to run JSF applications deployed to "/"
> -----------------------------------------------
>
> Key: WFLY-3758
> URL: https://issues.jboss.org/browse/WFLY-3758
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JSF, Web (Undertow)
> Affects Versions: 9.0.0.Beta1
> Environment: WildFly master at 50a830205c, JDK 1.7
> Reporter: Ken H
> Assignee: Tomaz Cerar
>
> I don't think the patch in pull request 6338 is right. I experienced the issue defined in WLFY-3448 on 8.1.0.Final, then built master at 50a830205c and the new behavior is different but still broken. Now requests to http://host/login throws a Not Found, the server is expecting http://host//login (which explodes because it isn't valid). If I hit http://host then the redirect is generated to http://host//welcome because httpServletRequest.getContextPath() is returning "/" (when it was returning an empty string in 7.x).
> From web.xml:
> {code}
> <welcome-file-list>
> <welcome-file>/</welcome-file>
> </welcome-file-list>
> {code}
> From jboss-web.xml:
> {code}
> <jboss-web>
> <context-root>/</context-root>
> </jboss-web>
> {code}
> My app is packaged as a war, so no application.xml exists to define context-root.
> I would say this is a regression caused by the resolution to WLFY-3448
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list