There was a bug in 2.0 and up to several weeks ago where any runtime
exception (including EJBException) from ejbStore would fail this way. It
is fixed in 2.1 at this time.

Jim Archer wrote:
> 
> Hi Jim...
> 
> I agree, the spec says that all non-application exceptions should cause a
> rollback and EJBException qualifies!
> 
> Just so we know what to watch out for, which version of jBoss are you
> seeing this in?
> 
> Thanks!
> 
> Jim
> 
> --On Thursday, March 08, 2001 11:15 AM -0500 James Cook <[EMAIL PROTECTED]>
> wrote:
> 
> > In my ejbStore() I am throwing an EJBException and it is not causing a
> > transaction rollback. Because the transacation stalls, the container
> > actually appears to lock up in these cases. The client also stalls.
> >
> > If I change the exception to RemoteException, all works as expected. The
> > transaction is aborted. According to the spec all non-application
> > exceptions should cause an automatic rollback. I believe that
> > EJBException should be considered a non-application exception.
> >
> > jim
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to