berniedolan

Category: ColdFusion

JVM Error Installing 64-bit ColdFusion On Mac

February 16, 2009

The "Java for Mac OS X 10.5 Update 2"  released Sep 24, 2008 appears to have caused an issue with the 64-bit installer for ColdFusion.  I've verified the issue also exists in Update 3 which was just released Feb 12.

The following error occurs just after accepting the license agreement in the installer...

Error:  Unsupported Platform
This installer will run only on 64 bit mac-intel.  PPC and 32 bit mac-intel
are not supported.  If this is a 64 bit mac-intel, make sure 64 bit JDK is
the default JVM.
Close this installer and restart installation using a 32 bit installer.

This forum post describes a way to get around the issue, but it involves deleting and copying files en masse, which is potentially unsafe (IMO), so I wasn't thrilled with the approach.  The below commands will also resolve the issue, and only involves 1 file...

cd /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/
sudo mv java java.BACKUP
sudo cp ../Home/bin/java .

Rerun the installer (which should work now) then when complete, run the following command to restore the symbolic link...

sudo mv java.BACKUP java

You can also just opt to use ColdFusion's 32-bit installer as suggested in the error message, but if you also plan to use Apache you'll need to switch it to run in 32-bit mode as  described here in this technote.

Comments (13)   |   Related Categories: ColdFusion



10 Reasons Why You Should Attend Flex Camp Boston

November 06, 2007

Here's 10 reasons why I think you should register now for Flex Camp Boston:

  1. Two words: Baked Beans. I've said too much.
  2. Interested in how to link Flex and ColdFusion? With folks like Tom Jordahl and Matt Woodward on the agenda, you're sure to get an earful.
  3. The coolest giveaways! Ever. Keep watching Brian's blog for more info coming soon.
  4. It's cheap. Crazy cheap. How can you go wrong for only $10?!?
  5. The awesome list of speakers.
  6. This is NOT a watered down beginner event -- these are intermediate to advanced topics. Check the agenda for more info.
  7. You'll get to meet me in person. Seriously. Whoa.
  8. Boston is a great place to visit -- it's on a Friday, so why not make a weekend out of it? Maybe do some holiday shopping while you're here. It might be too cold for the Swan Boats or the Duck Tours though...
  9. Easy to get to. Bentley College is just off of Rt. 95 / 128 in Waltham, and there will be plenty of free parking.
  10. Members of the 2007 World Champion Boston Red Sox will be there to personally hand out signed copies of MLB officially licensed FlexBuilder.

Okay, that last one is just a blatant lie. But you never know -- David Ortiz might be a closet Flex Developer...Right?

Comments (0)   |   Related Categories: Flex , ColdFusion



Officially Running ColdFusion 8

September 26, 2007

I finally got around to installing CF8 on the VPS I share with Brian at Vivio. I'm happy to report the installation was about as uneventful as I could have hoped for -- absolutely no problems. Vivio uses CentOS for their VPS accounts, so I ran the CF8 Linux installer and just followed the prompts. At one point, it asked me to shut down the CF7 search service. No problem. Just opened another telnet session and...

cd /opt/coldfusionmx7/bin
./cfmxsearch stop

After letting the installation complete, I started CF8. On first start it updated the Apache config to point at the new install (recycling Apache in the process). Next, I logged into the CF administrator and a few clicks later all the CF7 settings had been migrated over and everything was running fine. Better than fine actually -- noticeably faster. Last step was to remove ColdFusion 7 services from the init scripts. I did this using the chkconfig utility...

chkconfig --del cfmx7search
chkconfig --del coldfusionmx7

Done! Ahhhh. I guess those pesky Solaris boxes at work need some love now too... ;)

Comments (0)   |   Related Categories: ColdFusion



Robust Exception Information Misconception?

July 11, 2007

Say THAT five times fast. :) If you tend to bundle detailed exception information for an email or log when your ColdFusion application throws an error, you MAY be under the impression that you need to turn on the "Enable Robust Exception Information" setting in the ColdFusion administrator in order to access things like the 'Java stack trace', 'SQL statement used', etc...         

It just isn't so. Even with this setting turned off, all the info you need is available in cfcatch.

So take Ray's recent advice -- and disable that setting if you have it enabled in production -- you don't want it, you don't need it.

Comments (0)   |   Related Categories: ColdFusion



Free ColdFusion 8 hosting

May 30, 2007

In case you didn't catch it in the press release, HostMySite is offering free trial hosting for CF8...

"The free Scorpio Beta trial will be in effect as long as ColdFusion 8 is in beta. Customers will be notified 30 days prior to discontinuation of the Scorpio Beta trial. HostMySite reserves the right to discontinue the free Scorpio Beta trial at any time with prior notification to Beta plan customers."

What a great idea! Now you really have no excuses -- you don't even have to download anything. The account also includes 600MB of SQL Server space. You can sign up here.

Comments (0)   |   Related Categories: ColdFusion