Resource vs Resource-ref

2007-10-21 Thread Jacob Rhoden
Hi, I am having trouble with something google and the docs cant seem to help. 1) After setting up a connection to a database in the context.xml file using the Resource tag, do you need the resource-ref in the web.xml file. I have tried with and without and it doesn't seem to make a

Override BOOTSTRAP classloader with endorsed directory

2007-10-21 Thread ypomonh
I'm trying to write a servlet that use the latest version of JAX-WS API. This is a newer version of the API than the one shipped with JDK 6, so in order to avoid loading the older library from the bootstrap loader, I put the new JAX-WS JARs in java-home/lib/endorsed. Still when the servlet

Re: Override BOOTSTRAP classloader with endorsed directory

2007-10-21 Thread David Delbecq
Tomcat ignores classpath from JVM and creates it's own one, including endorsed libraries. If you want to inject specific library at the endorsed level there is an endorsed/lib folder part of tomcat distribution. ypomonh a écrit : I'm trying to write a servlet that use the latest version of JAX-WS

Re: Resource vs Resource-ref

2007-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacob, Jacob Rhoden wrote: 1) After setting up a connection to a database in the context.xml file using the Resource tag, do you need the resource-ref in the web.xml file. I have tried with and without and it doesn't seem to make a difference. I

Number of Threads in request processing pool and JVM heap size

2007-10-21 Thread Venkatesh Jayaraman (jvenky)
I have 80 servlets on tomcat and each of them can have 5 five concurrent requests to be processed as per design. Tomcat Connectors specification says maxSpareThreads The maximum number of unused request processing threads that will be allowed to exist until the thread pool starts stopping