Run ColdFusion from the command line

Is there a way to start ColdFusion from the command line?

I am not talking about launching CF and related services using a command net start.

I remember how this was done in the past. Basically, running CF from the command line has two advantages:

  • You did not need to store it as a service and always run it at boot time or deal with a service manager
  • (more importantly) He repeated all kinds of messages on the screen, especially error messages that were useful during active development (because you didn't have to dig into ColdFusion log files to find them)

It is possible that I remember incorrectly and that it was not available with ColdFusion 5.0. Is this possible with ColdFusion 9?

Update : environment: configure multiple servers using JRun.

+5
source share
2 answers

Two ways to do this:

  • In development, add the server to ColdFusion Builder, and all the messages you talk about will be displayed on the console tab.
  • Launch ColdFusion from the command line. The instructions are slightly different for each environment, but basically you want to get into the bin directory and issue jrun start cfusioneither coldfusion startor something like that. Publish your environment for more details.

Go to the folder C: \ JRun \ bin and type jrun start cfusion

+10
source

ColdFusion9/bin stop.bat start.bat. , .

+2

All Articles