| Summary: | CLONE - Struts applications using MyFaces context listener don't work on EAP/EWP | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise WFK Platform 1 | Reporter: | Ondrej Skutka <oskutka> |
| Component: | Struts | Assignee: | Rebecca Newton <rebecca.jboss> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.2.0.GA | ||
| Target Milestone: | --- | ||
| Target Release: | 1.2.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBWFK-118 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-06 14:43:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Link: Added: This issue Cloned from JBPAPP-5160 Link: Added: This issue is related to JBPAPP-1958 Link: Added: This issue is related to JBPAPP-1897 Link: Added: This issue is related to JBWFK-90 Release Notes Docs Status: Added: Not Yet Documented |
Affects: Release Notes Workaround: Workaround Exists Workaround Description: Workaround involves removing JSF implementation from the application server. Struts applications using the MyFaces context listener do not work on the Enterprise Application Platform, or the Enterprise Web Platform. A workaround is to remove the JSF jars from the $JBOSS_HOME/server/<Profile>/deploy/jbossweb.sar/jsf-libs/*.jar directory, and to comment the following lines out of the $JBOSS_HOME/server/<Profile>/deployers/jbossweb.deployer/web.xml. <context-param> <param-name>com.sun.faces.injectionProvider</param-name> <param-value>org.jboss.web.jsf.integration.injection.JBossInjectionProvider</param-value> </context-param> <listener> <listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class> </listener> <listener> <listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class> </listener> <init-param> <description>JSF standard tlds</description> <param-name>tagLibJar0</param-name> <param-value>jsf-libs/jsf-impl.jar</param-value> </init-param> <init-param> <description>JSTL standard tlds</description> <param-name>tagLibJar1</param-name> <param-value>jstl.jar</param-value> </init-param> You will also need to remove or comment out the following line from $JBOSS_HOME/server/<Profile>/deploy/jbossweb.sar/META-INF/jboss-structure.xml. Note that this will remove your ability to run the admin console. <path name="jsf-libs" suffixes=".jar" /> securitylevel_name: Public Struts applications using MyFaces context listener don't work on EAP/EWP. This is a known behavior, see also JBPAPP-1958.