Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Starting and Stopping an Instance

Guest
Nov 14, 2012 Nov 14, 2012

We are looking at setting up our CF10 server such that each application will be in its own instance, and allowing the developers access to their own instance.  Is there any way to start and stop the instances from within the instance?  We are hoping that there is some way to do this without logging into the cfusion administrator to manage the restarts of each instance.  We are installed on Windows.

Thanks!

Jenn

800
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 14, 2012 Nov 14, 2012

Jenn you could try CF10 Server Manager. This URL should get you started:

http://www.adobe.com/support/coldfusion/downloads.html#cf10serverinstallers

In part says:
ColdFusion 10 Server Manager WAR Files
These application server specific WAR files need to be deployed on the application server to enable you to run the ColdFusion Server Start and Stop operations from the Server Manager.

HTH, Carl.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 19, 2012 Nov 19, 2012
LATEST

The administrator could run the following code:

<cfscript>

instanceName="bkbk";

createObject("component", "CFIDE.adminapi.administrator").login("admin_password") ;

serverInstanceObject=createObject("component", "CFIDE.adminapi.serverinstance");

// start the instance of given name

serverInstanceObject.startInstance(instanceName);

// stop the instance of given name

// serverInstanceObject.startInstance(instanceName);

</cfscript>

<!--- properties and methods of Serverinstance.cfc --->

<!--- <cfdump var="#serverInstanceObject#">--->

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources