WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

Example: CancelEJBTimers command

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:
cancelEJBTimers server1 -all
To cancel all EJB timers on server1, associated with the Increment bean in the DefaultApplication:
cancelEJBTimers server1 -app DefaultApplication.ear -mod Increment.jar -bean Increment
To cancel a specific EJB timer identified through the FindEJBTimers command or from a system log entry indicating a problem or failure:
cancelEJBTimers server1 -id 25

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.




Related tasks
Configuring a Timer Service for network deployment
Related reference
Example: Using the Timer Service
Related information
EJB Timer Service settings
Reference topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/rejb_timsercomex2.html