
en.help.task-ejbtimerservice.html Maven / Gradle / Ivy
To Configure the EJB Timer Service
The timer service is a persistent and transactional notification service that is provided
by the enterprise bean container and is used to schedule notifications or events
used by enterprise beans. All enterprise beans except stateful session beans can receive
notifications from the timer service. Persistent imers set by the service are not destroyed
when the server is shut down or restarted.
- In the navigation tree, expand the Configuration node.
- Select the EJB Container node.
The Enterprise Java Beans (EJB) page opens.
- Click the EJB Timer Service tab.
The EJB Timer Service page opens.
- In the Minimum Delivery Interval field, type the minimum number of milliseconds allowed
before the next timer expiration for a particular timer can occur.
Setting this interval too low can cause server overload. The default value is
1000.
- In the Maximum Redeliveries field, type the maximum number of attempts the timer
service makes to deliver a timer expiration due for exception or rollback.
The default value is 1.
- In the Redelivery Interval field, type the interval, in milliseconds, between redelivery attempts.
The default value is 5000.
- In the Timer Datasource field, type the JNDI name of the JDBC resource
that will be used as the timer datasource.
If specified, this value overrides the default value of jdbc/__TimerPool for the timer
service system application.
- Click Save.
Tip - To return to the default settings, click the Load Defaults button, then click
Save.
- Restart the GlassFish Server.
See Also
-
-
-
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices