Subhendu,
can you reiterate what your transaction attributes are as this is not clear from your original message.
Duncan Alexander
Consultant
Email: [EMAIL PROTECTED]
Spektra
Integration House
Alba Campus
Livingston, EH54 7LL, Scotland
Tel: +44 (0) 1506 460234 Fax: +44 (0) 1506 460212
W: http://www.spektra.co.uk
'driving e-finance - delivering solutions to the financial services industry'
This email is intended for the person or organisation to which it is addressed.
The information contained in this email is confidential and may be subject to
legal privilege. If the reader is not the intended recipient, you are hereby
notified that any dissemination, distribution, or copying of this communication
is prohibited. If you receive this email in error please notify Spektra Systems
immediately by telephone on +44 (0) 1506 460234. Thank you.
| subhendukumar mohanty <[EMAIL PROTECTED]>
Sent by: A mailing list for Enterprise JavaBeans development <[EMAIL PROTECTED]> 24/09/2002 22:05
|
To: [EMAIL PROTECTED] cc: Subject: [EJB-INT] Error when calling Creating One Ejb from Other EJb(Urgent) |
Hi All,
I am trying to create a ejb from the Business method of another ejb. I am getting the following error
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException
The code is like below:
EJB1 Method1 {
get HomeOFEjb 2
Call home.create() to get the remote handle.
}
Program gives the error when i am trying to call home.create() of second ejb in the Method1 of Ejb 1.
This Error happens when the Method1 of ejb1 has transaction attribute as "Required" and "Required New".
Is there any restriction that you can not call the create method of one ejb inside a method of another EJB which participates in the transaction.
Thanks,
Subhendu
==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
