Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Release Notes

- Previous: J2EE Tutorial
- Next: Logging

# Lifecycle Management

This section describes known lifecycle management issues and associated solutions.

Bug ID | Summary
--- | ---
6193449 | After setting the `ejb-timer-service` property minimum-delivery-interval to 9000, an attempt to set the `ejb-timer-service` property `redelivery-interval-in-mills` to 7000 causes the set command to fail with the following error:
    [echo] Doing admin task set
    [exec] [Attribute(id=redelivery-interval-internal-in-millis) :
    Redelivery-Interval (7,000)
    should be greater than or equal to Minimum-delivery-interval-
    in-millis (9,000)]
    [exec] CLI137 Command set failed.
`minimum-delivery-interval` is the minimal interval duration between deliveries of the same periodic timer. `redelivery-interval-in-mills` is the time the timer service will wait after a failed `ejbTimeout` before attempting redelivery. The problem is that the logic that relates the redelivery interval property to the minimum delivery property is incorrect and prevents you from using the GUI or the CLI to set any value where the minimum delivery interval is greater than redelivery interval. The `minimum-delivery-interval-in-millis` must always be set equal to or higher than `ejb-timer-service` property `redelivery-interval-in-millis`. The problem is that there is an erroneous validation check in the Application Server to verify that the value for `redelivery-interval-in-millis` is greater than the value for `minimum-delivery-interval-in-millis`. Solution Use the default values for these properties, as follows:
    minimum-delivery-interval(default)=7000
    redelivery-interval-in-millis(default)=5000
Values other than these defaults will generate an error.

- Previous: J2EE Tutorial
- Next: Logging

- © 2010, Oracle Corporation and/or its affiliates