If the create() method has a transaction attribute
"Never" a java.rmi.RemoteException should get thrown.


Jim
--- subhendukumar mohanty <[EMAIL PROTECTED]>
wrote:
> 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".
>


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

===========================================================================
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".

Reply via email to