I didnt have that many problems doing this installation but a number of people have asked me about this, both here and on Sean Corfield's blog.
So I have gone through the process and taken pictures along the way so you can work with me :)
Check out the Gallery here
Remember that there is more info on deploying Coldfusion on JRun over at Macromedia
Installing Coldfusion (and JRun) on a MacBook Pro
April 12, 2006 · 23 Comments
Tags: apple · coldfusion · reference
23 responses so far ↓
1 Tink // Sep 22, 2008 at 4:11 PM
Any chance you can get that link working? I've been trying to get CFMX and JRun setup on my MacTel for 4 days now. I've shredded my flat and if i don't get it running soon I'm afraid i will have to start taking it out on my neighbours ;).
2 Mark Drew // Sep 22, 2008 at 4:11 PM
3 Maurice // Sep 22, 2008 at 4:11 PM
i have being trying desperatley for the last week to get jrun 4 to run on macbook so ican get coldfusion to run. I can get to the launcher but when i try to launch the admin server it errors. it says to look for a console log which is not there > the only info i have is that in terminal it says error cannot find jvm" I have java 1.4.2 installed > if you have any ideas how i could fix this please let me know. I have follwed all the guides but cant get the jrun server to work. any advice is greatly appreciated
Thanks
4 Mark Drew // Sep 22, 2008 at 4:11 PM
@Chris, I use a script that changes the JVM so that JRun can use the right one, I shall be posting it as an attachment, it needs to be run from the terminal as ./setJDK to list the versions and then you do ./setJDK <JDK version>. This script was written by Simeon Bateman and I have found it very useful.
@Maurice, to run JRun you dont start the JRun launcher you do a command something like
java -jar /Applications/JRun/lib/jrun.jar -start default
(where default is the server that you deployed coldfusion to)
Once it has started (on whatever port) you can access coldfusion doing something like:
http://localhost:8000/cfusion/cfide/administrator
Hope that helps
5 Maurice // Sep 22, 2008 at 4:12 PM
Thnks for the response. I tried to run it from terminal but it keeps giving me this error except now it says that it canot create the java virtual machine.
I have only just got the Macbook so i have not installed any java updates yet so i assume that there is a jvm installed with osx> if you have any other ideas it would be greatly appreciated. Thanks for the help
6 Jason Calleiro // Sep 22, 2008 at 4:12 PM
7 Haikal // Sep 22, 2008 at 4:12 PM
I just installed CF7 on my G4 powerbook just yesterday, and if I select the "built-in web server" option, I get the exact same result, but with a little less stuffing around.
8 dave // Sep 22, 2008 at 4:12 PM
9 Mark Drew // Sep 22, 2008 at 4:12 PM
The second problem is that I cant get the wsconfig.jar to work to create the webserver connector to Apache. Its something I am looking into, since I absolutely HATE putting all my stuff under the JRun directory. Makes it all messy!
Why do a few people call me Drew? You can call me Mark you know? we are all friends here :) No need to be formal (and if you are going to be formal, thats MR Drew!)
10 Ted // Sep 22, 2008 at 4:12 PM
When I changed my password to simple letters and numbers, it worked. I changed the password back after.
Did this occur for anyone when installing on their MacBook Pro?
11 Jason Calleiro // Sep 22, 2008 at 4:12 PM
12 dave // Sep 22, 2008 at 4:12 PM
I had that same problem on my imac and took it to the apple store and they ended up giving me a new macbook pro. Pretty much chalked it up to a hd problem because they could boot from a external disk and it would install but not mine, although they did a re-install of osx there and first thing installed jrn and it was fine, go figure. I'd take it back to Apple and let them see it do it. They will want to replace the logic board and then they will think its the firmware update but i'd assume its the hard drive.
13 Mark Drew // Sep 22, 2008 at 4:12 PM
/Applications/JRun4/servers/default/cfusion
depending how you deployed it of course.
to start it on a macbook pro for example go to
/Applications/JRun4/lib and run (from the terminal)
./java -jar jrun.jar -start default
14 Jason Calleiro // Sep 22, 2008 at 4:12 PM
Got jrun installed.
Installed coldfusion.
(Followed everything just like the gallery)
Jrun is running fine. Got into the admin area.
Closed out admin window and terminal.
Installed Coldfusion.
Tried starting using java -jar jrun.jar start cfusion and got this error "JRun server "cfusion" does not exist, the server root null was not found. Please verify that the /Applications/JRun4/lib/servers.xml file contains valid data for this server."
Now im stuck.
Let me know if you guys know what is going on.
I'm using a new intel macbook.
15 Mark Drew // Sep 22, 2008 at 4:12 PM
To start it you would then have to say to start the default server rather than cfusion
HTH
16 Jason Calleiro // Sep 22, 2008 at 4:12 PM
I checked in all the folders under jrun and find nothing having to do with coldfusion. all i can find on my harddrive related to cf is in the cfmx7 folder which has..
cfmx-j2ee-readme.txt
cfusion.war
license.txt
Macromedia_ColdFusion_MX_7_InstallLog.log
rds.war
Readme.htm
this is becoming frustrating... but ill keep trying.
let me know what you think.
17 Chris S. // Sep 22, 2008 at 4:13 PM
Any help that you could provide would be greatly appreciated. Thanks!
18 mark // Sep 22, 2008 at 4:13 PM
I've pointed jvm.config at the correct JDK, have also amended the symlink for CurrentJDK to be safe, added D-jmx.invoke.getters=true to the jvm.config args but still no dice. have tried reverting to one of the other two JDKs I have (1.3.1 and 1.4.2) but neither works.
am new to osx, would really appreciate some help
19 Tink // Sep 22, 2008 at 4:13 PM
20 mark // Sep 22, 2008 at 4:13 PM
sudo /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java -server -Djava.awt.headless=true -jar /Applications/JRun4/lib/jrun.jar -start admin
taken from this which would appear to be the daddy of all posts on the subject:
http://blog.webmages.com/geek/cfmx-on-intel-macs/
21 Werbeagentur // Sep 22, 2008 at 4:13 PM
Many Gracias from Germany, to all!
22 Webdesign Agentur // Sep 22, 2008 at 4:14 PM
23 Lucky G // Sep 22, 2008 at 4:14 PM
Many thanks in advance
Lucky
Leave a Comment