3 Replies Latest reply on Feb 17, 2013 5:36 PM by am2605

    CF10 Multiserver - Create windows service

    am2605 Level 1

      Hi,

       

      I've installed ColdFusion 10 on my development machine (Windows 7 64bit) and yesterday created a new server instance in CF10 using the "Enterprise Manager" in the ColdFusion Administrator.  During the creation of this new instance, I didn't check the checkbox to create a Windows service.

       

      Now, I've changed my mind and would like to have a Windows service for this new instance, however I can't figure out how to do it.

       

      I expect you use the coldfusionsvc.exe for this, however I am not having any success with it. What parameters do I need to pass to this to make it work?  The -h option gives the following, but I can't understand what I need to put for <jrun-server>:

       

      c:\ColdFusion10\nws\bin>coldfusionsvc.exe -h

      Usage: coldfusionsvc

      -install [-norestart] <jrun-server> [service-name [service-display [service-description]]] [-<jrun-option>...]

      or -remove service-name

      or -start service-name

      or -starttimeout <seconds> service-name

      or -stop service-name

      or -stoptimeout <seconds> service-name

      or -logfilesize <no_of_kbs> service-name

      or -logfileRotationLimit <no_of_files> service-name

      or -status service-name

      or -console service-name [-<jrun-option>...]

       

      If I try something like this, I get an error:

       

      c:\ColdFusion10\nws\bin>coldfusionsvc.exe -install nws "cf10-nsw" "ColdFusion 10 - NWS Instance"

      CreateService failed with error status 123

      The filename, directory name, or volume label syntax is incorrect.

       

      Can anyone please point me in the right direction?

       

      Many thanks,

      Andrew.