I am in dire need of assistance!
I have written an mbean and it hot deploys
just fine, but when it deploys on startup it fails because it uses a mysql
datasource which is not deployed yet...ok I have done the homework and
have found what i thought at first was the answer i added a line in the mbeans
jboss-service.xml like the following:
jboss.jca:service=LocalTxCM,name=MySqlDS
but alas my brief moment of euphoria was quickly crushed...
I am still getting the same errors :
21:31:14,116 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jmx:name=GridStartMBean
state: FAILED
I Depend On: jboss.jca:service=LocalTxCM,name=MySqlDS
Thanks in advance for your help and expertise!
Did you place the jboss.jca:service=LocalTxCM,name=MySqlDS in a depends tag in your mbean jboss-service.xml file?
<service> <mbean code=... > . . . <depends>jboss.jca:service=LocalTxCM,name=MySqlDS</depends> </mbean> </service>