And to reply to myself, the problem is with the 'addResourceFromString'. As a
first argument you need to pass a name ending in ".jpdl.xml". After that,
everything works fine.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261250#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...