Last modified by David Avendasora on 2019/02/16 21:47

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>>url:http://support.apple.com/kb/DL688||shape="rect"]] 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 (% style="color: rgb(51,51,51);" %)Download the WebObjects installer then the Snow Leopard apache adaptor
10
11 (% style="color: rgb(0,109,175);" %)[[http:~~/~~/wocommunity.org/documents/tools/WOInstaller.jar>>url:http://wocommunity.org/documents/tools/WOInstaller.jar||shape="rect"]]
12
13 (% style="color: rgb(0,109,175);" %)[[http:~~/~~/wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so>>url:http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so||shape="rect"]]
14
15 = Configuration =
16
17 == Configure Apache ==
18
19 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.
20
21 {{code title="Replace the apache adaptor with the Snow Leopard one"}}
22 sudo -s
23
24 cd /System/Library/WebObjects/Adaptors/Apache2.2
25 mv mod_WebObjects.so mod_WebObjects.so.obsolete
26 curl -C - -O http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so
27
28 {{/code}}
29
30 {{code title="Configure Apache to use the WebObjects Adaptor"}}
31 cd /etc/apache2
32 cp httpd.conf httpd.conf.backup
33 echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf
34 apachectl restart
35
36 {{/code}}
37
38 == Configure launchd ==
39
40 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 WOMonitor if you want) start automatically.
41
42 {{code title="Install launchd tasks to keep WebObjects running always"}}
43 cd /Library/LaunchDaemons
44 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
45 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist
46
47
48 NOTE: These two plists point to the Apple provided JavaMonitor and wotaskd that are in /System/Library/WebObjects/JavaApplications/.  
49 If you are using the Wonder versions and placed them in /Library/WebObjects/JavaApplications/ then you will need to edit these files.
50
51 launchctl load com.apple.webobjects.wotaskd.plist
52
53 {{/code}}
54
55 If you are going to run WOMonitor on this machine, then do the following:
56
57 {{code title="(Optional) Permanently start the WOMonitor app"}}
58 launchctl load com.apple.webobjects.womonitor.plist
59
60 {{/code}}
61
62 If you have problems or further questions try the tips here: [[Debugging wotaskd and JavaMonitor>>doc:documentation.Home.Deployment.Troubleshooting.Troubleshooting wotaskd and JavaMonitor on OS X.WebHome]], if that still doesn't give you the clues you need, ask on the wo-deploy mailing list
63
64 == Script to help deployment on OS X ==
65
66 I am attaching a deployment script here that could help create a OS X deployment environment. This was created in the time frame of Mojave!
67
68
69
70
71
72 {{view-file att--filename="deploy.tar.zip" height="250"/}}
73
74