Finally I´ve managed to work it properly with Contexts.removeFromAllContexts.
Thank you Terry and Nick.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097781#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...