Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 2PC Txn problem  RSS feed

 
Meghana Reddy
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

We have a problem with the EJB transaction in our application.

We have an application that has a session EJB that gets a connection to a database schema(say, jdbc/mydb2) using one username/password combo and that EJB invokes another library which gets a connection to the same database schema(jdbc/mydb2). But when we try to execute this app, we get the following error.

I have followed the solution that was discussed in one of the forums
here (http://www.coderanch.com/t/317233/EJB-JEE/java/EJB-transaction-two-phase-commit) where I found the URL:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/lao/tasks/tla_ep.html

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/lao/tasks/tla_ep.html

From these URLs, I have learned about the Last Participant Support and have enabled it, but for no respite. Any help is highly appreciated. thanks in advance
Meghana
 
Meghana Reddy
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to mention that we dont use XA resources here. And please presume that we are not supposed to use XA resources. So, would the Last Participant Support option be helpful if we are using only non-XA resources.

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!