There should be two pieces.
1) The WAR Deployer (that does xml -> metadata -> mbean/pojo metadatas)
Deployed by the DeployerScanner
2) The WAR Container (Tomcat or more accurately a collection of mbean/pojos
that bootstrap Tomcat and its web-apps).
Deployed by the DeploymentScanner
You want to add your code to the WAR container NOT the WAR deployer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982033#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...