Skip to main content
Known Participant
November 23, 2010
Question

CF9 not connected to MAMP Apache in Snow Leopard

  • November 23, 2010
  • 1 reply
  • 1925 views

I am trying to set up a MAMP/CF9 multi-site development environment on my local MacBook Pro.

I found this article and followed it as my guide with one exception.

http://www.ryanjeffords.com/blog/entry/setting-up-a-solid-local-development-environment-using-coldfusion-9-apache-and-mysql-on-mac-os-x

Where it talks about editing the hostd.conf file for the multiple local sites, I instead installed VirtualHostX app.

So I installed MAMP (Mac Apache MySQL PHP) on my MacBook Pro.  It started up and runs serving web pages.  I then installed VirtualHostX and defined a couple local sites I have for development. I then installed CF9 (32 bit).  I specified CF in /Applications and I specified the CFIDE to go into my (user)/Sites/www directory. My local sites are each in their own directory under (user)/Sites/.  It said it all ran fine but when I went to /localhost/CFIDE/administrator/index.cfm it gives a 404 error. I try to go to one of the dev sites and it displays the page but as text, not CF rendered code.

I looked in the wsconf.log file and found this one error msg:

11/21 20:31:04 error Configuring 32 bit connector is not allowed.

jrunx.connectorinstaller.ConnectorInstallerException: Configuring 32 bit connector is not allowed.

at jrunx.connectorinstaller.WebServerInfo.getResourcePath(WebServerInfo.java:809)

at jrunx.connectorinstaller.WebServerInfo.getResourcePath(WebServerInfo.java:759)

at jrunx.connectorinstaller.ApacheInstaller.copyFiles(ApacheInstaller.java:1124)

at jrunx.connectorinstaller.ApacheInstaller.installConnector(ApacheInstaller.java:225)

at jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:338)

at jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:272)

at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:762)

It suggests that the CF install step where it tries to set up the connector between Apache and CF9 failed.  I don't know where to go from here to resolve this issue.  I've looked and looked on the web and can't find anything yet.  I've spent hours and hours.
Any guidance to resolve this would be much appreciated.

    This topic has been closed for replies.

    1 reply

    Community Expert
    November 24, 2010

    OK, let me preface this by saying I know practically nothing about OS X (despite typing this from a Mac right this second).

    Snow Leopard is a 64-bit OS. If you're using a 64-bit version of Apache, you'll need to use the 64-bit version of CF.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

    GSA Schedule, and provides the highest caliber vendor-authorized

    instruction at our training centers, online, or onsite.

    Read this before you post:

    http://forums.adobe.com/thread/607238

    Dave Watts, Eidolon LLC
    Tea manAuthor
    Known Participant
    November 24, 2010

    I have just found out that the MAMP (free version) download is a 64 bit architecture. I also know I was trying to install CF9 32 bit based on the assumptions that a.) it didn't matter b.) that MAMP had a 32 bit Apache.  Apparently both are false from what I'm learning.

    Now the question is, can/should I configure Apache to run in 32 bit mode or should I just get CF9 64 bit and install it?

    Community Expert
    November 24, 2010

    Download the 64-bit version. There's no reason to stick with 32-bit on OS X (or other platforms either, usually).

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

    GSA Schedule, and provides the highest caliber vendor-authorized

    instruction at our training centers, online, or onsite.

    Read this before you post:

    http://forums.adobe.com/thread/607238

    Dave Watts, Eidolon LLC