Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jun 17, 2009 Jun 17, 2009

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

4.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2009 Jun 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 17, 2009 Jun 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2009 Jun 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 18, 2009 Jun 18, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 18, 2009 Jun 18, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

This is what I got

Beta-4:~ Colin$ echo $JAVA_HOME

Beta-4:~ Colin$

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 18, 2009 Jun 18, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

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$

The file path is Applications/ColdFusion8/runtime/bin/jvm.config
How do I change the jvm.config

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

I have opened it in text edit

Port 8300

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

http://127.0.0.1:8500/CFIDE/administrator/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 18, 2009 Jun 18, 2009

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)?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 18, 2009

8300 was what I thought it was but it is 8500. Nothing has changed. The line of code was java.home=

I made the changes but the problem exists, even after a re-boot.

I've attached the config

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 18, 2009 Jun 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2009 Jun 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 19, 2009 Jun 19, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 19, 2009 Jun 19, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 19, 2009 Jun 19, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2009 Jun 20, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2009 Jun 20, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2009 Jun 20, 2009
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources