WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Example: CancelEJBTimers command

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.




Reference topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rejb_timsercomex2.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)