users@glassfish.java.net

Re: _at_ApplicationException(rollback=true) does not rollback transaction

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Thu, 27 Nov 2008 14:00:07 +0100

OMG - this bug is SO SERIOUS! We have found this bug in our application when our
customer started complaining about inconsistent data across application
(financial problems on accounts) with roots being many months back, when we
started using Exceptions with @ApplicationException=true instead of plain
RuntimeExceptions!

For everyone interested - please vote for this bug. If you have paid
support, please ask for update being delivered ASAP. This is not funny
when there are inconsistent data, imagine:
TRANSACTION {
  (1) $100,000 taken from account X
  (2) $100,000 to be placed into account Y - application exception
}

Now $100.000 is gone, taken from X and not transferred into Y. Poor
customer, he/she just lost small amount of money :( And there are more
poor customers, as this bug is happening always when exception is
thrown.

Please, vote for this issue:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5183

Regards,
Witold Szczerba

2008/6/19 <glassfish_at_javadesktop.org>:
> Hi Cheng,
>
> Issue is reported. Issue number is 5183.
>
> Thanks again.
> Robert
> [Message sent by forum member 'robert74' (robert74)]
>
> http://forums.java.net/jive/thread.jspa?messageID=281334
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>