Are you calling

_sessionContext.setRollbackOnly() anywhere in your code?  Are the updates
occuring to the same database? Do any exceptions dump to the console?  What
is the entire stack trace of the exception?  Can you dump its stack in S1 so
we can see it?

Dave Wolf
Internet Applications Division


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kalam Sujeevan
> Sent: Sunday, June 04, 2000 8:14 AM
> To: [EMAIL PROTECTED]
> Subject: Automatic Transaction rollback
>
>
> Hi All,
> I am facing a peculiar problem with transaction/rollback.
> my problem is like this. one of my stateless session bean(S1)
> calls another
> stateless session bean(S2), which in turn calls another stateless session
> bean(S3) which actually updates some data in the database.After
> this S1 calls S3
> to update same piece of data in the database.
> the sequence is like this--
> 1.S1{
> 2.  Method1(){
> 3.    calls Method2 on S2
> 4.    calls Method3 on S3
> 5.  }
> 6.}
>
> S2{
>   Method2(){
>     calls Method3 on S3
>   }
> }
> S3{
>   Method3(){
>     update data in the database
>  }
> }
>
> but I am getting TransactionRolledBackException when I am calling
> Method3 on S3
> in S1 on line 4. There is no message given.
>
> Can anybody explain, what's going wrong here.
>
> App. server is weblogic 5.1, sp3 and Oracle8i and transaction attribute is
> "required" for all these methods
>
> TIA
> Sujeevan kalam
>
> ==================================================================
> =========
> 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".
>
>

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