This content has been marked as final. Show 1 reply
So basically what happens to restore the attachment is:
Now i'm wondering how those attachments should get populated to the child(s)?
The test-ds.xml should be against a subdeployment of the ear. Your problem is that
you now have the -ds.xml attachment against the top level ear as a predetermined
managed object and against the test-ds.xml subdeployment which is still created
by the parsing deployer since it doesn't exist at that level.
Have a look at jboss.deployment on the jmx-console for the ear to see what
structure you should be using and where the attachments live.