Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Knowing when JBoss has started

 
Tiago Costa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a problem regarding JBoss (5.1.0 GA). I need to wait for JBoss to fully start so that then I can execute some business logic.

Is there any way for my modules to known when JBoss has started? I can see it start via twiddler and or obtaining the Server Mbean and checking the Started value, but this is made by polling.

What I would like to know is if there is anyway of receiving a notification from JBoss when the system is done.

Thanks in advance.

Best regards,
Tiago Costa
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tiago, welcome to the forums!

Tiago Costa wrote:

What I would like to know is if there is anyway of receiving a notification from JBoss when the system is done.


See these:

http://community.jboss.org/wiki/NotificationsEmittedByJBossMBeans
http://community.jboss.org/wiki/HowCanNonMBeansReceiveJMXNotifications
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic