users@glassfish.java.net

Re: Where can I get facelets?

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Aug 2007 09:25:35 PDT

Thanks. I've gotten farther, but now I get the dreaded "can't cast an instance of class A to class A" (2nd trace below) at Tomcat startup (for smfadmin)!

=========
Aug 2, 2007 11:37:17 AM com.sun.faces.config.ConfigureListener contextInitialize
d
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b16-p02) for co
ntext '/smfadmin'
Aug 2, 2007 11:37:17 AM com.sun.faces.config.ConfigureListener contextInitialize
d
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b16-p02) for co
ntext '/smfadmin'
Aug 2, 2007 11:15:38 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of clas
s com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate can
not be cast to com.sun.faces.application.ApplicationAssociate
        at com.sun.faces.application.ApplicationAssociate.getInstance(Applicatio
nAssociate.java:208)
        at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(J
SFVersionTracker.java:269)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:551)
        at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(Gl
assFishConfigureListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3827)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
334)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
[Message sent by forum member 'tommykalafut' (tommykalafut)]

http://forums.java.net/jive/thread.jspa?messageID=229209