Specifying Initializers
Initialization actions can be automatically launched if they're defined in e3config.xml. Each Initializer must implement the com.arbortext.e3.E3Initializer interface.
Setting the defer value to yes means that Arbortext Publishing Engine can take requests even if the initializer hasn't finished loading yet.
Two Initializer objects are implemented to specifically support Arbortext products that interact with Arbortext Publishing Engine:
• class com.arbortext.e3.CompConfigInit with ID CompConfigInit. This initializer obtains and caches a Publishing Configuration report for Arbortext Editor clients using Arbortext Publishing Engine as a publishing server.
• class com.arbortext.e3.queue.QueueSchedulerInit with ID QueueSchedulerInit. This initializer starts the Queued Transaction Scheduler.
• class com.arbortext.e3.DiskSpaceChecker with ID DiskSpaceChecker. This initializer starts the Disk Space Checker. It has three parameters:
◦ disable, which can have the values yes or no (the default).
◦ interval, which specifies an interval for checking disk space, expressed in seconds. It is set to 600 (the default).
◦ threshold, which specifies the threshold for issuing a warning to the servlet log that disk space is low. The value is specified as a series of thresholds where a single specification is drive_letter:integerCriteria..
The wild card * can be specified for drive letter, meaning all drives on the Arbortext PE server.
The criteria is one of the characters % for percent of available space, K for kilobytes of available space, M for megabytes of available space, G for gigabytes of available space, or T for terabytes of available space.
threshold is set to *:10% (the default), which means issue a warning for any disk with less than 10% available space.
Multiple specifications are separated by ;, for example, *:20%;c:100M;g:400G. This example issues a warning if the C drive has less than 100 megabytes available space, the G drive has less than 400 gigabytes available space; and if any other drive on the server has less than 20% available space.
The Arbortext Publishing Engine index page Status and Configuration report has a Disk Space section where you can view the results of the last time disk space was checked.
In addition, if a disk has less space available than the amount specified by threshold, the Disk Space Checker writes a WARN level log message into the servlet log (pelog.xml in Tomcat's log directory). To see the WARN messages from the Disk Space Checker in the log, set the debug flag in e3config.xml to true.