• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic