Hello there,Hi,In Jonas 2.3 we experience a problem when trying to throw an Application
Exception (e.g. CreateException)
in an ejbCreate() method, and when we set the transaction to RollbackOnly:
we receive a RollbackException instead of an ApplicationException at the
client.The ejbCreate() runs in the context of a transaction Jonas started
immediately before dispatching the ejbCreate().
If we do not set the transaction to RollbackOnly, we do receive the
ApplicationException.Any ideas?
Thanks, Arjan Kok
Compuware Amsterdam.
It is a JOnAS bug.
I have reproduced it.
If you do the same thing (setting RollbackOnly and throwing an Application
exception) in a method defined in the enterprise bean's remote interface it is working fine
(the client receives the Application exception) but it doesn't working in ejbCreate
it is a bug we have to fix.
Thanks!
Regards,
-- Philippe Philippe Coq Evidian Phone: (33) 04 76 29 78 49 Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France Download our EJBServer at http://www.objectweb.org
---- 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".
