Configuring the proxy as a Windows service

If you install the proxy to a Microsoft Windows computer, you can configure the proxy to run as a Windows service. You can set the proxy service to restart automatically whenever the computer is restarted.

The proxy computer must have Microsoft .NET Framework 2.0 or higher installed.
To configure the proxy as a Windows service:
  1. If the proxy is not installed to the default location at C:\IBM\InfoSphere\Optim\proxy, complete the following steps:
    1. Open the folder in which you installed the proxy.
    2. Open the proxyService.xml file in that folder by using a text editor such as Notepad.
    3. Change the value of the proxyLocation entity to the folder in which you installed the proxy.
    For example, if you install the proxy to D:\Applications\Optim\proxy, use Notepad to open D:\Applications\Optim\proxy\proxyService.xml and change the proxyLocation value to D:\Applications\Optim\proxy.
  2. Open the command prompt by clicking Start > Run and entering the command cmd.
  3. Enter the following commands at the command prompt, where proxy_folder is the folder in which the proxy is installed:
    cd proxy_folder
    proxyService.exe install
    proxyService.exe start
You can check on the progress of the proxy by looking at the contents of log files. There are 3 log files:
  • proxy_folder/log/proxyService.err.log
  • proxy_folder/log/proxyService.out.log
  • proxy_folder/log/proxyService.wrapper.log
To stop and uninstall the proxy service, enter the following commands at the command prompt.
cd proxy_folder
proxyService.exe stop
proxyService.exe uninstall