Hitachi

JP1 Version 12 JP1/Base User's Guide


2.2 Controlling the service start and stop sequences (Windows only)

JP1/Base enables you to control the sequence in which services provided by JP1 products and non-JP1 products start and stop.

Services for JP1/IM, JP1/AJS, and other products that require JP1/Base must be started after the JP1/Base service. Services for products that issue JP1 events must also be started after the JP1/Base service. This is because the services cannot be registered with JP1/Base if JP1 events are issued before the JP1/Base service starts.

To stop services, JP1/Power Monitor must be installed on the same machine.

At startup, the JP1/Base Control Service starts first. The JP1/Base Control Service then launches each service in turn, according to the order in which the services are written in the start sequence definition file (JP1SVPRM.DAT). If any service fails to start within the time specified in the start sequence definition files (JP1SVPRM.DAT), JP1/Base Control Service launches the next service. Again, you can specify a command to be executed when each service has stopped.

At shutdown from JP1/Power Monitor, the services end in reverse order from the start sequence, and finally the JP1/Base Control Service ends. Again, you can specify a command to be executed when all services have stopped.

By default, the JP1/Base, JP1/IM, and JP1/AJS services start in that order. If you do not use JP1/IM or JP1/AJS, the system will output an error message to the Windows event log. In that case, you must edit the start sequence definition files (JP1SVPRM.DAT).