title: java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.DB2XADataSource from [Module \"com.ibm.db2\"
body: <p>I am using Jboss EAP 7.2 and trying to add a new XA Datasource. I am using db2jcc4.jar and db2jcc_license_cisuz.jar in com.ibm.db2 folder in jboss/modules/.</p>
  <p>{&quot;WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:&quot; =&gt; {&quot;Operation step-1&quot; =&gt; {&quot;WFLYCTL0080: Failed services&quot; =&gt; {&quot;org.wildfly.data-source.ds_km_repos_xa&quot; =&gt; &quot;WFLYJCA0033: Error during the deployment of ds_km_repos_xa
  Caused by: org.jboss.jca.deployers.common.DeployException: WFLYJCA0030: unable to deploy
  Caused by: org.jboss.as.controller.OperationFailedException: WFLYJCA0114: Failed to load datasource class: COM.ibm.db2.jdbc.DB2XADataSource [ &quot;WFLYJCA0114: Failed to load datasource class: COM.ibm.db2.jdbc.DB2XADataSource&quot; ]
  Caused by: java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.DB2XADataSource from [Module &quot;com.ibm.db2&quot; from local module loader @475530b9 (finder: local module finder @1d057a39 (roots: /dnb/opt/jboss/modules,/dnb/opt/jboss/modules/system/layers/base))]&quot;}}}}}}}}}}</p>