wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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/
 
 
subject: RemoteException after EJB call
 
Similar Threads
Connection Timedout Exception
Datasource rollback in WAS6.0
Problem with adding Container Transaction under DD Assembly settings in RAD7
error in bean managed MDB
Connecting Websphere 6.0 to Oracle 9i