powered by Jive Software

Run Connection Manager as a Services on Windows 2008 and 2012

Download and extract Connection Manager. In this example, I’ve extracted the files to c:\cm

Get srvany.exe from the windows server 2003 resource kit tools, and place it in a suitable location. I put it within the same folder as my connection manager jars. c:\cm\lib\srvany.exe

from command-line run:

sc create ConnectionManager binPath=C:\cm\lib\srvany.exe DisplayName=“Openfire Connection Manager”

Using RegEdit :

Create a "Parameters " key for your service. The location should be something like HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ConnectionManager

Using RegEdit :

Within the newly created “Parameters” key , create two string values.

“Application” with the following data “java -server -jar startup.jar” Without quotes

“AppDirectory” “c:\cm\lib” without quotes