I, like a lot of developers use a Mac and like most I use a local web server to test the applications I am developing; however, I have had a few issues getting my dev environment running exactly as I want it due to the fact I use MAMP Pro. While it supports mySQL and PHP out of the box it doesn’t lend itself well to other app servers due to the fact it has a different way of configuring the server compared to plain old MAMP.
Recently I was invited to speak at Scotch on the Road London, and as the only self professed non ColdFusion developer there I decided it was high time I got ColdFusion installed and running under MAMP Pro. So after much Googling and reading I came to the conclusion that there just wasn’t a clear set of instructions on how to get ColdFusion to play nice with MAMP Pro. Luckily I’m not easily put off and after a few hours of swearing at my Mac and many install / uninstall cycles I eventually got it working. So for those who also use MAMP Pro and would like to integrate ColdFusion with it I have put a screen cast together that goes through the entire process of integrating the two together.
Please excuse the audio – I’ll redo it at a later date but I wanted to get it posted sooner rather than later.
If you are following along the code I paste in to the MAMP Pro configuration template is below so just copy and paste it in to your config file.
# JRun Settings LoadModule jrun_module /Applications/ColdFusion8/runtime/lib/wsconfig/1/mod_jrun20.so <IfModule mod_jrun20.c> JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore /Applications/ColdFusion8/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51800 #JRunConfig Errorurl url <optionally redirect to this URL on errors> #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server> #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server> #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server> #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server> AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf </IfModule>
Since producing this video Living-e no longer maintain MAMP and MAMP Pro, it has been taken over by a company called AppSolute so where I mention locating the living-e directory in your Library > Application Support directory, you will now need to refer to the Library > Application Support > appsolute directory instead.
For those of you who are working with ColdFusion 9 check out Adam Tuttle’s post / video on how to get CF9 to work after following my video
Popularity: 10% [?]
Configuring ColdFusion & MAMP Pro by .: Blog.FlashGen.Com :: Mike Jones - Technologist :., unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.