JMX to manage application status

M

Matthew Inger

From what i understand, JMX can be used to restart applications that
may have failed. Say for instance, I have a job server which is responsible
for executing the background processes, such as long running stored
procedures, etc...

I have two instances running, one which passively sits around and does
nothing, and one which actively responds to requests. Job requests
are made via JMS.

Now, if the active server goes down, the passive server should become
active. However, I would like to use JMX to do the following:

1. Let the passive server know that it needs to become active
2. Restart the server that went down, and put it in passive mode

Does anyone have any thoughts on how JMX can help me do this? What about
situations where I don't have a backup running? Can i have JMX restart
the application in that scenario?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,786
Latest member
EmilioGuru

Latest Threads

Top