Programming__WebObjects-Web Applications-Deployment-Mac OS X Server

Version 61.1 by David Holt on 2010/07/26 16:31
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Deployment Installation on Mac OS X 10.6 (Snow Leopard)

Install WebObjects Using Apple's Installer

Install WebObjects using the Apple WebObjects 5.4.3 Installer dmg if you want "standard" install paths. Make sure you install "WebObjectsRuntime.pkg" which is in the "Packages" directory of the .dmg.

Then open terminal and perform the "extra" stuff you need to do to get things complete. you will need to do all this as 'root', hence the sudo s at the start.

Replace the apache adaptor with the Snow Leopard one

sudo -s

cd /System/Library/WebObjects/Adaptors/Apache2.2
mv mod_WebObjects.so mod_WebObjects.so.obsolete
curl -C - -O http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so
Configure Apache to use the WebObjects Adaptor

cd /etc/apache2
cp httpd.conf httpd.conf.backup
echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf
apachectl restart
Install launchd tasks to keep WebObjects running always

cd /Library/LaunchDaemons
curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist

launchctl load com.apple.webobjects.wotaskd.plist

If you are going to run WOMonitor on this machine, then do the following:

(Optional) Permanently start the WOMonitor app

launchctl load com.apple.webobjects.womonitor.plist

If you have problems or further question try the tips here: Unknown macro: color. Click on this message for details.
Debugging wotaskd and JavaMonitorUnknown macro: color. Click on this message for details.
, if that still doesn't give you the clues you need, ask on the wo-deploy mailing list :-)

Install WebObjects using the mDimension Installer

Install the Snow Leopard apache adaptor from mdimension

http://webobjects.mdimension.com/wolips/WOInstaller.jar

http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so