mod_jrun22.so wrong architecture (CF9 and MAMP on Snow Leopard/Lion
I have been trying to set up a local development environment on both my Snow Leopard and Lion machines.
I think I'm having problems with the connectors, but the solutions I have located online have not resolved the issue. (The GUI hasn't been able to create the connectors for me either.)
I get this error:
9/15/12 10:36:47.104 PM [0x0-0xe00e].de.appsolute.MAMP: httpd: Syntax error on line 549 of /Applications/MAMP/conf/apache/httpd.conf: Cannot load /Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so into server: dlopen(/Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so, 10): no suitable image found. Did find:\n\t/Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so: mach-o, but wrong architecture
And am unable to start Apache (MAMP) after manually adding the following to my httpd.conf file:
# JRun Settings
LoadModule jrun_module "/Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so"
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore "/Applications/ColdFusion9/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>
I have read that there have been issues with Lion, but I get the same results with Snow Leopard.
I have also extracted different wsconfig files from both wsconfig.jar and while extracting them from the ColdFusion9 installer.
Anyone have any additional ideas on what direction to take next in order to create a local developmemnt environment?
Any help would be appreciated. Thanks in advance.
