This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Knowing when JBoss has started Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Knowing when JBoss has started" Watch "Knowing when JBoss has started" New topic
Author

Knowing when JBoss has started

Tiago Costa
Greenhorn

Joined: Jun 08, 2011
Posts: 1
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

Joined: Jul 20, 2005
Posts: 9956
    
163

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

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Knowing when JBoss has started
 
Similar Threads
Tomcat compared with JBoss
Jboss start on system bootup
JBOSS SocketException PermissionDenied
Starting JBoss as service
Trying to deploy an application in Jboss 3.2.1