RE: Java.lang.ClassNotFoundException: listeners.ContextListener
Hi, You did answer not my question. Is this problem specific only to one web application? From your exception, it points to listeners.ContextListener not being found. Per your tags, you should have this ContextListener class in a package called listener. This class should appear at your myLogin/WEB-INF/classes/listeners/ or it can be inside a jar file located at myLogin/WEB-INF/lib/. You are getting this error because Tomcat cannot find it in either of those two locations.If you look at the servlet-examples or the jsp-examples that came with tomcat, you should have same directory(package) structure. Best for you to check your myLogin.war file, by expanding it and locating the subject missing class. aka_sergio --- "Harry Douglass, Jr." <[EMAIL PROTECTED]> wrote: > Maybe I am still not understanding, but where do I > place what files? In all > my other struts projects, I never had to this > listeners.ContextListener > error, but now all the sudden it occurs?! > > Is there a jar file I need or should I copy the > ContextListener.class > provided in the Tomcat 5 servlet-examples in a > particular folder of my > project? > > Thanks, > Struts newbie, > Harry > > -Original Message- > From: sven morales [mailto:[EMAIL PROTECTED] > Sent: Monday, February 07, 2005 6:16 PM > To: Tomcat Users List > Subject: Re: Java.lang.ClassNotFoundException: > listeners.ContextListener > > Hi, >Do you have this class located in your > appname/WEB-INF/classes/listeners/ ? If not, do > you > have it located in the appname/WEB-INF/lib/*.jar ? > Basically I think it is looking for your > listener.ContextListener class. I would expand your > war file and search for this class, then make sure > it > is put located in the right directory. >This is the only web applications not launching > right and the rest is working okay? So limit your > search right around your war file. > > aka_sergio > > > --- "Harry Douglass, Jr." <[EMAIL PROTECTED]> > wrote: > > > Need some addition help! > > > > Unfortunately, I am still getting this error even > > with adding this tag to my > > web.xml file: > > > > > > > > > listeners.ContextListener > > > > > > I verified that I am using the correct DTD schema: > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web > > Application 2.3//EN" > > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > But, I am still getting this application error > right > > when it is deploying my > > project on the server container: > > > > INFO: Deploying web application archive > myLogin.war > > Feb 6, 2005 1:13:17 PM > > org.apache.catalina.core.ApplicationContext log > > SEVERE: Error configuring application listener of > > class > > listeners.ContextListener > > java.lang.ClassNotFoundException: > > listeners.ContextListener > > Feb 6, 2005 1:13:17 PM > > org.apache.catalina.core.StandardContext > > listenerStart > > SEVERE: Skipped installing application listeners > due > > to previous error(s) > > Feb 6, 2005 1:13:17 PM > > org.apache.catalina.core.StandardContext start > > SEVERE: Error listenerStart > > Feb 6, 2005 1:13:17 PM > > org.apache.catalina.core.StandardContext start > > SEVERE: Context startup failed due to previous > > errors > > Feb 6, 2005 1:13:17 PM > > org.apache.catalina.core.ApplicationContext log > > > > Any more suggestions? > > > > Thanks, > > Harry > > > > Hi There, > > > > The web.xml will have the following xml tag tag > in > > it > > > > > > classpath > > > > > > It sounds like the class file referenced by this > tag > > does not exist or that > > the class path is wrong. > > > > Thanks > > > > Pete > > > > -Original Message- > > From: Harry Douglass, Jr. > > [mailto:[EMAIL PROTECTED] > > Sent: 05 February 2005 22:57 > > To: tomcat-user@jakarta.apache.org > > Subject: Java.lang.ClassNotFoundException: > > listeners.ContextListener > > > > > > Hello, > > > > > > > > When my Tomcat 5 server is started, it gets a > SEVERE > > error in the output > > which states: > > > > > > > > SEVERE: Error configuring application listener of > > class > > listeners.ContextListener > > > >
RE: Java.lang.ClassNotFoundException: listeners.ContextListener
Maybe I am still not understanding, but where do I place what files? In all my other struts projects, I never had to this listeners.ContextListener error, but now all the sudden it occurs?! Is there a jar file I need or should I copy the ContextListener.class provided in the Tomcat 5 servlet-examples in a particular folder of my project? Thanks, Struts newbie, Harry -Original Message- From: sven morales [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 6:16 PM To: Tomcat Users List Subject: Re: Java.lang.ClassNotFoundException: listeners.ContextListener Hi, Do you have this class located in your appname/WEB-INF/classes/listeners/ ? If not, do you have it located in the appname/WEB-INF/lib/*.jar ? Basically I think it is looking for your listener.ContextListener class. I would expand your war file and search for this class, then make sure it is put located in the right directory. This is the only web applications not launching right and the rest is working okay? So limit your search right around your war file. aka_sergio --- "Harry Douglass, Jr." <[EMAIL PROTECTED]> wrote: > Need some addition help! > > Unfortunately, I am still getting this error even > with adding this tag to my > web.xml file: > > > > listeners.ContextListener > > > I verified that I am using the correct DTD schema: >PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > But, I am still getting this application error right > when it is deploying my > project on the server container: > > INFO: Deploying web application archive myLogin.war > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.ApplicationContext log > SEVERE: Error configuring application listener of > class > listeners.ContextListener > java.lang.ClassNotFoundException: > listeners.ContextListener > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Skipped installing application listeners due > to previous error(s) > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext start > SEVERE: Error listenerStart > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext start > SEVERE: Context startup failed due to previous > errors > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.ApplicationContext log > > Any more suggestions? > > Thanks, > Harry > > Hi There, > > The web.xml will have the following xml tag tag in > it > > > classpath > > > It sounds like the class file referenced by this tag > does not exist or that > the class path is wrong. > > Thanks > > Pete > > -Original Message- > From: Harry Douglass, Jr. > [mailto:[EMAIL PROTECTED] > Sent: 05 February 2005 22:57 > To: tomcat-user@jakarta.apache.org > Subject: Java.lang.ClassNotFoundException: > listeners.ContextListener > > > Hello, > > > > When my Tomcat 5 server is started, it gets a SEVERE > error in the output > which states: > > > > SEVERE: Error configuring application listener of > class > listeners.ContextListener > > Java.lang.ClassNotFoundException: > listeners.ContextListener > > > > SEVERE: Error configuring application listener of > class > listerners.SessionListener > > Java.lang.ClassNotFoundException: > listeners.SessionListener > > > > SEVERE: Skipped installing application listeners due > to previous error(s). > > > > > > Can anyone help with why this is occurring everytime > I start the Tomcat 5 > server. > > > > Thanks in advance, > > > > Harry > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java.lang.ClassNotFoundException: listeners.ContextListener
Hi, Do you have this class located in your appname/WEB-INF/classes/listeners/ ? If not, do you have it located in the appname/WEB-INF/lib/*.jar ? Basically I think it is looking for your listener.ContextListener class. I would expand your war file and search for this class, then make sure it is put located in the right directory. This is the only web applications not launching right and the rest is working okay? So limit your search right around your war file. aka_sergio --- "Harry Douglass, Jr." <[EMAIL PROTECTED]> wrote: > Need some addition help! > > Unfortunately, I am still getting this error even > with adding this tag to my > web.xml file: > > > > listeners.ContextListener > > > I verified that I am using the correct DTD schema: >PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > But, I am still getting this application error right > when it is deploying my > project on the server container: > > INFO: Deploying web application archive myLogin.war > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.ApplicationContext log > SEVERE: Error configuring application listener of > class > listeners.ContextListener > java.lang.ClassNotFoundException: > listeners.ContextListener > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Skipped installing application listeners due > to previous error(s) > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext start > SEVERE: Error listenerStart > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.StandardContext start > SEVERE: Context startup failed due to previous > errors > Feb 6, 2005 1:13:17 PM > org.apache.catalina.core.ApplicationContext log > > Any more suggestions? > > Thanks, > Harry > > Hi There, > > The web.xml will have the following xml tag tag in > it > > > classpath > > > It sounds like the class file referenced by this tag > does not exist or that > the class path is wrong. > > Thanks > > Pete > > -Original Message- > From: Harry Douglass, Jr. > [mailto:[EMAIL PROTECTED] > Sent: 05 February 2005 22:57 > To: tomcat-user@jakarta.apache.org > Subject: Java.lang.ClassNotFoundException: > listeners.ContextListener > > > Hello, > > > > When my Tomcat 5 server is started, it gets a SEVERE > error in the output > which states: > > > > SEVERE: Error configuring application listener of > class > listeners.ContextListener > > Java.lang.ClassNotFoundException: > listeners.ContextListener > > > > SEVERE: Error configuring application listener of > class > listerners.SessionListener > > Java.lang.ClassNotFoundException: > listeners.SessionListener > > > > SEVERE: Skipped installing application listeners due > to previous error(s). > > > > > > Can anyone help with why this is occurring everytime > I start the Tomcat 5 > server. > > > > Thanks in advance, > > > > Harry > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java.lang.ClassNotFoundException: listeners.ContextListener
Need some addition help! Unfortunately, I am still getting this error even with adding this tag to my web.xml file: listeners.ContextListener I verified that I am using the correct DTD schema: http://java.sun.com/dtd/web-app_2_3.dtd";> But, I am still getting this application error right when it is deploying my project on the server container: INFO: Deploying web application archive myLogin.war Feb 6, 2005 1:13:17 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error configuring application listener of class listeners.ContextListener java.lang.ClassNotFoundException: listeners.ContextListener Feb 6, 2005 1:13:17 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Feb 6, 2005 1:13:17 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Feb 6, 2005 1:13:17 PM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors Feb 6, 2005 1:13:17 PM org.apache.catalina.core.ApplicationContext log Any more suggestions? Thanks, Harry Hi There, The web.xml will have the following xml tag tag in it classpath It sounds like the class file referenced by this tag does not exist or that the class path is wrong. Thanks Pete -Original Message- From: Harry Douglass, Jr. [mailto:[EMAIL PROTECTED] Sent: 05 February 2005 22:57 To: tomcat-user@jakarta.apache.org Subject: Java.lang.ClassNotFoundException: listeners.ContextListener Hello, When my Tomcat 5 server is started, it gets a SEVERE error in the output which states: SEVERE: Error configuring application listener of class listeners.ContextListener Java.lang.ClassNotFoundException: listeners.ContextListener SEVERE: Error configuring application listener of class listerners.SessionListener Java.lang.ClassNotFoundException: listeners.SessionListener SEVERE: Skipped installing application listeners due to previous error(s). Can anyone help with why this is occurring everytime I start the Tomcat 5 server. Thanks in advance, Harry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java.lang.ClassNotFoundException: listeners.ContextListener
Unfortunately, I am still getting this error even with adding this tag to my web.xml file: listeners.ContextListener I verified that I am using the correct DTD schema: http://java.sun.com/dtd/web-app_2_3.dtd";> But, I am still getting this application error right when it is deploying my project on the server container: INFO: Deploying web application archive myLogin.war Feb 6, 2005 1:13:17 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error configuring application listener of class listeners.ContextListener java.lang.ClassNotFoundException: listeners.ContextListener Feb 6, 2005 1:13:17 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Feb 6, 2005 1:13:17 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Feb 6, 2005 1:13:17 PM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors Feb 6, 2005 1:13:17 PM org.apache.catalina.core.ApplicationContext log Any more suggestions? Thanks, Harry -Original Message- From: Pete Guyatt [mailto:[EMAIL PROTECTED] Sent: Sunday, February 06, 2005 5:30 AM To: Tomcat Users List Subject: RE: Java.lang.ClassNotFoundException: listeners.ContextListener Hi There, The web.xml will have the following xml tag tag in it classpath It sounds like the class file referenced by this tag does not exist or that the class path is wrong. Thanks Pete -Original Message- From: Harry Douglass, Jr. [mailto:[EMAIL PROTECTED] Sent: 05 February 2005 22:57 To: tomcat-user@jakarta.apache.org Subject: Java.lang.ClassNotFoundException: listeners.ContextListener Hello, When my Tomcat 5 server is started, it gets a SEVERE error in the output which states: SEVERE: Error configuring application listener of class listeners.ContextListener Java.lang.ClassNotFoundException: listeners.ContextListener SEVERE: Error configuring application listener of class listerners.SessionListener Java.lang.ClassNotFoundException: listeners.SessionListener SEVERE: Skipped installing application listeners due to previous error(s). Can anyone help with why this is occurring everytime I start the Tomcat 5 server. Thanks in advance, Harry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java.lang.ClassNotFoundException: listeners.ContextListener
I had the same thing happen to me the other day. My listener stopped working as did my whole web app and it had been working fine for months. Look in /WEB-INF/classes and see if anything was compiled. I added a bad jar to my classpath and nothing compiled. When I removed the jar (which happened to be a nightly build of commons-dbutils) things worked again. When I put the release version of the jar on the classpath things worked fine. Harry Douglass, Jr. wrote: Hello, When my Tomcat 5 server is started, it gets a SEVERE error in the output which states: SEVERE: Error configuring application listener of class listeners.ContextListener Java.lang.ClassNotFoundException: listeners.ContextListener SEVERE: Error configuring application listener of class listerners.SessionListener Java.lang.ClassNotFoundException: listeners.SessionListener SEVERE: Skipped installing application listeners due to previous error(s). Can anyone help with why this is occurring everytime I start the Tomcat 5 server. Thanks in advance, Harry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java.lang.ClassNotFoundException: listeners.ContextListener
Hi There, The web.xml will have the following xml tag tag in it classpath It sounds like the class file referenced by this tag does not exist or that the class path is wrong. Thanks Pete -Original Message- From: Harry Douglass, Jr. [mailto:[EMAIL PROTECTED] Sent: 05 February 2005 22:57 To: tomcat-user@jakarta.apache.org Subject: Java.lang.ClassNotFoundException: listeners.ContextListener Hello, When my Tomcat 5 server is started, it gets a SEVERE error in the output which states: SEVERE: Error configuring application listener of class listeners.ContextListener Java.lang.ClassNotFoundException: listeners.ContextListener SEVERE: Error configuring application listener of class listerners.SessionListener Java.lang.ClassNotFoundException: listeners.SessionListener SEVERE: Skipped installing application listeners due to previous error(s). Can anyone help with why this is occurring everytime I start the Tomcat 5 server. Thanks in advance, Harry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java.lang.ClassNotFoundException: listeners.ContextListener
Hello, When my Tomcat 5 server is started, it gets a SEVERE error in the output which states: SEVERE: Error configuring application listener of class listeners.ContextListener Java.lang.ClassNotFoundException: listeners.ContextListener SEVERE: Error configuring application listener of class listerners.SessionListener Java.lang.ClassNotFoundException: listeners.SessionListener SEVERE: Skipped installing application listeners due to previous error(s). Can anyone help with why this is occurring everytime I start the Tomcat 5 server. Thanks in advance, Harry