I have a newly installed jboss-4.0.4.CR2 with EJB3 support. When I deploy an application ear with a with a persistence group using the DefaultDS I get the following problem:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=resultan.ear,jar=resultan.jar,unitName=TestkitManagement
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=jdbc/DefaultDS,service=ManagedConnectionFactory
Depends On Me:
jboss.j2ee:ear=resultan.ear,jar=resultan.jar,name=TestkitManagerBean,service=EJB3
ObjectName: jboss.j2ee:ear=resultan.ear,jar=resultan.jar,name=TestkitManagerBean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=resultan.ear,jar=resultan.jar,unitName=TestkitManagement
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=jdbc/DefaultDS,service=ManagedConnectionFactory
State: NOTYETINSTALLED
Depends On Me:
persistence.units:ear=resultan.ear,jar=resultan.jar,unitName=TestkitManagement
I have read a lot about the hsql-ds.xml settings in this forum and checked it again and again - everything seams right. So far I use the unchanged file from the installation.
Has anyone any idea about that problem?
Regards,
Frank.
I'v found the problem myself. In my persistence group description I used
<jta-data-source>DefaultDS</jta-data-source>
When I change this to
<jta-data-source>java:/DefaultDS</jta-data-source>
it works fine.
Regards,
Frank