Running CTP as a Windows Service

From MircWiki
Revision as of 19:01, 4 June 2010 by Johnperry (talk | contribs) (Protected "Running CTP as a Windows Service" [edit=sysop:move=sysop])
Jump to navigation Jump to search

This article describes how to install CTP as a Windows service. It is intended for administrators who want CTP to start automatically when its host computer starts and shut down cleanly when its host computer shuts down. This is the most convenient way to run CTP on a Windows system for applications in which CTP acts a resource for a clinical trial or as a front-end to another system.

Introduction

The CTP installer program is a self-extracting program that copies all the necessary files into a directory called CTP wherever the user requests it to be created. The installer creates a windows subdirectory containing these files:

  • CTP.exe - the service. This is the service which is run by the Windows service manager. It launches the CTP.jar program and monitors its operation.
  • CTPw.exe - the properties applet. This is the program which allows the administrator to adjust the parameters which determine how CTP.jar runs, including the memory pool allocations.
  • install.bat - the Windows batch job which installs the CTP.exe service and provides a default set of parameters.
  • uninstall.bat - the Windows batch job which uninstalls the CTP.exe service.