Too bad you are not running Windows or I would have pointed you to the service.bat script (comes with JBoss AS 5.0 and with JBoss Native). That script uses a lock file to prevent multiple runs.
For Linux, look at the jboss_home/bin/jboss_init_hpux.sh script. It greps the output from ps looking for a JBoss AS instance running. I don't know if you can use that script as-is on Fedora, but if not you should be able to use the code that does the isJBossRunning check as an example for writing your own code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198476#4198476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198476 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
