Paul Alkema

Discussions on Web Development and Security

Paul Alkema

Easily Restart ColdFusion Service

June 15, 2010 · 13 Comments

Today I installed ColdFusion 9 developer edition on my local pc. When asked which server type I wanted to use, I opted to user ColdFusion 9's built-in web server. However later I wanted to restart the server however and because I didn't have IIS I didn't have an easy way to handle this so wrote a BAT file to restart the service.

I would think there would be a better way to do this, however I was unable to find a different way of restarting the ColdFusion service with ColdFusion 9's built-in web server.

To use my BAT file, create a blank text document and insert the code below.

NET STOP "coldfusion 9 application server"
NET START "coldfuion 9 appliation server"

Save the file and rename it cfrestart.bat. That should do it! Now if you click on the file it should restart the service.

Tags: ColdFusion