clean %CATALINA_HOME%/temp clean %CATALINA_HOME%/work rename all instances of myfaces-impl-1.1.2.jar to *.*.old comment all instances of StartupServletContextListener such as this entry in web.xml.myfaces <listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</lis tener-class> </listener> (OR uninstall and re-install tc as earlier suggested) M- ----- Original Message ----- From: "david delbecq" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Tuesday, January 22, 2008 1:30 PM Subject: Re: Tomcat 5.5 won't start up anymore after adding/removing webapps > Those are just serialized session of users generated when webapps stop. > There shouldn't be any reference to myface except in your personal > webapps. The fact it's present in other apps make me think you did more > than deploy webapp, like modifying the common web.xml that is shared > across all webapps (and where default servlet is defined that browse > directories) and putting jars in common/lib or alter in any other way > the different apps. Since you were just "playing" with experimental > apps, i'd recommend you remove your tomcat and start with a fresh one, > obviously you played a little too much and did break something :) > Note that a webapp not starting should stop tomcat itself from starting. > Karr, David a écrit : > > There weren't any files corresponding to those apps in the conf tree. However, when I just tried grepping for that class name in the entire tree, I found it in the following files: > > > > ./work/Catalina/localhost/jsp-examples/tldCache.ser > > ./work/Catalina/localhost/servlets-examples/tldCache.ser > > ./work/Catalina/localhost/tomcat-docs/tldCache.ser > > ./work/Catalina/localhost/webdav/tldCache.ser > > ./work/Catalina/localhost/_/tldCache.ser > > > > > >> -----Original Message----- > >> From: david delbecq [mailto:[EMAIL PROTECTED] > >> Sent: Tuesday, January 22, 2008 10:08 AM > >> To: Tomcat Users List > >> Subject: Re: Tomcat 5.5 won't start up anymore after > >> adding/removing webapps > >> > >> To manually undeploy a webapp, when tomcat is stopped, remove > >> webapps/<webappname>* remove work/Catalina/localhost/<webappname> > >> remove conf/Catalina/localhost/<webappname>.xml > >> > >> Karr, David a écrit : > >> > >>> I installed v5.5.25. I installed the "admin" app (although the > >>> instructions on doing this seem uncertain). I used it for a few > >>> hours, deploying and undeploying some experimental apps > >>> > >> using MyFaces > >> > >>> and RichFaces. Now, for some reason, I'm finding that Tomcat won't > >>> start up at all, and I've undeployed all the apps (except the admin > >>> app) that I had deployed. I first only removed the war and > >>> > >> exploded > >> > >>> dir from the webapps dir, but then I tried removing them from the > >>> "work/Catalina/localhost" directory also. > >>> > >>> The error I'm seeing in the localhost log is this: > >>> > >>> java.lang.ClassNotFoundException: > >>> org.apache.myfaces.webapp.StartupServletContextListener > >>> at > >>> > >>> > >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad > >> > >>> er > >>> java:1362) > >>> at > >>> > >>> > >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad > >> > >>> er > >>> java:1208) > >>> at > >>> > >>> > >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext > >> > >>> .j > >>> ava:3712) > >>> at > >>> > >>> > >> org.apache.catalina.core.StandardContext.start(StandardContext.java:42 > >> > >>> 16 > >>> ) > >>> > >>> Obviously, since something is still trying to reference MyFaces, > >>> there's some remnant of one of my deployed apps lying around in a > >>> place that I'm not aware of. > >>> > >>> > >>> > >> --------------------------------------------------------------------- > >> > >>> To start a new topic, e-mail: users@tomcat.apache.org To > >>> > >> unsubscribe, > >> > >>> e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >> --------------------------------------------------------------------- > >> To start a new topic, e-mail: users@tomcat.apache.org To > >> unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]