Version 66.1 by Philippe Rabier on 2012/12/05 12:01

Show last authors
1 = WebObjects Installation =
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 == Install WebObjects using WOCommunity resources ==
8
9 {{color value="#333333"}}
10 Download the WebObjects installer then the Snow Leopard apache adaptor
11 {{/color}}
12
13 {{color value="#006daf"}}
14 [http://wocommunity.org/documents/tools/WOInstaller.jar]
15 {{/color}}
16
17 {{color value="#006daf"}}
18 [http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so]
19 {{/color}}
20
21 = Configuration =
22
23 == Configure Apache ==
24
25 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.
26
27 {{code title="Replace the apache adaptor with the Snow Leopard one"}}
28
29 sudo -s
30
31 cd /System/Library/WebObjects/Adaptors/Apache2.2
32 mv mod_WebObjects.so mod_WebObjects.so.obsolete
33 curl -C - -O http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so
34
35 {{/code}}
36
37 {{code title="Configure Apache to use the WebObjects Adaptor"}}
38
39 cd /etc/apache2
40 cp httpd.conf httpd.conf.backup
41 echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf
42 apachectl restart
43
44 {{/code}}
45
46 {{code title="Install launchd tasks to keep WebObjects running always"}}
47
48 cd /Library/LaunchDaemons
49 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
50 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist
51
52
53 NOTE: These two plists point to the Apple provided JavaMonitor and wotaskd that are in /System/Library/WebObjects/JavaApplications/.  
54 If you are using the Wonder versions and placed them in /Library/WebObjects/JavaApplications/ then you will need to edit these files.
55
56 launchctl load com.apple.webobjects.wotaskd.plist
57
58 {{/code}}
59
60 If you are going to run WOMonitor on this machine, then do the following:
61
62 {{code title="(Optional) Permanently start the WOMonitor app"}}
63
64 launchctl load com.apple.webobjects.womonitor.plist
65
66 {{/code}}
67
68 If you have problems or further questions try the tips here: [[Debugging wotaskd and JavaMonitor>>Troubleshooting wotaskd and JavaMonitor on OS X]], if that still doesn't give you the clues you need, ask on the wo-deploy mailing list :-)
69
70 == ==