Oct 28
If you're a Mac person and haven't already installed ColdFusion 8 on 10.5 (Leopard), be aware that updating Java will cause the ColdFusion 8 (64-bit OS X) installer to fail. The problem appears to be that the Java version "1.5.0_16" is unrecognized by the installer as a supported 64-bit version of Java. Note that CF8 will run on Java version 1.5.0_16 for Mac, but it will not install to it.
Oct 29, 2008 at 10:42 PM OH! That is what is up on our new install. How do we back out and install the older version in OSx??
Nov 6, 2008 at 3:16 PM I actually have an open incident with Adobe about this, but they're very slow to respond and it now looks like they've sent my case over to India so communication will be delayed even longer.
Has anyone got any ideas on how to get the 64 bit of CF installed on this version of Java?
Nov 7, 2008 at 5:49 PM I found the cfinstall_err file that the installer generated, here is what it says:
***start***
IAResourceBundle: create resource bundle: en
__________________________________________________________________________
InstallAnywhere 8.0.1 Enterprise
__________________________________________________________________________
Wed Nov 05 11:46:11 MST 2008
Free Memory: 12027 kB
Total Memory: 15744 kB
No Arguments
java.class.path:
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/Execute.zip
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/IAClasses.zip
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/installscript.zip
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java
ZGUtil.CLASS_PATH:
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/Execute.zip
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/IAClasses.zip
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/installscript.zip
/Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java
sun.boot.class.path:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar
/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar
java.ext.dirs:
/Library/Java/Extensions
/System/Library/Java/Extensions
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext
java.version == 1.6.0_07 (Java 1)
mrj.version == 1040.1.6.0_07-153
java.vm.name == Java HotSpot(TM) 64-Bit Server VM
java.vm.vendor == Apple Inc.
java.vm.version == 1.6.0_07-b06-57
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.6
java.vendor == Apple Inc.
java.vendor.url == http://www.apple.com/
java.class.version == 50.0
java.compiler == null
java.home == /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
java.io.tmpdir == /tmp
os.name == Mac OS X
os.arch == x86_64
os.version == 10.5.5
path.separator == :
file.separator == /
file.encoding == MacRoman
user.name == user
user.home == /Users/user
user.dir == /Users/user/Desktop/downloads
user.language == en
user.region == null
__________________________________________________________________________
Installer: InstallAnywhere 8.0.1 Enterprise Build 3080
__________________________________________________________________________
System's temporary directory = /private/var/folders/32/3274+vX0GLijmxZCpaVp0k+++TI/Cleanup At Startup/
Installer: no 'sea_loc' in working dir, couldn't define $EXTRACTOR_EXECUTABLE$
Loading externalized properties
SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
Exiting with exit code: 1000
***end***
Nov 10, 2008 at 10:36 AM FINALLY!
I got an email from an Adobe engineer this morning (literally - timestamped 1:55AM, remember they're in India, and the only reason I bring that up is because it impacts the ability to communicate, when I finally read the email they're already asleep and we have to wait an entire day for a response....) with the following instructions:
On Nov 10, 2008, at 1:55 AM, Naveen wrote:
Hi Rich,
To resolve this issue follow the steps given below: -
1. Goto /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands
2. All the files in this directory are symlinks to ../Home/bin
3. Remove the symlinks (sudo rm –rf *)
4. Copy all the files from ../Home/bin using commad “sudo cp ../Home/bin/* .” ignore any errors and make sure java executable is copied.
5. Start the installer. Once the installation is complete, the links can be reinstated so that any future updates are not missed. (in the CurrentJDK/Commands directory, remove existing file and run sudo ln –s ../Home/bin/* .)
Please let me know if the information above helps in resolving the issue.
Regards,
Naveen
My respsonse to Naveen:
Hi Naveen-
Thank you for your instructions. It took a few tries but I finally got the installer to run and ColdFusion is finally installed! The UNIX commands are actually rather tricky, especially reading them from the email as spaces definitely play a part in the success or failure of their function.
One question: in step 5 your instructions state to reinstate the links so that future updates are not missed (in the CurrentJDK/Commands directory, remove existing file and run sudo In -s ../Home/bin/* .) Which file are you referring to when you say "remove existing file"? This is the only step I have not yet completed.
Thanks again,
Rich
Now you have to definitely pay attention to the commands that he instructs you to run. First of all, if you aren't aware, you have to be in the Terminal (Applications/Utilities/Terminal). That is where you actually type all of his directed commands. You may actually try to copy and paste where ever possible, since the space characters definitely affect the functionality of the commands. (I have worked with Unix but some people may not have). I made sure to turn on Web Sharing (System Preferences/Sharing/Web Sharing checked) and then proceeded to install the multiserver configuration since I have multiple clients and will hopefully create an instance for each client and not have to worry about framework files (Model Glue, Fusebox, Mach-II xml file collisions, etc.) plus it will make my deployment a whole lot easier as I've re-discovered ".CAR" files (helps in making backups too). Using CF in this manner, on this platform, is new to me, so it's "baptism by fire" but I'm equally as excited as I am relieved to have this installation behind me. You'll notice in my reply to Naveen (the CF engineer) that I'm waiting on his reply to instruct me on how to clean up that last step; as soon as I hear from him I will post.
HTH,
Rich
PS ... and in all fairness to Adobe I suppose, ultimately, the turn around time to fix this issue was actually pretty good. My clients have high expectations from me since I favor and "evangelicize" ColdFusion, so my expectations for the product are equally as high. Besides, it's a pretty healthy check to have to write if you want to buy a license!
Nov 10, 2008 at 2:09 PM Hi Rich,
Thanks for posting this workaround.
Nov 11, 2008 at 10:32 PM Now that I have the install complete, I want to make sure I understand the workflow properly when using the multiserver installation: I want to be able to create a new instance of ColdFusion for each of my client's sites, as some run on ModelGlue, others on Mach-II, one on a screwy version of Fusebox. In order to keep each one separate from the others, are the following notions acceptable:
* Using the Instance Manager in CFAdmin, create a new instance for each site. The Instance Manager asks me for a Server Name and Server Directory, is this how I call the new site's URL and put the site's content, respectively?
* It looks like I'm actually creating a new instance of JRUN each time I create a new instance of CF which runs in JRUN, is this correct?
* How do I reference and view the site's content in a browser? Something like http://ServerName/...? This isn't ringing with me, seems like I'd need to use a port number for this.
Any ideas?
Thanks in advance,
Rich
Nov 12, 2008 at 1:22 AM Rich,
I don't run a multiserver installation. I prefer to setup multiple vhosts with Apache. I suggest you read Mike Brunt's posts on the Alagad blog.
http://www.alagad.com/go/blog?createdBy=mbrunt
Nov 12, 2008 at 2:41 PM I believe this is everything, in order, that you need in order to be able to install and configure 64 bit ColdFusion 801 on Mac OS X 10.5.5. Be careful of spaces, quotes and how you type all of these commands into the Terminal window (Applications>Utilities>Terminal).
1. Goto /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands
2. All the files in this directory are symlinks to ../Home/bin
3. Remove the symlinks (sudo rm –rf *)
4. Copy all the files from ../Home/bin using commad “sudo cp ../Home/bin/* .” ignore any errors and make sure java executable is copied.
5. Start the installer. Once the installation is complete, the links can be reinstated so that any future updates are not missed. (in the CurrentJDK/Commands directory, remove existing file and run sudo ln –s ../Home/bin/* .)
6. Goto /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands and run “sudo rm –rf “ to remove everything from this directory. Then with in the same directory run “sudo ln –s ../Home/bin/* .” This will recreate symlinks so updates are not missed.
Dec 12, 2008 at 10:58 AM I simplified the steps further. All in one terminal window follow these commands:
1. terminal $ cd /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands
2. terminal $ sudo rm –rf *
4. terminal $ sudo cp ../Home/bin/* .
5. Start the Coldfusion installer. Once the installation is complete, the links can be reinstated so that any future updates are not missed.
6. terminal $ sudo rm –rf *
7. terminal $ sudo ln –s ../Home/bin/* .
Dec 31, 2008 at 4:36 AM Paul,
I find it odd that it's the version 1.5.0_16 that's messing this up. My installer was refusing to recognize the JVM too, but I was running Java 1.6.0 instead of 1.5.0, so the problem was the same, and doing the above fixed the issue so I could install just fine.
It's a very strange problem and I don't get why swapping symlinks for copies of the commands would make any difference. It's bizarre. I really hope Adobe get their act together and fix this because it's a weird-ass problem that shouldn't exist in the first place.
For the record, if you hose your JVM like I did at one point, all you have to do is sudo rm -R ./1.6* from the Versions folder and run Software Update. It'll detect the missing files and redeploy the JVM with no issues.
Dec 31, 2008 at 12:34 PM Hi Jared,
The issue applies to both 1.5.0_16 and 1.6.0_07 which are the resultant versions of Java for OS X 10.5 after applying Update 2. I should have mentioned that the error happens for both versions. Thanks for bringing it up.
Oct 1, 2009 at 10:30 AM Thanks Guys!!!! Cheers Simon!