Wiki source code of Programming__WebObjects-Web Applications-Deployment-Mac OS X Server
Version 61.1 by David Holt on 2010/07/26 16:31
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Deployment Installation on Mac OS X 10.6 (Snow Leopard) = | ||
2 | |||
3 | == Install WebObjects Using Apple's Installer == | ||
4 | |||
5 | Install WebObjects using the [[Apple WebObjects 5.4.3 Installer dmg>>http://support.apple.com/kb/DL688]] if you want "standard" install paths. Make sure you install "WebObjectsRuntime.pkg" which is in the "Packages" directory of the .dmg. | ||
6 | |||
7 | 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. | ||
8 | |||
9 | {{code title="Replace the apache adaptor with the Snow Leopard one"}} | ||
10 | |||
11 | sudo -s | ||
12 | |||
13 | cd /System/Library/WebObjects/Adaptors/Apache2.2 | ||
14 | mv mod_WebObjects.so mod_WebObjects.so.obsolete | ||
15 | curl -C - -O http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so | ||
16 | |||
17 | {{/code}} | ||
18 | |||
19 | {{code title="Configure Apache to use the WebObjects Adaptor"}} | ||
20 | |||
21 | cd /etc/apache2 | ||
22 | cp httpd.conf httpd.conf.backup | ||
23 | echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf | ||
24 | apachectl restart | ||
25 | |||
26 | {{/code}} | ||
27 | |||
28 | {{code title="Install launchd tasks to keep WebObjects running always"}} | ||
29 | |||
30 | cd /Library/LaunchDaemons | ||
31 | curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist | ||
32 | curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist | ||
33 | |||
34 | launchctl load com.apple.webobjects.wotaskd.plist | ||
35 | |||
36 | {{/code}} | ||
37 | |||
38 | If you are going to run WOMonitor on this machine, then do the following: | ||
39 | |||
40 | {{code title="(Optional) Permanently start the WOMonitor app"}} | ||
41 | |||
42 | launchctl load com.apple.webobjects.womonitor.plist | ||
43 | |||
44 | {{/code}} | ||
45 | |||
46 | If you have problems or further question try the tips here: {{color value="#003366"}}[{{/color}}Debugging wotaskd and JavaMonitor{{color}}|WO:Debugging wotaskd and JavaMonitor]{{/color}}, if that still doesn't give you the clues you need, ask on the wo-deploy mailing list :-) | ||
47 | |||
48 | == Install WebObjects using the mDimension Installer == | ||
49 | |||
50 | Install the Snow Leopard apache adaptor from mdimension | ||
51 | |||
52 | [[http://webobjects.mdimension.com/wolips/WOInstaller.jar]] | ||
53 | |||
54 | [[http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so]] |