One other point. You shouldn't be using the main deployer to create webcontexts.
You should just be adding WebMetaData to your deployment.
That was one of the main reasons for the Deployers changes.
A single deployment can be both a web deployment and an ejb deployment,
exactly because this occurs in webservices.
The hack to create a new deployment for the web-app is a hangover from the JBoss4
limitiations.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059205#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...