12 Replies Latest reply on Dec 6, 2006 6:00 PM by jshrinivas

    DB2 XA connection problem - Non XA works

    jshrinivas

      Hello,

      I am trying to use IBM DB2 XA datasource with JBoss 4.0.5-SP1 and have modified db2-xa-ds.xml. I get following error during JBoss startup:

      Reason: org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (com.ibm.db2.jcc.b.SqlException: Failure in loading T2 native library db2jcct2); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.ibm.db2.jcc.b.SqlException: Failure in loading T2 native library db2jcct2)))

      If I use non XA datasource it works fine; so I think it is not a problem with drivers not being in the CLASSPATH. Also JBoss and DB2 machines are on Linux platform.

      Is there anything that I need to install (native libs probably) to get XA driver working ?

      Thanks,
      -Shrinivas