[jboss-user] [JCA/JBoss] - DB2 XA connection problem - Non XA works

jshrinivas do-not-reply at jboss.com
Sun Nov 26 17:39:46 EST 2006


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



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988692#3988692

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988692



More information about the jboss-user mailing list