java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQL
posted 8 years ago
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.