RE: recognise tomcat finished starting up

2007-04-16 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: recognise tomcat finished starting up > > So I'm looking for a way to detect if tomcat's startup has finished... If you have remote access to Tomcat's logs directory, you could monitor the catalina.log

Re: recognise tomcat finished starting up

2007-04-16 Thread David Kerber
[EMAIL PROTECTED] wrote: Thanks for the responses...I'll try the listener creating some kind of file I can check for the existence of - this is complicated by trying to do it remotely... A loop-on-fail in the first test would work...as long as my first test never breaks ;-) It wouldn't have

Re: recognise tomcat finished starting up

2007-04-16 Thread Martin Gainty
e in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, April 16, 2007 11:00 AM Subject: recognise tomc

Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, April 16, 2007 11:00 AM Subje

Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Thanks for the responses...I'll try the listener creating some kind of file I can check for the existence of - this is complicated by trying to do it remotely... A loop-on-fail in the first test would work...as long as my first test never breaks ;-) cheers, David

Re: recognise tomcat finished starting up

2007-04-16 Thread Rashmi Rubdi
On 4/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: So I'm looking for a way to detect if tomcat's startup has finished... You didn't mention the version of Tomcat you're using. According to the Servlet 2.4 spec : The servlet context has javax.servlet.ServletContextListener just been cr

Re: recognise tomcat finished starting up

2007-04-16 Thread Hassan Schroeder
On 4/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: So I'm looking for a way to detect if tomcat's startup has finished... Seems like a chicken-and-egg problem -- Tomcat's ready when it'll respond to your test :-) Why don't you just incorporate a loop[sleep]-on-fail in the first test? F

RE: recognise tomcat finished starting up

2007-04-16 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > We're using Spring and therefore have quite a long startup > time - checking > if the service is started doesn't help therefore. > > So I'm looking for a way to detect if tomcat's startup has finished... Being the lazy guy I am, I'd set up a

Re: recognise tomcat finished starting up

2007-04-16 Thread Martin Gainty
ssage without making a copy. Thank you. - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, April 16, 2007 11:00 AM Subject: recognise tomcat finished starting up Hi, We're trying to automate our acceptance tests and perform

recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi, We're trying to automate our acceptance tests and performing a remote install first. However, we have no way to know when Tomcat has finished starting so the tests can run. Has anyone any suggestions on the best way to do this? We're using maven and JUnit. cheers, David