Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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#">--->