users@glassfish.java.net

Re: Make TimerBean NOT stop on exceptions/transaction-rollback

From: Per Steffensen <steff_at_designware.dk>
Date: Mon, 23 Aug 2010 10:36:31 +0200

Hi

Should I understand your answer as "No you cannot tell Glassfish to not
stop calling a TimerBean that sets its transaction to rollback-only"?

I could change the number of retries to something "very high", but in
principle that is just lowering the chance that the TimerBean stops
getting called, and not eliminating it.

What is a RFE, and how do you file it? If it a "Request For Change" or
something it will probably not help me. We are using Glassfish 2.1.1 in
(semi-)production so we will not be able to just upgrade to a newer
version (without a lot of testing at least).

Regards, Per Steffensen

Marina Vatkina skrev:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">Please
> file an RFE. For now you can try to change the number of retries to a
> higher number.
>
> Best,
> -marina
>
> Per Steffensen wrote:
>> Hi
>>
>> I have a timerbean running in Glassfish 2.1.1. If I setRollbackOnly
>> on the transaction associated with the TimerBean Glassfish will stop
>> calling this TimerBean in the future. This is an ok feature, but cant
>> you prevent it from happening. That is, can I tell Glassfish to NOT
>> stop calling my TimerBean just because its transaction gets set to
>> rollback from time to time? How?
>>
>> Regards, Per Steffensen
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
> </div>