• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Knowing when JBoss has started

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You got style baby! More than this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic