Start Coldfusion 8 from the command line - OS X
January 17th, 2008
If you want to start CF from the command line instead of using the launcher just do this:
sudo /Applications/JRun4/bin/jrun -autorestart -nohup -start cfusion
No idea why that was so hard to find (really it wasn’t just had to dig though some shell scripts in the bin directory) Just figured I’d post it for those that would rather see std out in the terminal. I have trouble with the Coldfusion Launcher as well. Half the time it hangs on firing up the server.
2 Responses to “Start Coldfusion 8 from the command line - OS X”
Sorry, comments are closed for this article.
January 18th, 2008 at 01:52 AM
I always run CF from the command line since then you can watch the console log output which is great for debugging. I would also note that I never run CF as root (which is what sudo does). I just use:
/Applications/JRun4/bin/jrun start cfusion
(yes, you can use start instead of -start)
Without autorestart and nohup, it’s easier to kill and restart whenever you want.
If you do start it as root, you won’t be able to start it under your own user account (because some of the files will be owned by root and can’t be overwritten if you try to start it under your account).
January 18th, 2008 at 10:52 AM
Sean,
I like nohup for the ctrl-c shutdown factor but, yeah I agree, no reason to sudo or run it with autorestart.