As i understand, your choose incorrect driver class, wich doesn't support distributed XA-transactions. (You need distributed transaction to work with different resources, in your case, two different databases). By the way, why you trying to use plain JDBC driver and connection, if you have full-functional application server? You must use JTA and DataSource on app server, wich has transaction manager used to manage distributed transactions. Look what JDTS JDBC Driver Documentation (
http://jtds.sourceforge.net/faq.html#driverImplementation) says:
Quote:
interface: javax.sql.XADataSource
JDTS driver implementation: net.sourceforge.jtds.jdbcx.JtdsDataSource