3 Replies Latest reply on Feb 2, 2006 10:24 AM by nholbrook

    EntityManager won't deploy with new EJB3.0RC4

    nholbrook

      Here's my persistence.xml and messages. If you look at the messages, the object name looks mighty strange with .ear.ear. I can't seem to find the schema for this new persistence.xml so if anybody has any ideas as to whether this should work, I'd appreciate it.

      Thanks

      Nic


      java: Namespace
      +- SecurityDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)



      <persistence-unit name="SecurityEntityManager">
      <jta-data-source>java:/SecurityDS</jta-data-source>



      </persistence-unit>





      --- MBeans waiting for other MBeans ---
      ObjectName: persistence.units:ear=security-deploy-1.0-SNAPSHOT.ear.ear,unitName=SecurityEntityManager
      State: FAILED
      Reason: java.lang.reflect.InvocationTargetException
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=SecurityDS

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: persistence.units:ear=security-deploy-1.0-SNAPSHOT.ear.ear,unitName=SecurityEntityManager
      State: FAILED
      Reason: java.lang.reflect.InvocationTargetException
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=SecurityDS