wood burning stoves 2.0*
The moose likes JDBC and the fly likes java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQL" Watch "java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQL" New topic
Author

java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQL

amit chaudhary
Greenhorn

Joined: Mar 27, 2007
Posts: 3
Hi,
I am getting this error. I have read in some topic that this occurs because of some database permissions and some ejb settings.
But my problem is different.
I have tried running the application with a database username/password and it is working fine but for a different username/password of different database altogether but keeping same the jars and xml files, it is throwing this exception.
Can somebody suggest me any reason as to why this error is coming just by changing the database only??
Your help will be highly appreciated.
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
check this http://muness.blogspot.com/2005/09/distributed-transactions-and-timeouts.html


"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQL
 
Similar Threads
java program to password protect a signed pdf file and validation of the password
weblogic.ejb20.locks. LockTimedOutException
Validating user/password for database connection
MS Access 97 password problem
Unable to direct to page after login