aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 9343
    
111

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
Trying to deploy an application in Jboss 3.2.1
Tomcat compared with JBoss
Jboss start on system bootup
Starting JBoss as service
JBOSS SocketException PermissionDenied