Bug 724760 (JBWFK-118) - CLONE - Struts applications using MyFaces context listener don't work on EAP/EWP
Summary: CLONE - Struts applications using MyFaces context listener don't work on EAP/EWP
Keywords:
Status: CLOSED WONTFIX
Alias: JBWFK-118
Product: JBoss Enterprise WFK Platform 1
Classification: JBoss
Component: Struts
Version: 1.2.0.GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 1.2.0.GA
Assignee: Rebecca Newton
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBW...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-06 14:41 UTC by Ondrej Skutka
Modified: 2011-06-06 14:43 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-06 14:43:35 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 724720 0 high NEW Struts 2 Showcase application's JSF integration does not work on EWP/EAP 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBWFK-118 0 Major Closed CLONE - Struts applications using MyFaces context listener don't work on EAP/EWP 2014-01-17 14:11:01 UTC

Internal Links: 724720

Description Ondrej Skutka 2011-06-06 14:41:58 UTC
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.

Comment 1 Karel Piwko 2011-06-06 14:41:58 UTC
Link: Added: This issue Cloned from JBPAPP-5160


Comment 2 Karel Piwko 2011-06-06 14:41:59 UTC
Link: Added: This issue is related to JBPAPP-1958


Comment 3 Karel Piwko 2011-06-06 14:41:59 UTC
Link: Added: This issue is related to JBPAPP-1897


Comment 4 Karel Piwko 2011-06-06 14:41:59 UTC
Link: Added: This issue is related to JBWFK-90


Comment 5 Karel Piwko 2011-06-06 14:43:35 UTC
Release Notes Docs Status: Added: Not Yet Documented



Note You need to log in before you can comment on or make changes to this bug.