Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: How to restart ColdFusion 10 programatically

$
0
0

When I say CF way, I mean any way using a CFM template. The older Jrun method that I cited is a "CF way", since the Java method is called from within a CFSCRIPT tag. I know the underlying code is Java, but the restart is still achieved by running a CFM template.

 

Btw, you certainly can restart Windows from within MS-Word. You just write a little VB macro to access the command shell.

 

In fact, your MS-Word analogy was helpful; I now have a CFM template that restarts the CF application server (or Tomcat instance, if you want to call it that) using a similar method. Not the best nor the most elegant method, but it works quickly and robustly. Meanwhile, I'll wait for <cfrestartmyserver>...

 

That's two solutions I've found today, I'm on a roll


Viewing all articles
Browse latest Browse all 21760

Trending Articles