Deploying on Mac OS X Server

Version 69.1 by David Avendasora on 2010/11/30 06:35
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.

Install WebObjects using the mDimension Installer

Unknown macro: color. Click on this message for details.

Unknown macro: color. Click on this message for details.

Unknown macro: color. Click on this message for details.

Configure Apache for WebObjects

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


NOTE:  These two plists point to the Apple provided JavaMonitor and wotaskd that are in /System/Library/WebObjects/JavaApplications/.  
If you are using the Wonder versions and placed them in /Library/WebObjects/JavaApplications/ then you will need to edit these files.

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 questions try the tips here: Debugging wotaskd and JavaMonitor, if that still doesn't give you the clues you need, ask on the wo-deploy mailing list :-)