CF Start Up on Snow Leopard

View: New views
3 Messages — Rating Filter:   Alert me  

CF Start Up on Snow Leopard

by John Barrett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I had to re install Snow Leopard, as it got wiped out after trying to change the permissions. So I did a re install and now I get this message on start up:
http://twitpic.com/hkg0e

Is this fixable or will I need to re install ColdFusion Multi Server to get this working?
I finally got MySQL working, and now after the re install of the OS I have CF issues. I lost the J Run settings to apache as well, but I know how to get that working again.

Has anybody done a fresh install of ColdFusion on Snow Leopard?

Is it just me, or is getting Snow Leopard and a CF dev machine set up very frustrating?

Thanks so much for any advice,
John

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-mac/message.cfm/messageid:6099
Subscription: http://www.houseoffusion.com/groups/cf-mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48

Re: CF Start Up on Snow Leopard

by Ulf Unger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi John,

Here is a copy of my CF8 Instance plist File, thats in the folder /
Library/LaunchDaemons:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
">
<plist version="1.0">
<dict>
         <key>Label</key>
         <string>CFMX (Instance CF8)</string>
         <key>ProgramArguments</key>
         <array>
                 <string>/Applications/JRun4/bin/jrun</string>
                 <string>-start</string>
                 <string>cfusion</string>
         </array>
         <key>RunAtLoad</key>
         <true/>
</dict>
</plist>

That will launch CF8 on every system boot, but be careful: this will  
run CF8 as "root" which of course should only be used on developer  
machines without external access. If you would like to run it with a  
different user (maybe the same like Mac OS X build in Apache) you can  
add the following keys (after "<string>CFMX (Instance CF8)</string>:

<key>UserName</key>
<string>USERNAME</string>

Just replace USERNAME with the one, you like to run Coldfusion, this  
user must have read and write access to /Application/JRun (to save the  
generated class files).

Personally I run Coldfusion as root, because I don't allow external  
access to my developer machine and it runs fine with this settings.

If you change something in Coldfusion (hotfixes, new libraries in  
Classpath) you can start and stop Coldfusion without restarting Mac OS  
X using launchctl (your have to use sudo to run that smoothely).

Stopping Coldfusion: sudo launchctl unload /Library/LaunchDaemons/
PLISTFILENAME

Starting Coldfusion: sudo launchctl load /Library/LaunchDaemons/
PLISTFILENAME.

Thats it.

I hope this solves your problem.

Greetings,

Ulf


Am 13.09.2009 um 10:34 schrieb John Barrett:

>
> I had to re install Snow Leopard, as it got wiped out after trying  
> to change the permissions. So I did a re install and now I get this  
> message on start up:
> http://twitpic.com/hkg0e
>
> Is this fixable or will I need to re install ColdFusion Multi Server  
> to get this working?
> I finally got MySQL working, and now after the re install of the OS  
> I have CF issues. I lost the J Run settings to apache as well, but I  
> know how to get that working again.
>
> Has anybody done a fresh install of ColdFusion on Snow Leopard?
>
> Is it just me, or is getting Snow Leopard and a CF dev machine set  
> up very frustrating?
>
> Thanks so much for any advice,
> John
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-mac/message.cfm/messageid:6100
Subscription: http://www.houseoffusion.com/groups/cf-mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48

Re: CF Start Up on Snow Leopard

by John Barrett-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
Well I ran into more issues again, I had to wipe out everything and  
install Snow Leopard from scratch(as you would on a new machine), as I  
really screwed up the permissions.
All is great with the machine, but when I tried to run the installer  
for CF 8 64 bit, I got the error saying that I was not on a 64 bit  
machine, after some headaches I tried to ColdFusion 9 64 bit beta  
installer and it installed great, and starts up on system init. I  
could not be happier`-`

The only weird thing is that I install the 64 bit of MySQL but it says  
that it is the 32 bit version in the preference plane. Strange maybe  
but it works with ColdFusion so that is cool, just strange.
Thanks so much for your help,
John


On Sep 12, 2009, at 11:36 PM, Ulf Unger wrote:

>
> Hi John,
>
> Here is a copy of my CF8 Instance plist File, thats in the folder /
> Library/LaunchDaemons:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
> ">
> <plist version="1.0">
> <dict>
>         <key>Label</key>
>         <string>CFMX (Instance CF8)</string>
>         <key>ProgramArguments</key>
>         <array>
>                 <string>/Applications/JRun4/bin/jrun</string>
>                 <string>-start</string>
>                 <string>cfusion</string>
>         </array>
>         <key>RunAtLoad</key>
>         <true/>
> </dict>
> </plist>
>
> That will launch CF8 on every system boot, but be careful: this will
> run CF8 as "root" which of course should only be used on developer
> machines without external access. If you would like to run it with a
> different user (maybe the same like Mac OS X build in Apache) you can
> add the following keys (after "<string>CFMX (Instance CF8)</string>:
>
> <key>UserName</key>
> <string>USERNAME</string>
>
> Just replace USERNAME with the one, you like to run Coldfusion, this
> user must have read and write access to /Application/JRun (to save the
> generated class files).
>
> Personally I run Coldfusion as root, because I don't allow external
> access to my developer machine and it runs fine with this settings.
>
> If you change something in Coldfusion (hotfixes, new libraries in
> Classpath) you can start and stop Coldfusion without restarting Mac OS
> X using launchctl (your have to use sudo to run that smoothely).
>
> Stopping Coldfusion: sudo launchctl unload /Library/LaunchDaemons/
> PLISTFILENAME
>
> Starting Coldfusion: sudo launchctl load /Library/LaunchDaemons/
> PLISTFILENAME.
>
> Thats it.
>
> I hope this solves your problem.
>
> Greetings,
>
> Ulf
>
>
> Am 13.09.2009 um 10:34 schrieb John Barrett:
>
>>
>> I had to re install Snow Leopard, as it got wiped out after trying
>> to change the permissions. So I did a re install and now I get this
>> message on start up:
>> http://twitpic.com/hkg0e
>>
>> Is this fixable or will I need to re install ColdFusion Multi Server
>> to get this working?
>> I finally got MySQL working, and now after the re install of the OS
>> I have CF issues. I lost the J Run settings to apache as well, but I
>> know how to get that working again.
>>
>> Has anybody done a fresh install of ColdFusion on Snow Leopard?
>>
>> Is it just me, or is getting Snow Leopard and a CF dev machine set
>> up very frustrating?
>>
>> Thanks so much for any advice,
>> John
>>
>>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-mac/message.cfm/messageid:6104
Subscription: http://www.houseoffusion.com/groups/cf-mac/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.48