Hi All,

I have the following problem in JBoss 4.2.1. I try to adapt a Shale example
from http://www.javaworld.com/javaworld/jw-05-2006/jw-0515-jsf.html?page=2
to run using EJB3, not only as a web service. I include all the .jar files I
found important into the .war, but can't find out why JBoss keeps telling me
the following (first exception during deploy, more follow). The situation is
the same as the original webservice version. Must be some incompatible .jar,
but which? Below this list of .jars with size.

Thanx in advance: Balázs Bámer

22:10:40,594 FATAL [config] Cant instantiate class: phase-listener:
org.apache.shale.view.faces.ViewPhaseListener.
22:10:40,594 ERROR [STDERR] java.lang.ClassCastException:
org.apache.shale.view.faces.ViewPhaseListener cannot be cast to
javax.faces.event.PhaseListener
22:10:40,594 ERROR [STDERR]     at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:825)
22:10:40,594 ERROR [STDERR]     at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
22:10:40,604 ERROR [STDERR]     at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
22:10:40,604 ERROR [STDERR]     at
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
22:10:40,604 ERROR [STDERR]     at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
...

2006.04.11.  17:42            86˙098 com-sun-rave-designtime.jar
2006.04.11.  17:42           188˙671 commons-beanutils.jar
2006.04.11.  17:42            81˙592 commons-chain.jar
2006.04.11.  17:42            30˙085 commons-codec.jar
2006.04.11.  17:42           518˙641 commons-collections.jar
2006.04.11.  17:42           139˙966 commons-digester.jar
2006.04.11.  17:42           112˙341 commons-el.jar
2006.04.11.  17:42            22˙379 commons-fileupload.jar
2006.04.11.  18:40           207˙723 commons-lang.jar
2006.04.11.  17:42            38˙015 commons-logging.jar
2006.04.11.  17:42            91˙113 commons-validator.jar
2007.07.13.  16:09            52˙220 ejb3-persistence.jar
2006.04.11.  17:42            65˙261 jakarta-oro.jar
2007.07.13.  16:09            20˙385 jboss-ejb3x.jar
2004.07.10.  14:31           701˙856 jsf-api.jar
2006.04.11.  17:42         1˙390˙801 jsfcl-dt.jar
2006.04.11.  17:42           183˙696 jsfcl.jar
2006.04.11.  17:42            20˙682 jstl-api.jar
2006.04.11.  17:42           393˙259 jstl-impl.jar
2006.04.11.  17:42         3˙890˙915 openide.jar
2006.04.11.  17:42           562˙913 propertyeditors.jar
2006.04.11.  17:42           180˙644 shale-clay.jar
2006.04.11.  17:42           141˙892 shale-core.jar
2006.04.11.  17:42            39˙809 shale-remoting.jar
2006.04.11.  17:42            62˙997 shale-tiger.jar
2006.04.11.  17:42             9˙800 shale-tiles.jar
2007.09.26.  11:52            39˙811 shale-view-1.0.4.jar
2006.04.11.  17:42           108˙361 tiles-core.jar
2006.04.11.  17:42         1˙248˙177 tomahawk-1.1.2-SNAPSHOT.jar
-- 
View this message in context: 
http://www.nabble.com/Class-cast-problem-in-JBoss-tf4649480.html#a13282844
Sent from the Shale - User mailing list archive at Nabble.com.

Reply via email to