Client Environment:
OS-System: Windows XP 5.1,x86
JBoss: JBoss-3.2.1
Java VM: Java HotSpot(TM) Client VM 1.4.0-b92,Sun Microsystems Inc.
DB2 driver(app): DB2 V8.1
Server Environment:
OS: Linux 2.4.18-64GB-SMP (SuSE 8.0)
DB2 Server: DB2 V8.1 ESE
Here is the content of db2-xa-ds.xml file I was able to deploy and test. Until now it works (tested even with JmsXA adaptor):
-------------------- begin --------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: db2-xa-ds.xml,v 1.3 2003/05/16 15:46:33 horia Exp $ -->
<!--
XADatasource for DB2 V8.1 (app driver)
copy $db2_install_dir/java/db2java.zip into $jboss_install_dir/server/default/lib
-->
<xa-datasource>
<jndi-name>DB2XADS</jndi-name>
<xa-datasource-class>COM.ibm.db2.jdbc.DB2XADataSource</xa-datasource-class>
<xa-datasource-property name="DatabaseName">your_database_name</xa-datasource-property>
<xa-datasource-property name="User">your_user</xa-datasource-property>
<xa-datasource-property name="Password">your_password</xa-datasource-property>
</xa-datasource>
-------------------- end --------------------
Regards,
Horia
I configure my db2-xa-ds.xml on my jboss4.00.
But the wrong message is when i call the db215:41:20,305 INFO [STDOUT] Exception in cmtbeanjavax.naming.NameNotFoundExcepti
on: DB2DS not bound
I don't know the reason,who can tell me.