This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes RemoteException after EJB call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "RemoteException after EJB call" Watch "RemoteException after EJB call" New topic
Author

RemoteException after EJB call

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi guys,

I've been trying to solve this for two days...

I'm calling a remote EJB(stateless) from another EJB(also stateless). I'm using RAD7, so under the assembly tab of the deployment descriptor, I created an entry under container transactions with type of Not Supported. Now, I can all the remote EJB, but after the method completes I receive a remote(which I wrapped so the message below won't show it) exception saying...


[5/21/08 12:37:09:133 CST] 00000034 LocalTranCoor W WLTC0033W: Resource jdbc/DB_APP_SOURCE

rolled back in cleanup of LocalTransactionContainment.

[5/21/08 12:37:09:164 CST] 00000034 LocalTranCoor W WLTC0032W: One or more local

transaction resources were rolled back during the cleanup of a LocalTransactionContainment.
PatternLayout "21/05/2008 12:37:09 DEBUG: EXIT: SearchManagerDelegate.searchByPO()
" PatternLayout "21/05/2008 12:37:09 ERROR:
" com.myapp.ejb.session.exception.SearchManagerException:

javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested

exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK:

javax.transaction.TransactionRolledbackException: ; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0

completed: No


I tried changing the transaction type but I still get the same exception. Having no transaction type defined results in a time out.
[ May 20, 2008: Message edited by: Timothy Sam ]

SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RemoteException after EJB call
 
Similar Threads
Problem with adding Container Transaction under DD Assembly settings in RAD7
Datasource rollback in WAS6.0
error in bean managed MDB
Connection Timedout Exception
Connecting Websphere 6.0 to Oracle 9i