Accessibility

TechNote (Archived)

ColdFusion MX 6.1 J2EE Configuration on JRun: Automatically starting multiple instances

Issue


When installing the 'ColdFusion MX with JRun4' option, Windows services will be created for the cfusion, admin, and default servers. In a simple JRun install, Windows services will be installed for the default and admin servers if the option to install as a Windows service was chosen. JRun does not automatically define Windows services for new servers.

Solution


On a Windows configuration, new JRun servers must be configured as Windows services in order for them to automatically start upon a reboot of the server.

To define a JRun server as a Windows service, use the jrunsvc utility:
  1. From the command prompt, change directories into thejrun_root\bin directory.

    For example: cd \jrun4\bin
  2. Run the following command:

    jrunsvc -install jrun_server [service-name [service-display [service-description]]]

    For example:

    jrunsvc -install cfmx myCFMXInstance instance1"myCFMXInstance"

    For more information on jrunsvc options, run jrunsvc -h at the command line
  3. Open the Services Control Panel: Start > Settings > Control Panel > Administrative Tools > Services.
  4. You should now see your new service,instance1, in the list of the services.
  5. Set the Startup type to Automatic:
    1. Right-click the newly created service.
    2. Select Properties.
    3. On the General tab, from the Startup type drop-down menu, choose Automatic.
    4. Click Apply, then OK.

Additional Information


Related TechNotes:


AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_19422
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox

Products Affected: