[jboss-dev-forums] [Design of POJO Server] - Re: profileService and predetermined attachments

adrian@jboss.org do-not-reply at jboss.com
Mon Oct 20 12:24:50 EDT 2008


"emuckenhuber" wrote : 
  | So basically what happens to restore the attachment is:
  | * createVFSDeployment(profilservice-datasource.ear)
  | * deployment.setPredeterminedManagedObjects(...)
  | * mainDeployer.add(deployment)
  | 
  | 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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183305#4183305

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183305



More information about the jboss-dev-forums mailing list