This content has been marked as final.
Show 3 replies
-
1. Re: check id jboss 4.2.3 running or not
wdfink Feb 21, 2013 4:06 AM (in response to haithamnor)For Linux/Unix you might surround the run script with a simple script that starts JBoss and store the PID to a file. With that PID you are able to check the JVM process.
Other option is to write an application, maybe EJB or web app, and call it to see whether it is alive.
Or write a EJB3 SingletonBean which use @PostConstruct @PreDestroy to send notifications.
All this solutions might have drawbacks as you have still situations where you don't see whether the server is healthy.
-
2. Re: check id jboss 4.2.3 running or not
haithamnor Feb 21, 2013 4:14 AM (in response to wdfink)Thanks wolf,
I use windows 2003 so pls can you provide me an example COS i'm new with jboss
Thx a lot
-
3. Re: check id jboss 4.2.3 running or not
wdfink Feb 21, 2013 5:36 AM (in response to haithamnor)I'm not a Windows expert and not able to write complex scripts here.
but this comment might point in the right direction.