Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#4
-
Fix Version/s: 1.7.2
-
Component/s: Sample Apps
-
Labels:None
-
Environment:Windows
-
ICEsoft Forum Reference:
Description
A community member, see forum reference above, is seeing the following exception when attempting to deploy our address demo on JBoss 4.2.0 GA.
12:49:43,062 INFO [TomcatDeployer] deploy, ctxPath=/address, warUrl=.../tmp/deploy/tmp1235address-exp.war/
12:49:43,296 ERROR [[/address]] Exception sending context initialized event to listener instance of class org.jboss.web.
jsf.integration.config.JBossJSFConfigureListener
javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/Program%20Files/jboss-4.2.0.GA/server/all/tmp/d
eploy/tmp1235address-exp.war/WEB-INF/lib/icefaces-comps.jar!/META-INF/faces-config.xml: Error at line 40 column 15: Erro
r at (40, 15: com.sun.faces.config.beans.RenderKitBean
at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1465)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:369)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.j
ava:69)
Here is a snippet of the exception I see when attempting to deploy on JBoss 4.2.0 GA. Slightly different.
10:57:13,921 ERROR [[/address]] Exception sending context initialized event to l
istener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigure
Listener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
at com.sun.faces.application.ApplicationAssociate.getInstance(Applicatio
nAssociate.java:172)
at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(J
SFVersionTracker.java:266)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:424)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contex
tInitialized(JBossJSFConfigureListener.java:69)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3854)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
359)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:761)
12:49:43,062 INFO [TomcatDeployer] deploy, ctxPath=/address, warUrl=.../tmp/deploy/tmp1235address-exp.war/
12:49:43,296 ERROR [[/address]] Exception sending context initialized event to listener instance of class org.jboss.web.
jsf.integration.config.JBossJSFConfigureListener
javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/Program%20Files/jboss-4.2.0.GA/server/all/tmp/d
eploy/tmp1235address-exp.war/WEB-INF/lib/icefaces-comps.jar!/META-INF/faces-config.xml: Error at line 40 column 15: Erro
r at (40, 15: com.sun.faces.config.beans.RenderKitBean
at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1465)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:369)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.j
ava:69)
Here is a snippet of the exception I see when attempting to deploy on JBoss 4.2.0 GA. Slightly different.
10:57:13,921 ERROR [[/address]] Exception sending context initialized event to l
istener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigure
Listener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
at com.sun.faces.application.ApplicationAssociate.getInstance(Applicatio
nAssociate.java:172)
at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(J
SFVersionTracker.java:266)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:424)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contex
tInitialized(JBossJSFConfigureListener.java:69)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3854)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
359)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:761)
Issue Links
- depends on
-
ICE-606 Make ICEfaces fully leverage JSF 1.2
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
ICEfaces 1.5 and 1.6 do not support JSF 1.2 runtimes with JSPs. This is the reason for the failures running the Address demo.
Note that beginning with ICEfaces 1.6 running on JSF 1.2 runtimes, such as that included with JBoss 4.2, is supported for Facelet applications only. Thus, the Facelet sample applications such as the Facelet Comp. Showcase and Timezone #7 will work correctly on JBoss 4.2.