CancelEJBTimers command example

The following examples illustrate how to use the command to cancel Enterprise JavaBeans (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 -timer 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.

避免困難 避免困難: 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.gotcha

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:12
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rejb_timsercomex2
檔名:rejb_timsercomex2.html