JBAS014771: Services with missing/unavailable dependencies - XUConnectionFactory
shiroreswapnil4 Jul 20, 2017 12:08 PMI am migrating jboss from 5.1 to 6.4.
In 5.1, I have deployed jrules-res-xu-JBOSS6.rar file by placing it in : JBOSS_HOME/server/default/deploy folder
and configure is as follows in jrules-res-xu-JBOSS6-ds.xml file :
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<no-tx-connection-factory>
<jndi-name>eis/XUConnectionFactory</jndi-name>
<application-managed-security/>
<rar-name>jrules-res-xu-JBOSS6.rar</rar-name>
<connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>
<config-property name="ConcurrentOpenClose" type="java.lang.Boolean">true</config-property>
<adapter-display-name>XU</adapter-display-name>
<min-pool-size>0</min-pool-size>
<max-pool-size>50</max-pool-size>
<blocking-timeout-millis>50000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
</no-tx-connection-factory>
</connection-factories>
I have put same jrules-res-xu-JBOSS6-ds.xml configuration in jboss 6.4 and placed jrules-res-xu-JBOSS61.rar file in JBOSS_HOME/standalone/deployments folder.
When I start the server in eclipse, I get the following error message
13:53:06,532 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "foo.war")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.foo.foo.env.eis.XUConnectionFactory is missing [jboss.naming.context.java.module.foo.foo.env.eis.XUConnectionFactoryRemote]"]}
13:53:06,534 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "foo.war" was rolled back with the following failure message: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.foo.foo.env.eis.XUConnectionFactory is missing [jboss.naming.context.java.module.foo.foo.env.eis.XUConnectionFactoryRemote]"]}
jboss.naming.context.java.module.foo.foo.env.eis.XUConnectionFactory is missing [jboss.naming.context.java.module.foo.foo.env.eis.XUConnectionFactoryRemote
But the jrules-res-xu-JBOSS61.rar file is deployed on jboss and XUConnectionFactory connection is registered as follows :
[org.jboss.as.connector.deployment] (MSC service thread 1-8) JBAS010406: Registered connection factory java:/eis/XUConnectionFactory
Need help in doing jrules-res-xu-JBOSS6-ds.xml configuration correctly.