Version 71.1 by Philippe Rabier on 2012/12/05 12:05

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 == Configure launchd ==
47
48 After configuring Apache, continue to use the terminal as you did in the previous step and configure launchd to to let the wotaskd (and the javamonitor if you want) start automatically.
49
50 {{code title="Install launchd tasks to keep WebObjects running always"}}
51
52 cd /Library/LaunchDaemons
53 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
54 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist
55
56
57 NOTE: These two plists point to the Apple provided JavaMonitor and wotaskd that are in /System/Library/WebObjects/JavaApplications/.  
58 If you are using the Wonder versions and placed them in /Library/WebObjects/JavaApplications/ then you will need to edit these files.
59
60 launchctl load com.apple.webobjects.wotaskd.plist
61
62 {{/code}}
63
64 If you are going to run WOMonitor on this machine, then do the following:
65
66 {{code title="(Optional) Permanently start the WOMonitor app"}}
67
68 launchctl load com.apple.webobjects.womonitor.plist
69
70 {{/code}}
71
72 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 :-)
73
74 == ==