Why would you start it in an internal Tomcat class rather than any of your own classes? Just create a test webapp, and do whatever you want in it.
Yoav On 11/16/06, Nuno Rodrigues <[EMAIL PROTECTED]> wrote:
Hello all, I need to put a thread doing some processing in the same JVM as Tomcat. This thread will make some performance measurement inside the JVM and also cause some Resource Exhaustion (CPU consumption, Memory Leaking, etc) problems ( to simulate Fault-Injection). I'm here to ask you where I should start this thread. I've just looked at the source and I'm wondering if I should start that thread in the org.apache.catalina.startup.Bootstrap class. So, I'll wait for an answer from your side to give me this advice. Best regards, Nuno Rodrigues
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]