RE: Class not found exception

2011-09-08 Thread Sonwabo Jordan
From: Sonwabo Jordan [mailto:882219...@ukzn.ac.za] Sent: Thursday, September 08, 2011 8:57 AM To: users@tomcat.apache.org Subject: Class not found exception Good dayI am new to Tomcat (using ver 7.0 on windows XP) and have deployed a war file which loads successfully using the Tomcat manger

RE: Class not found exception

2011-09-08 Thread Talha Fazal
: Sonwabo Jordan [mailto:882219...@ukzn.ac.za] Sent: Thursday, September 08, 2011 8:57 AM To: users@tomcat.apache.org Subject: Class not found exception Good dayI am new to Tomcat (using ver 7.0 on windows XP) and have deployed a war file which loads successfully using the Tomcat manger gui. However

Class not found exception

2011-09-08 Thread Sonwabo Jordan
Good dayI am new to Tomcat (using ver 7.0 on windows XP) and have deployed a war file which loads successfully using the Tomcat manger gui. However, when I try to run it I get the ff exception:java.lang.ClassNotFoundException: org.apache.AnnotationProcessor org.apache.catalina.loader.WebappClas

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Lucas Vickers
ecurity.AccessController.doPrivileged(Native Method) >>>java.net.URLClassLoader.findClass(URLClassLoader.java:188) >>> >>>java.lang.ClassLoader.loadClass(ClassLoader.java:307) >>>sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:3

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Pid
- Apache Tomcat/6.0.20 On Sat, Jul 18, 2009 at 9:19 PM, Caldarale, Charles R< chuck.caldar...@unisys.com> wrote: From: Lucas Vickers [mailto:lucasvick...@gmail.com] Subject: Re: Tomcat 6 database pooling causes HttpServlet class not found exception Well I can confirm that adding the

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) > > java.lang.Thread

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
Apache Tomcat/6.0.20 On Sat, Jul 18, 2009 at 9:19 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Lucas Vickers [mailto:lucasvick...@gmail.com] > > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > > found exc

RE: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Caldarale, Charles R
> From: Lucas Vickers [mailto:lucasvick...@gmail.com] > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > found exception > > Well I can confirm that adding the classes to catalina.policy > even when i am not explicitly running with -security , does fix

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
; > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > > found exception > > > > and I see it looks like you have the JVM's security manager > > turned on. > > What makes you think so? The doPrivileged() calls and SecureClassLoader > usage occur

RE: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Caldarale, Charles R
> From: David Smith [mailto:d...@cornell.edu] > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > found exception > > and I see it looks like you have the JVM's security manager > turned on. What makes you think so? The doPrivileged() calls and SecureC

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
Odd, I did not explicitly enable the security manager, but this makes sense. I try logging directly from my servlet (by doing a stack trace into a log file), which seems to be causing this issue. thanks! On Sat, Jul 18, 2009 at 6:13 PM, David Smith wrote: > Oh... and I see it looks like you

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread David Smith
Oh... and I see it looks like you have the JVM's security manager turned on. Have you made any adjustments to conf/catalina.policy? What's in your logs when your webapp is started? --David David Smith wrote: > I really doubt the database pooling is causing the issue. More likely > your deploym

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread David Smith
I really doubt the database pooling is causing the issue. More likely your deployment is doing something to remove the servlet-api.jar or duplicating it somewhere. What do you have in tomcat's lib directory and in your webapp's WEB-INF/lib directory? --David Lucas Vickers wrote: > Hello, > I am

Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
Hello, I am trying to configure DB pooling in Tomcat 6. The combination of the elements below causes the exception: java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet I have followed the directions on http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html thorou

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Edmund Mitchell
> -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Class not found exception help in 6.0.10? > > > From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > > Subject: RE: Class not found exception help in 6.0.10? > > >

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Caldarale, Charles R
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > Subject: RE: Class not found exception help in 6.0.10? > > So since CATALINA_HOME/lib is a parent repository (and the > code is definitely there), and since the problem does not > manifest itself duringinit, this exceptio

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Edmund Mitchell
> -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Class not found exception help in 6.0.10? > > > From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > > Subject: RE: Class not found exception help in 6.0.10? > > &g

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Caldarale, Charles R
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > Subject: RE: Class not found exception help in 6.0.10? > > Yes, a webapp initialization should occur when Tomcat > is started / restarted So the problem you see once a week occurs only when you start Tomcat? How do you resolv

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Edmund Mitchell
> -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Class not found exception help in 6.0.10? > > > From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > > Subject: RE: Class not found exception help in 6.0.10? > > >

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Caldarale, Charles R
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > Subject: RE: Class not found exception help in 6.0.10? > > once a week or so we'll get a Class Not Found exception > > SEVERE: Exception starting filter security > java.lang.ClassNotFoundException: > com.emn8.

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Edmund Mitchell
Thanks for your reply, Chuck. > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 05, 2007 10:42 AM > To: Tomcat Users List > Subject: RE: Class not found exception help in 6.0.10? > > > From: Edmund Mitchell

RE: Class not found exception help in 6.0.10?

2007-12-05 Thread Caldarale, Charles R
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED] > Subject: Class not found exception help in 6.0.10? > > We drop our simple webapp jar (just one) in > $CATALINA_HOME/lib. First question: why are you putting a webapp jar in Tomcat's lib directory? It belongs in the

Class not found exception help in 6.0.10?

2007-12-05 Thread Edmund Mitchell
well, but once a week or so we'll get a Class Not Found exception in the Tomcat std out log -- Tomcat can't find this very important class. The webapp will obviously not work, and once Tomcat is restarted, normal functionality resumes. I'm no Tomcat developer, so I'm struggling