JBoss EAP 7.1 - JDBC driver IBM XA - Error
helper1000 Jun 5, 2017 6:33 AMPlease could some one help, What will be the reason for the below error.
I am using EAP 7.1 and I have tried to create a JDBC connection using IBM XA driver and its throwing the following error. The drivers have been copied over the below folder.
The database is not available, I hope that is not an issue to create the connection.
Modules Location :
jboss-eap/modules/com/ibm/main
List of files available at the below location is :
-rw-r--r--. 1 jboss-eap jboss-eap 3433725 Jun 2 09:01 db2jcc4.jar
-rw-r--r--. 1 jboss-eap jboss-eap 3668626 Jun 5 11:11 db2jcc.jar
-rw-r--r--. 1 jboss-eap jboss-eap 23709 Jun 5 11:11 db2jcc_javax.jar
-rw-r--r--. 1 jboss-eap jboss-eap 2200 Jun 2 09:01 db2jcc_license_cisuz.jar
-rw-r--r--. 1 jboss-eap jboss-eap 327 Jun 2 09:02 module.xml
-rw-r--r--. 1 jboss-eap jboss-eap 1541182 Jun 2 09:01 sqlj4.jar
contents for the module.xml file.
cat module.xml
<module xmlns="urn:jboss:module:1.1" name="com.ibm">
<resources>
<resource-root path="db2jcc4.jar"/>
<resource-root path="db2jcc_license_cisuz.jar"/>
<resource-root path="sqlj4.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
Error thrown was:
2017-06-05 10:29:46,740 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 73) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("xa-data-source" => "DB2XADS")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.ibmdb2"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.driver-demander.java:/DB2XADS is missing [jboss.jdbc-driver.ibmdb2]",
"org.wildfly.data-source.DB2XADS is missing [jboss.jdbc-driver.ibmdb2]"
]
}
2017-06-05 10:29:46,755 INFO [org.jboss.as.controller] (ServerService Thread Pool -- 73) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.data-source.reference-factory.DB2XADS (missing) dependents: [service jboss.naming.context.java.DB2XADS]
service jboss.jdbc-driver.ibmdb2 (missing) dependents: [service jboss.driver-demander.java:/DB2XADS, service org.wildfly.data-source.DB2XADS]
service jboss.xa-data-source-config.DB2XADS (missing) dependents: [service org.wildfly.data-source.DB2XADS]