Skip to main content
Known Participant
June 17, 2009
Question

ColdFusion 8 Fails to start after update Java for Mac OSX 10.5 Update 4

  • June 17, 2009
  • 3 replies
  • 5255 views

I have been using ColdFusion on a Mac for years. Now CF fails to start after I updated Java for Mac OS X 10.5 Update 4. I usually start by typing in the terminal window sudo /Applications/ColdFusion8/bin/ColdFusion start.

There is a crash report but I don't know how to read it. See attached.

Please help, I need this working for my job.

Thanks...Colin

    This topic has been closed for replies.

    3 replies

    Inspiring
    June 18, 2009

    The config file is still queued but, in the meantime (and if you haven't already), change the jvm.config to read:

    java.home = /usr/java

    Save and try to start CF.

    Known Participant
    June 18, 2009

    Dear Craig,

    The file I sent you has the change made to it, however, it still will not start.

    I have to go to a meeting and will be away for a couple of hours. I really appreciate your help with this, I will check back later.

    Thanks a lot for this.

    Colin

    Known Participant
    June 20, 2009

    Thanks Craig, I've been using CF on Mac since 2002 and I'm quite aware of all the hoops you have to jump through. Mind you, it's a lot easier now than it used to be. Thanks for your help with this, I really appreciate the effort. I'll do some digging of my own and check back later.

    C


    OK... after a lot of messing around, I uninstalled CF 8. Tried to install 64-bit on my machine — seeing that it is an Intel Core 2 Duo. However, the installer insists that it is a 32-bit so I could not install the 64-bit version.

    Plan B — install 32-bit version

    Successfully installed CF 8 32-bit on my Macbook 2.4 GHz Intel Core 2 Duo. Everything is great. Waisted far too much time trying to fix what was running previously. Looking back over the years, I have spent far too much time "dicking" around only to reinstall and have it all working perfectly.

    My Java settings prior to installing 32-bit was Java SE 64-bit. I have not changed these settings. CF is working OK for now, if I run into any problems I will post back in this forum.

    Thanks Craig for your help in trying to resolve this issue.

    Best wishes... C

    Inspiring
    June 17, 2009

    The odds are pretty high CF is not digging the new JVM being used. From the looks of your crash/error report, CF is still using Java 5 (1.5.0_19 I forget the exact number of the new Java 5 version).

    You may want to update CF's JVM to Java 6 (1.6.0_13). This is typically done by modifying the jvm.config. I'm not sure of the exact location when you install CF as a standalone server on a Mac. I run CF8 on top of JRun on my Mac, so my stuff is in /Applications/JRun4/servers/and/so/on). It should be somewhere in /Applications/ColdFusion8/bin or lib.

    Before you change the JVM, it's probably good to get some specific details from your Mac on the JVM in play:

    1. Open Terminal (/Applications/Utilities)
    2. Type: java -version
    3. Note the results (1.6.0_13 or something like that)
    4. Type: which java
    5. Note results (probably /usr/java)
    6. Open Java Preferences (somewhere in the /Applications/Utilities folder -- could be set alone or inside a folder called Java, depends on your version)
    7. This will tell you the order of usage for the versions of Java on your computer.

    When you can, and if you're still having the issue, please post back the JVM/Java details and I'd be happy to help troubleshoot from there.

    Known Participant
    June 17, 2009

    Thanks for the reply. Here is my terminal info.

    Last login: Wed Jun 17 15:50:08 on console

    Beta-4:~ Colin$ java -version

    java version "1.5.0_19"

    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)

    Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)

    Beta-4:~ Colin$ java -version

    java version "1.5.0_19"

    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)

    Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)

    Beta-4:~ Colin$ which java

    /usr/bin/java

    Beta-4:~ Colin$

    Java VM details:

    Applet plugin

    JavaVM [J2SE 5.0, 1.5.0_19/i386 (com.apple.javajdk15, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home)]
    JavaVM [Java SE 6, 1.6.0_13/x86_64 (com.apple.javajdk16, /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home)]
    JavaVM [J2SE 5.0, 1.5.0_19/x86_64 (com.apple.javajdk15, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home)]
    JavaVM [J2SE 1.4.2, 1.4.2_21/i386 (com.apple.javajdk14, /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home)]
    Java Applications
    JavaVM [J2SE 5.0, 1.5.0_19/i386 (com.apple.javajdk15, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home)]
    JavaVM [Java SE 6, 1.6.0_13/x86_64 (com.apple.javajdk16, /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home)]
    JavaVM [J2SE 5.0, 1.5.0_19/x86_64 (com.apple.javajdk15, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home)]
    JavaVM [J2SE 1.4.2, 1.4.2_21/i386 (com.apple.javajdk14, /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home)]
    Thanks for your help.... Colin
    Participant
    June 18, 2009

    I am also running build 1.5.0_19-b02-304 with the same results. You mentioned updating ColdFusions JVM to 1.6 or at least to a different number - can you explain how to do that? I am stuck on my primary development machine unable to start the existing CF or even install a new one. When I try to install a new 32bit version I get the message that my apache2 is 64 bit, and when I install the 64bit version it says my machine isn't a 64 bit machine.

    Kai

    Participant
    June 17, 2009

    I second that. After installing the Java Update this morning CF won't start up anymore. Please help - there is NO information on this anywhere.

    Kai