I have some unusual requirement where I need a service to be initialized after 
the deployment of some session beans.  I've written the service as a JMX bean 
and I'd like it to be triggered upon the deployment of the ear file containing 
my beans.  I can manually get things to work by first deploying my .ear then 
copying the -service.xml to the deploy directory.  Any way to package the 
-service.xml into my .ear to get this to work automatically?

I've tried putting it in the root of the .ear and also in META-INF but neither 
approach seems to work (i.e. nothing happens).  I am using JBoss AS 4.0.4.

Thanks!

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to