Skip to content

Add configuration option to prevent Timers being expunged #8

@stuartpullinger

Description

@stuartpullinger

Glassfish behaves differently to JBoss and Geronimo in expunging timers after an application exception rather than just logging the exception. Expunging the timers in Glassfish can only be fixed by redeploying the application.

We should add the 'reschedule-failed-timer' option to the setup-glassfish.py script to prevent the Timers from being expunged.

Some references:
https://stackoverflow.com/a/18303655
javaee/ejb-spec#111 - requesting clarity in the spec
https://github.com/javaee/glassfish/issues/20749 - reporting issue to Glassfish. Doesn't look like it will be addressed.
https://bitbucket.org/obfischer/glassfish-timerproblem/src - example application to produce the error

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions