ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  ColdFusion MX on Mac OS X, Part 3
Subject:   yellow dog linux
Date:   2002-09-04 12:44:12
From:   dicklacara
Response to: yellow dog linux

You may not be successful getting CFMX to run on YDL.


Here's what happens in a normal Linux/Unix install on Intel/Solaris:


1) CFMX is Installed (mostly Java, some Platform-specific C++ code
2) JRun is Installed (mostly Java, some Platform-specific C++ code
3) A Platform Specific JVM/JRE is installed


None of the platform specific code will run on a Mac.


With Mac OS X, we use the installed Mac JVM/JRE instead of the one installed by CFMX


We avoid the C++ modules by limiting what we can do (Verity, Apache interface, etc)


We hack a shell script to reflect the above.


We heed to place copies of some things where Mac's Java can find them.


So, I don't think you can use the JVM/JRE installed by CFMX


I don't know what YDL provides in the way of a JVM/JRE (if any) and whether it meets the requirements of CFMX -- not very likely, because the reason that CFMX installs a JVM/JRE is because it can't count on whats available on any of the supported platforms.


You would have to visit the CF Docs at the Macromedia site to see if you can determine what JVM/JRE is needed, and then see if you could find the appropriate system for YDL on the Mac.


Once that is done, then you would need to hack the CFMX-supplied startup shell script /opt/coldfusionmx/bin/coldfusion to do the equivalent of what we did with the /opt/coldfusionmx/bin/coldfusionosx shell script.


You might need to examine /opt/coldfusionmx/runtime/bin/jvm.config for more hints of what needs to be done.


Then you probably need to copy everything we put in /Library/Java/Extensions to a place where the YDL JVM/JRE can find it.


Other than that I have no Ideas,.


But if you are just looking to benchmark CFMX on Mac OS X vs CFMX on Mac YDL, maybe you can save you some effort.


No formal tests, mind you, but CFMX OS X (with no special tuning options set) running on my 800MHz, G4 TiBook with 512 Meg RAM, 40Gig Hard drive consistently outperformed Faster Intel CPUs with more RAD, etc. running RH 7.x according to a recent thread ON CF-Talk. I don't know what other applications the others were running, but I had Apache, CFMX Default Web Server, BBEdit, Mail, Sherlock Browsers, -- all the stuff I normally run.


I would suspect that OS X Unix is far better tuned for the Mac hardware than YDL.


HTH


Dick


1 to 1 of 1
  1. yellow dog linux
    2002-09-05 00:06:22  btickle [View]

    • yellow dog linux
      2002-09-05 00:53:29  dicklacara [View]

1 to 1 of 1