facebook

MyEclipse 5.0 doesnt work with MyFaces 1.1.1

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #258902 Reply

    bansi
    Member

    I have been experiencing lot of problems using MyEclipse 5.0 very recently. I have experienced a wierd problem when i undeploy the application on Tomcat 5.5 . It doesnt completely Undeploys the application. It leaves a small foot print of the webapplication with the WEBINF/lib folder having myfaces-all.jar. So when i try to physically delete the application it doesnt work saying myfaces-all.jar has reference to other applications. So i need to Shutdown my Tomcat and then phsically delete the application. At this time it shows in the stack trace as
    Undeploy the Context

    Now when i redeploy the web application it shows the following stack trace

    SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
    java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
    at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.<init>(DigesterFacesConfigUnmarshallerImpl.java:42)
    at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:110)
    at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
    at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
    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.deployDirectory(HostConfig.java:904)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1190)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
    at java.lang.Thread.run(Thread.java:595)
    Sep 20, 2006 3:15:21 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Sep 20, 2006 3:15:21 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/MyProj] startup failed due to previous errors

    Please Note next time when i redeploy the application only WEBINF/lib with myfaces-all.jar gets deployed and all other stuff is missing from the deployment. I am using MyEclipse out-of-the-box deployment tool. Wondering if i can generate build.xml from this tool & customize it for my own uses

    #258903 Reply

    bansi
    Member

    A little correction to my note the title is MyEclipe Deployment Tool doesnt work with Tomcat 5.5 using MyFaces 1.1.1 . Any sample build file using Spring, JSF will be highly appreciated

    Regards
    Bansi

    #259731 Reply

    Riyad Kalla
    Member

    Bansi,
    This extends from the fact that you are trying to do deployment/undeployment to a running app server. The app server will lock reosurces while the application is running. If you use an exploded deployment, you shouldn’t need to keep redeploying as your changes are synced on the fly.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: MyEclipse 5.0 doesnt work with MyFaces 1.1.1

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