Re: Tomcat upgrade 5.5 - 6 affecting apache server

2009-07-28 Thread Lucas Vickers
migrate the stuff in workers.properties to their equivalent in apache httpd config files and drop the reference from jk.conf. --David Lucas Vickers wrote: Hello, I'm on a pre-configured box (I'm learning). I upgraded my tomcat from 5.5 to 6, and I found that my apache server can

Tomcat upgrade 5.5 - 6 affecting apache server

2009-07-25 Thread Lucas Vickers
Hello, I'm on a pre-configured box (I'm learning). I upgraded my tomcat from 5.5 to 6, and I found that my apache server can not start because: /usr/local/apache/conf/jk.conf references JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties which is not available in tomcat 6. what

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

2009-07-19 Thread Lucas Vickers
) and a database memory leak that I can not figure out. Database pooling may be a fix for that but I can not get that working either. Lucas On Sun, Jul 19, 2009 at 7:02 AM, Pid p...@pidster.com wrote: On 19/7/09 05:13, Lucas Vickers wrote: For what it's worth. Every now and then tomcat throws

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-19 Thread Lucas Vickers
issue. Lucas On Sat, Jul 18, 2009 at 9:24 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Lucas Vickers [mailto:lucasvick...@gmail.com] Subject: Re: tomcat 6 database pooling, DataSource returning NULL connection I am doing a static install and restarting my tomcat each

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

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

2009-07-18 Thread Lucas Vickers
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 trying to configure DB pooling in Tomcat 6. The combination of the elements below

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
%20Contexts Tomcat makes a copy of your META-INF/context.xml when the application is deployed, and will not see changes to that file unless you fully undeploy and redeploy your application. 2009/7/19 Lucas Vickers lucasvick...@gmail.com: woops, email was sent prematurely anyway, the full

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

2009-07-18 Thread Lucas Vickers
Well I can confirm that adding the classes to catalina.policy even when i am not explicitly running with -security , does fix the issue On Sat, Jul 18, 2009 at 8:48 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: David Smith [mailto:d...@cornell.edu] Subject: Re: Tomcat 6

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

2009-07-18 Thread Lucas Vickers
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 classes to catalina.policy even when i am not explicitly running with -security

tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
I am trying to configure database pooling in tomcat 6. I have: /META-INF/context.xml : Resource name=jdbc/tabscorp_tabsdb auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=tabscorp_tabs password=Ramsalot52

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
woops, email was sent prematurely anyway, the full email: META-INF/context.xml : Resource name=jdbc/tabscorp_tabsdb auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=mylogin password=mypass

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

2009-07-18 Thread Lucas Vickers
For what it's worth. Every now and then tomcat throws that exception again. I then shut down tomcat, touch the .policy file, start tomcat, and it works. On Sat, Jul 18, 2009 at 9:29 PM, Lucas Vickers lucasvick...@gmail.comwrote: // == WEB APPLICATION PERMISSIONS

Re: Logging of memory / thread activity

2009-07-15 Thread Lucas Vickers
why I would need a separate listener to deregister my driver, shouldn't I be able to do this inside my servlet? I guess DB pooling would fix this issue, but I should know how to do it in my java code. thanks On Wed, Jul 15, 2009 at 9:35 AM, Lucas Vickers lucasvick...@gmail.comwrote: Grepping all

Re: Tomcat processes running on system, understanding what they are

2009-07-14 Thread Lucas Vickers
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas, On 7/13/2009 2:37 PM, Lucas Vickers wrote: I see two jsvc instances of Tomcat that are identical. Why would there be two identical instances of Tomcat running via jsvc? Is this correct? What

Logging of memory / thread activity

2009-07-13 Thread Lucas Vickers
Hello, I have an issue where Tomcat shuts down without reason. When receiving a light to moderate load that involves MySql database work tomcat shuts down without error. I get the message INFO main org.apache.coyote.http11. Http11BaseProtocol - Pausing Coyote HTTP/1.1 on http-8080 This is

Tomcat processes running on system, understanding what they are

2009-07-13 Thread Lucas Vickers
I am troubleshooting an issue with Tomcat unexpectedly shutting down. I am analyzing the running processes on my system. I see two jsvc instances of Tomcat that are identical. I see multiple httpd processes. I believe httpd are worker threads, is this true? Why would there be two identical

Re: Logging of memory / thread activity

2009-07-13 Thread Lucas Vickers
well, tomcat shows no logged errors :) There is a reason, I just have not yet figured it out. I will take a look, thank you! On Mon, Jul 13, 2009 at 3:47 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Lucas Vickers [mailto:lucasvick...@gmail.com] Subject: Logging