The following examples illustrate how to use the command to find Enterprise JavaBeans (EJB) timers and explain the output statement.
findEJBTimers server1 -all
findEJBTimers server1 -app DefaultApplication.ear -mod Increment.jar -bean Increment
EJB Timer : 25 Expiration: Mon Feb 09 13:36:47 CST 2004 Repeating EJB : DefaultApplication.ear Increment.jar Increment EJB Key: 8 Info : Increment Counter EJB Timer : 26 Expiration: Mon Feb 09 13:36:47 CST 2004 Single EJB : DefaultApplication.ear Increment.jar Increment EJB Key: 8 Info : Decrement Counter 2 EJB Timers found
Only the first 40 bytes of toString() output are displayed for the Primary Key and Timer Info. This information is only useful if the application overrides the toString() method for these objects.
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.