I followed the JBOSS example and implemented my own resource adapter that provides inbound and outbound connection. The problem is: when i restart the JBOSS it failed to deploy the resource adapter.But after the JBOSS is started, i deploy the resource adapter again and it works fine.
Has anybody an idea what i did wrong?
My test-ds.xml is look like:
---------------------------------------------
<!DOCTYPE connection-factories PUBLIC
"-//JBoss//DTD JBOSS JCA Config 1.5//EN"
"http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
<connection-factories>
<no-tx-connection-factory>
<jndi-name>MyJCA</jndi-name>
<rar-name>myjca.rar</rar-name>
<connection-definition>
com.ra.test.MyConnectionFactory
</connection-definition>
</no-tx-connection-factory>
</connection-factories>
-------------------------------------------------------------------
And jboss drops the following message when it started:
----------------------------------------------------------------
13:07:24,373 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.jca:name=MyJCA,service=NoTxCM
state: CONFIGURED
I Depend On: jboss.jca:name=MyJCA,service=ManagedConnectionPool
jboss.jca:service=CachedConnectionManager
Depends On Me: jboss.jca:name=MyJCA,service=ConnectionFactoryBinding
ObjectName: jboss.jca:name=MyJCA,service=ManagedConnectionPool
state: CONFIGURED
I Depend On: jboss.jca:name=MyJCA,service=ManagedConnectionFactory
Depends On Me: jboss.jca:name=MyJCA,service=NoTxCM
ObjectName: jboss.jca:name=MyJCA,service=ManagedConnectionFactory
state: CONFIGURED
I Depend On: jboss.jca:name='myjca.rar',service=RARDeployment
Depends On Me: jboss.jca:name=MyJCA,service=ManagedConnectionPool
ObjectName: jboss.jca:name=MyJCA,service=ConnectionFactoryBinding
state: CONFIGURED
I Depend On: jboss.jca:name=MyJCA,service=NoTxCM
Depends On Me:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:name='myjca.rar',service=RARDeployment
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.jca:name=MyJCA,service=ManagedConnectionFactory
----------------------------------------------------------------