WebSphere 7 EJB3 Timer Service with many and frequent timeouts
timdp 2000003V97 Comment (1) Visits (15871)
Earlier in the year, I worked with an application that used the EJB3 timer service to perform a number of frequently polled application tasks. As we were porting the application to WebSphere from another application server, we ran into a few issues a long the way, particularly with EJB3 timers and timeouts either not firing at all, or not firing as frequently as expected.
Here are the key things I learned about the EJB3 timer service and WebSphere:
For this particular application we achieved success by reducing the poll interval from 300 to 10 and increasing the number of timer threads from 1 to 10.
To edit the EJB timer service settings, first navigate to the application server you want to modify, and then in the "Container Settings" section, expand "EJB Container Settings" and then click "EJB timer service settings". You will then see this screen: