[JBoss-user] [Management, JMX/JBoss] - Re: detecting jboss startup

2004-11-15 Thread [EMAIL PROTECTED]
1st method:
Write an MBean (extend org.jboss.system.ServiceMBeanSupport) and inside the 
startService() method make the call to your EJB - make a ./deploy/deploy.last 
folder and deploy your MBean in there.

2nd method:
Write an MBean (extend org.jboss.system.ListenerServiceMBeanSupport) and inside 
the handleNotification2() method make the call to your EJB. During 
serviceStart() call subscribe(true). Configure the subscription-list attribute 
to listen for the server started notification, as follows:


  | ..
  | 
  |   
  | 
  |
  | 
  |   
  | http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX

http://www.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855250#3855250

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855250


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: detecting jboss startup

2004-11-15 Thread meatus
Ant can do it with the "waitfor" task.  Probably something like:

  | 
  | http://localhost:8080/jmx-console"/>
  | 
  | 

Good luck,
Brett

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855248#3855248

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855248


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user