Skip to main content
Inspiring
March 29, 2012
Question

Restarting Coldfusion Server

  • March 29, 2012
  • 4 replies
  • 8980 views

Hi All,

Is there anyway we can restart the coldfusion server through any code or Admin API?

We are having coldfusion MX 7. We do not have access to to the server for restarting. Every time we need to wait for the Administrator to restart it.

I want to know is there any Admin API which we can use to restart the server?

Thanks in advance for your help..:)

This topic has been closed for replies.

4 replies

meensiAuthor
Inspiring
April 2, 2012

Hi all,

THanks for your suggestions, will try and let you know..

BKBK
Community Expert
Community Expert
March 30, 2012

meensi wrote:

Hi All,

Is there anyway we can restart the coldfusion server through any code or Admin API?

We are having coldfusion MX 7. We do not have access to to the server for restarting. Every time we need to wait for the Administrator to restart it.

I want to know is there any Admin API which we can use to restart the server?

For MX7 standard edition on Windows, you can start/stop the server by running the cfstart/cfstop batch files in C:\CFusionMX7\bin. 

Inspiring
March 29, 2012

Are you talking about a server admin or a cf admin?

Owainnorth
Inspiring
March 29, 2012

Have you looked at the docs? Only relevant one is serverinstance.cfc - "Start, stop, and restart JRun servers. This CFC only works when running the multiserver configuration"

Generally a website wouldn't have permissions to restart a Windows service, so no.