Startup class in Tomcat 5.x

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Folks, Is there a way in which we can write a startup class in Tomcat. Similar to what we have in Weblogic? I am aware of the approach of writing a servlet and setting load-on-startup to 1. But wanted to confirm if this is really the only way out. Cheers, Prabhu S This e-mail and any files

Connection pool information in TC 5

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Folks, Per what I have observed, Tomcat Admin console does not have the facility for me to get to know about the number of active connections to a DB for a Connection pool defined in server.xml. Is that correct? If yes, is writing a page using JMX a time consuming task? Any alternatives? Let

RE: Tomcat 4.1.30 uses 100% CPU on Windows 2000

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Damon, Have your tried doing a pre-compilation of your JSPs. I am not sure if this would solve your problem but this definitely helps a lot. You can do this, even if your webapp is going to reside in a .war file. Just incase you have not done this yet, give a try and let see if its gonna help