Running a TIBCO Patterns Server as a Microsoft Windows Service

To run a TIBCO Patterns server as a service, use the sc program to install the service. An example command is as follows:

sc create "TIBCO Patterns Server" binpath= "c:\path_to_executable\TIB_tps_server.exe"

Note the space after binpath= . Use the correct name for the TIBCO Patterns executable and make sure to specify the correct path to the TIBCO Patterns executable. To remove the service, type:

sc delete "TIBCO Patterns Server" 

After the service has been installed, you can use the Services applet to control the service called "TIBCO Patterns Server." This applet is in the Control Panel under Administrative Tools and System and Security => Administrative Tools. Use it to start and stop the service, set it to start automatically on reboot, and specify command-line options.

Note that when the service is set to start automatically, any command-line options must be included in the binpath option when installing the service.

For example,

binpath= "c:\path_to_executable\TIB_tps_server.exe -p 5054 -c TIB_tps.con"

You cannot set autostart parameters from the Windows applet.

Also, there is an Event Viewer applet in the Control Panel under Administrative Tools. The TIBCO Patterns servers logs start, stop and error messages in the Event Log. Use the Event Viewer applet to view them.

You can use the -c option to write the error messages to a file instead of the Event Log. Command-line errors still appears in the Event Log.

Note: You cannot use the -M, -? or -h options when you run the TIBCO Patterns server as a service.