Re: knowing the status using Tomcat's start ant task

2009-12-28 Thread SriChakra
Hi, I am trying to start an application running inside Tomcat. Once the application is started, if I try to start it again, then I shd be able to give out a message saying, that it is already started and running. Regards, Srikanth Pid Ster wrote: > > On 28/12/2009 16:33, SriChakra

Re: knowing the status using Tomcat's start ant task

2009-12-28 Thread SriChakra
Reno, Thanks for your reply. I started the whole exercise from the same link. The startTask APIs do not mention about the outputproperty. Hence I had not tried. Now after your reply I have tried using this attribute for the start task. Yet I do not get the output message I expect "...already star

knowing the status using Tomcat's start ant task

2009-12-27 Thread SriChakra
Hi, I am using Tomcat 6.0.16 on JDK 1.5.09. I am using Tomcat's ant task "start" to start an application. If I use the ant task, I always get "OK - Started application at context path ...". But if the application is already running, I get appname] "has already been started" message on the tomcat