It was the System.exit() caused the problem.
When I searched the codes for System.exit(), my IDE only gave me the first
one (I forgot to uncheck the option), as the result I missed the one exit.
It works fine now after I commented out the exit

Thanks!

Richard
----- Original Message ----- 
From: "peter lin" <[EMAIL PROTECTED]>
To: "JMeter Users List" <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 9:44 AM
Subject: Re: Why JMeter kills tomcat?


>
> You're going to have start a different VM for it to work correctly.
Otherwise, when JMeter exits, it will shutdown the VM.
>
> peter
>
>
> Richard Han <[EMAIL PROTECTED]> wrote:
> I am trying to do an automatic JMeter testing using Quartz scheduler
> implemented as a Turbine service. (our web app is developped in turbine)
> When a quarts's scheduled job is started, it starts JMeter in nonqui mode,
> so I think JMeter shares the
> same JVM, with jdk version 1.4
>
> Thanks
>
> Richard
>
> ----- Original Message ----- 
> From: "BAZLEY, Sebastian"
> To: "'JMeter Users List'"
> Sent: Monday, January 05, 2004 4:48 AM
> Subject: RE: Why JMeter kills tomcat?
>
>
> > How are you running JMeter from Tomcat?
> > Are you running JMeter in the same JVM or a separate one?
> >
> > What version of Java are you using?
> >
> > S.
> > > -----Original Message-----
> > > From: Richard Han [mailto:[EMAIL PROTECTED]
> > > Sent: 05 January 2004 04:28
> > > To: JMeter Users List
> > > Subject: Re: Why JMeter kills tomcat?
> > >
> > >
> > > Thanks, but I have tried that. Also, there are no error message or any
> > > exceptions thrown to give me any clue.
> > >
> > > Richard
> > > ----- Original Message ----- 
> > > From: "Nick Faiz"
> > > To: "'JMeter Users List'"
> > > Sent: Sunday, January 04, 2004 8:37 PM
> > > Subject: RE: Why JMeter kills tomcat?
> > >
> > >
> > > > Try looking through the source for a System.exit(0)!
> > > >
> > > > Nick Faiz
> > > >
> > > > -----Original Message-----
> > > > From: Richard Han [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, 5 January 2004 2:32 PM
> > > > To: JMeter Users List
> > > > Subject: Why JMeter kills tomcat?
> > > >
> > > > Hi everyone,
> > > >
> > > > I am trying to run JMeter from tomcat using nonGui mode,
> > > the JMeter test
> > > > runs fine except one problem: when the jmeter test is done,
> > > the tomcat
> > > > server is immediately shutdown by JMeter!
> > > > I tried JMeter-1.9.1 and cvs version, both gave me the same
> > > problem! But
> > > > JMeter-1.8.1 doesn't have this problem!!!
> > > > It seems the thead management is changed a lot from version 1.8 to
> > > current,
> > > > and it's hard for me to find out what causes the problem. It'd be
> > > > appreciated if you could offer some help!!!
> > > > Thanks
> > > >
> > > > Richard
> > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to