• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 5399
1
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check this http://muness.blogspot.com/2005/09/distributed-transactions-and-timeouts.html
reply
    Bookmark Topic Watch Topic
  • New Topic