Configuration and Administration

glog.eventQueueMonitor Properties

To control the behavior of Oracle Transportation Management, you can change settings in the glog.properties file or the appropriate property set.

The event queue monitor periodically polls threads in a particular event queue to see if they are responding. If a thread has been active for too long, the monitor marks the thread as unresponsive and automatically creates a new thread to process work. When the original thread returns (e.g. from an HTTP call) it immediately exits. Any event queue in the EventDiagServlet can be monitored. To turn on monitoring for a particular queue, set the property:

glog.eventQueueMonitor.timeout.<queue>=<timeout in seconds>

Finally, you need to turn on the monitor poller. Set the property:

glog.eventQueueMonitor.polling=<polling frequency in seconds>

By default, no queues are monitored.

Property

New in Version

Description

glog.eventQueueMonitor.polling

 

Sets the polling frequency for the monitor in seconds. If 0, there is no monitor. The default is 0.

The poller will check all monitored threads for activities lasting longer than their event queue's timeout. There is no way to configure all event queues, en masse, for timeout. The behavior of each event queue is specific to the type of events processed. Note also that the monitor does not stop running work. In Java this is not possible. We generally use the monitor to timeout communication problems with HTTP and SMTP, rather than timeout threads waiting on planning algorithms.

glog.eventQueueMonitor.timeout.<queue>=<# of seconds>

e.g. glog.eventQueueMonitor.timeout.HttpPost=600

 

Sets the timeout for the threads in an event queue. Enter the name of the queue in place of <queue>.

Note that the most common monitored queues are the transport queues. These queue names have spaces, so the property key must be encased in double quotes. E.g. "glog.eventQueueMonitor.timeout.transport - HTTP"=120

The name of the HTTP queue is HttpPost.

Note: This property does not display in the properties servlet by default. It must be added manually.

Related Topics