Re: Tomcat upgrade 5.5 -> 6 affecting apache server

2009-07-28 Thread Lucas Vickers
t service. I would 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-configure

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 shou

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 doin

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

2009-07-19 Thread Lucas Vickers
oblem) 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 wrote: > On 19/7/09 05:13, Lucas Vickers wrote: > >> For what it's worth. >> >> Eve

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 wrote: > // == WEB APPLICATION PER

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, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
0Contexts > > 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 : > > woops, email was sent prematurely > > &g

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: Tomca

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 : WEB-INF/web.xml : TABS DB Connection jdbc/tabscorp_tabsdb javax.sql.DataSource Container Java Code: InitialContext cxt = new InitialContext();

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 :

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

2009-07-18 Thread Lucas Vickers
e 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: >

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: 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 wrote: > Grepping all my java

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

2009-07-14 Thread Lucas Vickers
er Schultz < ch...@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

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] > >

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 insta

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 con