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