This may not be the best way to do it, but I got it to work with this trick.
In a standalone service which is loaded before all WARs, I create a thread that waits for
a class in the WAR module to be available, and then instantiate an initialization class in
that module.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011677#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...