Are you including components.xml and components.properties (with the overridden jndi pattern for embedded jboss) on the classapth? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105409#4105409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105409