RE: How to start a Thread in the same JVM as Tomcat

2006-11-16 Thread confusionvalley
Behalf Of Yoav Shapira Sent: quinta-feira, 16 de Novembro de 2006 15:56 To: Tomcat Developers List Subject: Re: How to start a Thread in the same JVM as Tomcat Hi, I definitely think it's better for you to create another webapp, even if it's only used for testing, then it is to muck wit

Re: How to start a Thread in the same JVM as Tomcat

2006-11-16 Thread Tino Schwarze
On Thu, Nov 16, 2006 at 03:47:09PM -, confusionvalley wrote: > I didn't told you earlier but my objective is to test a webapp that I already > have. And I really didn't want to change that webapp or create another webapp > to make all the fault-injection stuff. Do you think that creating anot

Re: How to start a Thread in the same JVM as Tomcat

2006-11-16 Thread Yoav Shapira
r do you have any other idea for me? Cheers, Nuno -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yoav Shapira Sent: quinta-feira, 16 de Novembro de 2006 15:06 To: Tomcat Developers List Subject: Re: How to start a Thread in the same JVM as Tomcat Why wo

RE: How to start a Thread in the same JVM as Tomcat

2006-11-16 Thread confusionvalley
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yoav Shapira Sent: quinta-feira, 16 de Novembro de 2006 15:06 To: Tomcat Developers List Subject: Re: How to start a Thread in the same JVM as Tomcat Why would you start it in an internal Tomcat class rather than any of your own classes? Just create a t

Re: How to start a Thread in the same JVM as Tomcat

2006-11-16 Thread Yoav Shapira
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.

How to start a Thread in the same JVM as Tomcat

2006-11-16 Thread Nuno Rodrigues
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 whe