Maybe you have the same problem as I, see the posting
I attach for you:
Wei�b�ck Maximilian wrote:
>
> Hi Philippe!
>
> It seems I have found the problem with the not rolled
> back transaction.
>
> Contrary to the description in the Migration.html document,
> it seems that the now deprecated use of java.rmi.RemoteException
> is not supported in Jonas. If my method throws RemoteException
> no rollback happens, if I throw javax.ejb.EJBException a
> rollback happens.
>
> Please can you confirm that my impression is correct that
> changing my methods to throw javax.ejb.EJBException
> will solve the transaction problem?
>
> Thanks, Max
>
Yes. There is a known bug in JOnAS 2.0 (and maybe 1.6 too ?)
THe generated classes does not catch RemoteException anymore,
so we cannot rollback the transaction in that case. It works if
you raise EJBException. Although it's a deprecated method, we
should fix this!
Thanks.
Philippe
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".