WAS v8.5 > Reference > Command-line utilities

CancelEJBTimers command example

The following examples illustrate how to use the command to cancel EJB timers.

To use the cancelEJBTimer command to cancel all EJB timers on a server called server1:

To cancel all EJB timers on server1, associated with the Increment bean in the DefaultApplication:

To cancel a specific EJB timer identified through the FindEJBTimers command or from a system log entry indicating a problem or failure:

Increment in the DefaultApplication does not implement the TimedObject interface, and so could not actually have associated EJB Timers. Increment is used merely for illustrative purposes in this example.

The CancelEJBTimers command also cancels automatically created persistent timers. When automatically created persistent timers are cancelled, the only way to recreate them is to uninstall the application and reinstall it again.


Related


Configure a timer service for network deployment
Create timers using the EJB timer service for enterprise beans


Related information:

EJB timer service settings


+

Search Tips   |   Advanced Search