[JBoss-user] [Management, JMX/JBoss] - Be notified when web application is available

2006-02-23 Thread mjessee
I have an mbean that needs to know when an associated web application is available. I have the context of the war as an attribute to the mbean. The mbean is deployed before the war. Currently, I loop for a certain amount of time, using HttpClient to tell me when the context is responding. The

[JBoss-user] [Management, JMX/JBoss] - XMLScheduleProvider and Clusters

2005-02-03 Thread mjessee
I have a question concerning scheduling something to happen in a cluster. The clustering doc describes how you can configure the schedule providers to only provide their schedules to one of the schedule managers by using the HASingleton attribute set to true. This would then only run the

[JBoss-user] [Management, JMX/JBoss] - Re: XMLScheduleProvider and Clusters

2005-02-03 Thread mjessee
I understand that a new node will be picked to be the cluster's schedule manager, but what I?m wondering is will this new schedule manager know of the dead one?s schedule? If the schedule provider only provided its schedules to the now dead schedule manager, how can the newly picked schedule

[JBoss-user] [Management, JMX/JBoss] - Re: XMLScheduleProvider and Clusters

2005-02-03 Thread mjessee
After some playing around with clustering, I found out that when the picked schedule manager gets notified that he?s it, he also gets the schedules automatically. He then continues scheduling everything as if there was no problem. Good design! View the original post :

[JBoss-user] [Management, JMX/JBoss] - Notification for new EAR or WAR deployment

2004-09-02 Thread mjessee
Is there a javax.management.Notification that can be listened for that fires when a deployment of an EAR or WAR is finished? I'm trying to detect when a WAR has been deployed so that I can now, through an mbean, ask a servlet in the WAR something. The mbean is being deployed inside the same