[jboss-user] [Beginners Corner] - How can I find out from command line if JBoss is currently r

thoste do-not-reply at jboss.com
Wed Apr 9 15:47:30 EDT 2008


I want to find out from command line (=NOT by investigating running programs e.g. TaskManager under WinXP) if JBoss is crrently running.

The check should be performed from a batch script and should return a true or false answer.

So I am searching something like this:

checkifjbossrunning.bat:

java org.JBoss.Main -areyourrunning
if %errorlevel%==1 (Echo JBoss is running) else ( Echo JBoss is not running)


Is this somehow possible?
Thomas


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142959#4142959

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142959



More information about the jboss-user mailing list