facebook

Eror configuring app com.sun.faces.config.ConfigureListener

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #252650 Reply

    schanamolu
    Member

    Hi,

    Iam created a sample JSF project using myeclipse 4.1.1, eclipse 3.1.2 with myeclipse/Add JSF Capablities.

    I added Spring & Hibernate capabilites to this project. I deployed in Tomcat 5.5.16 server.

    The following Libraries are added to the Web-INF/lib folder.

    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar

    standard.jar

    When I started the tomcatsevrer i got the following exeception.

    Any help would be apprciated.

    NFO: XML validation disabled
    May 26, 2006 3:27:43 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    May 26, 2006 3:27:43 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Skipped installing application listeners due to previous error(s)
    May 26, 2006 3:27:43 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    May 26, 2006 3:27:43 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/host-manager] startup failed due to previous errors
    May 26, 2006 3:27:44 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    #252671 Reply

    Riyad Kalla
    Member

    Did you drill down into the jsf-impl.jar file and find the offending class?

    #252691 Reply

    schanamolu
    Member

    Hi Riyad,

    yes I see that ConfigureListener.class do exist on jsf-impl.jar. I didnt this exception when i reinstall tomcat Tomcat 5.5.16 and deployed under WebApp

    Let me know if Iam missing any thing as this error will be shown in future during development.

    After I got the above exception, I couldnt able to go tomcat default webpage. http://localhost:8080

    let me know..

    Thanks,
    sreedhar

    #252696 Reply

    Riyad Kalla
    Member

    Sreedhar,
    If you cannot access the default Tomcat webpage, then either Tomcat isn’t running or your install of Tomcat is corrupted. That exception is probably the result of a screwed up classpath, becuase you said the class is infact in the jsf-impl.jar file. I would suggest redownloading Tomcat 5.5.16 in ZIP format, unzipping it to a new dir, pointing MyEclipse at it, redeploying your app to that new unzipped copy and running it, see if it works.

    #294190 Reply

    gbadavidson
    Member

    I ma something of a newbie to JSF and Facelets. I have created a new project, added JSF capibilities then added Facelets. I built with maven and then just tried to load onto tomcat 6. I have verified that the jsf-impl class is in the lib directory and it does hold the ConfigureListener class. After a stroll through google I found some instructions to add the following to the web.xml file.

    <listener>
    <listener-class> com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <!– Listener implementation to handle web application lifecycle events –>
    <listener>
    <listener-class>com.sun.faces.application.WebappLifecycleListener</listenerclass>
    </listener>

    I did add these to the web.xml, yet I still get the error:

    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener

    Does anyone have any suggestions?

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Eror configuring app com.sun.faces.config.ConfigureListener

You must be logged in to post in the forum log in