File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
amit chaudhary
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5382
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this http://muness.blogspot.com/2005/09/distributed-transactions-and-timeouts.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic