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
: 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
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
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
-
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
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
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
> 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
; > 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
> 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
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
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
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
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
> -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?
> >
>
> 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
> -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
> 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
> -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?
> >
>
> 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.
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
> 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
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
23 matches
Mail list logo