Better to create an extension on the DeploymentVisitor to not only specify the type, but also the name. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237193#4237193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237193