Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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:
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hi, Colin,
My apologies but I forgot to ask 2 questions: (1) What kind of Mac you have (Intel or PowerPC)? (2) What version of CF are you running and what installer did you choose (8 or 8.0.1, 32-bit, 64-bit, etc.)?
To start, try the following:
This may not work (I've had issues with it) but it's technically how it's supposed to work. With the Java Preferences utility, you're visually setting a default JVM (you can do it with commands in Terminal but this is much faster and easier).
If CF still won't start, look for the jvm.config file in your CF application folder (try /Applications/ColdFusion8/bin or /Applications/ColdFusion8/runtime/bin -- the latter is where a jvm.config file is on my machine for a particular version of CF that's installed similar to yours). You can override the JVM in this file but, hopefully, that won't be necessary!
Best,
Craig
Copy link to clipboard
Copied
Dear Craig,
Macbook Pro 2.4GHz Intel Core 2 Duo 4 GB RAM
I'm sure that this is 64-bit
CF 8.0.1 Enterprise Build 3080
I had moved the Java SE 6 to the top in both Plugin and Applications. The
correct version is showing in the terminal window. See below.
Last login: Thu Jun 18 11:27:09 on ttys001
Beta-4:~ Colin$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
Beta-4:~ Colin$
CF will not start. I have the activity monitor open, and when I start CF you
see it in the activity monitor for a few seconds as it starts up. When the
message process is completed in the terminal window CF disappears in the
activity monitor.
Any suggestions?
C
Hi, Colin,
My apologies but I forgot to ask 2 questions: (1) What kind of Mac you have
(Intel or PowerPC)? (2) What version of CF are you running and what installer
did you choose (8 or 8.0.1, 32-bit, 64-bit, etc.)?
To start, try the following:
1. Normally you'd shut CF down first ... but that's not necessary for you
2. Open Java Preferences again
3. Select Java SE 6 and move it (drag) to the top spot in both section (Applet
Plugin and Applications)
4. Open Terminal
5. Type java -version (you should see 1.6.0_13 as the new version)
6. Try to start CF again
This may not work (I've had issues with it) but it's technically how it's
supposed to work. With the Java Preferences utility, you're visually setting a
default JVM (you can do it with commands in Terminal but this is much faster
and easier).
If CF still won't start, look for the jvm.config file in your CF application
folder (try /Applications/ColdFusion8/bin or
/Applications/ColdFusion8/runtime/bin -- the latter is where a jvm.config file
is on my machine for a particular version of CF that's installed similar to
yours). You can override the JVM in this file but, hopefully, that won't be
necessary!
Best,
Craig
Copy link to clipboard
Copied
Dear Craig,
Macbook Pro 2.4GHz Intel Core 2 Duo 4 GB RAM
I'm sure that this is 64-bit
CF 8.0.1 Enterprise Build 3080
I had moved the Java SE 6 to the top in both Plugin and Applications. The correct version is showing in the terminal window. See below.
Last login: Thu Jun 18 11:27:09 on ttys001
Beta-4:~ Colin$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
Beta-4:~ Colin$
CF will not start. I have the activity monitor open, and when I start CF you see it in the activity monitor for a few seconds as it starts up. When the message process is completed in the terminal window CF disappears in the activity monitor.
Any suggestions?
C
Copy link to clipboard
Copied
Hi, Colin,
My multi-tasking is making me forget a few things ... sorry! One more question from the Terminal readings:
In Terminal, type: echo $JAVA_HOME
It should output /usr/java
If it does, we'll try and edit the JVM config file for CF.
Copy link to clipboard
Copied
This is what I got
Beta-4:~ Colin$ echo $JAVA_HOME
Beta-4:~ Colin$
Copy link to clipboard
Copied
This is actually good. The JAVA_HOME variable is not set in your profile and we should be able to edit the jvm.config file to set the right JVM. Find the jvm.config directory in your CF folder (/Applications/ColdFusion8/ and so on).
Look for a line (near the top) that reads:
java.home=/usr/java
It might be java.home=
If so, add /usr/java as above.
Try to start CF. (Another question: do you run CF off port 80, integrated with Apache, or off 8300 or another alternate port?)
Let me know if that works. If not, we can add a JAVA_HOME var to your Mac profile.
@Kai: these same basic approaches should help you, too.
Copy link to clipboard
Copied
When I type the following in the terminal:
Beta-4:~ Colin$ Applications/ColdFusion8/runtime/bin/
-bash: Applications/ColdFusion8/runtime/bin/: No such file or directory
Beta-4:~ Colin$
Copy link to clipboard
Copied
I have opened it in text edit
Port 8300
Copy link to clipboard
Copied
http://127.0.0.1:8500/CFIDE/administrator/
Copy link to clipboard
Copied
Sorry! Meant to note edit with TextEdit !
Just to note, the URL you provided indicates port 8500 but your other post mentioned 8300. Did anything work (CF opening, that is)?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I've tried to get CF up and running this morning, but it still crashes. The crash log is attached if anyone knows how to figure it out. Here's a little snippet of part of the crash log:
Thread 71 crashed with X86 Thread State (32-bit):
eax: 0x0000000f ebx: 0x95e313fe ecx: 0x00001200 edx: 0x940c4286
edi: 0x00104090 esi: 0x00146ee0 ebp: 0xb2445f18 esp: 0xb2445eb0
ss: 0x0000001f efl: 0x00000206 eip: 0x95e31551 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x55da2000
I am thinking of re-installing CF if all else fails.
Thanks... Colin
Copy link to clipboard
Copied
Morning, Colin (well, it's morning where I am!),
I was doing some digging yesterday and I found an interesting known issue with ColdFusion 8 on Mac OS X with configuration and the JVM:
http://www.adobe.com/support/documentation/en/coldfusion/8/releasenotes.pdf
I also fired up CF 8.0.1 yesterday and, while it works with the JVM 1.5.0_19 (from Updater 4), it is not recognizing that my actual default JVM is 1.6.0_13. My other version of ColdFusion sees this change just fine. I'm going to check more on this today because I'm obsessing about it now! If I find anything good, I'll post back.
Ultimately, you may, indeed, need to re-install CF. If you go that route and choose the 64-bit installer, be aware that the 8.0.1 64-bit installer for Leopard has some gotchas. Google for it and you'll get plenty of hits.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I'm glad you had better luck than me. I wasn't able to install the 32
bit version because my apache was apparently 64 bit. The 64 bit
version didn't instAll either so I have spent the last two days
reinstAlling eerything.
That's the last time I am updating Java without testing on another
system first.
Kai
Sent from my iPhone
Copy link to clipboard
Copied
Yes...I know what you mean. Sometimes it is far better to reinstall. If Adobe and Apple address this issue other users will be able to have the benefit of 64-bit CF for development. I'm just glad to have something working on my machine.
Good luck Kai
Find more inspiration, events, and resources on the new Adobe Community
Explore Now