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

Hide last authors
Philippe Rabier 70.1 1 = WebObjects Installation =
Pascal Robert 21.1 2
Kieran Kelleher 35.1 3 == Install WebObjects Using Apple's Installer ==
4
Philippe Rabier 72.1 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.
Kieran Kelleher 35.1 6
Philippe Rabier 70.1 7 == Install WebObjects using WOCommunity resources ==
Pascal Robert 65.1 8
Philippe Rabier 72.1 9 (% style="color: rgb(51,51,51);" %)Download the WebObjects installer then the Snow Leopard apache adaptor
Pascal Robert 65.1 10
Philippe Rabier 72.1 11 (% style="color: rgb(0,109,175);" %)[[http:~~/~~/wocommunity.org/documents/tools/WOInstaller.jar>>url:http://wocommunity.org/documents/tools/WOInstaller.jar||shape="rect"]]
Pascal Robert 65.1 12
Philippe Rabier 72.1 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"]]
Pascal Robert 65.1 14
Philippe Rabier 70.1 15 = Configuration =
Pascal Robert 65.1 16
Philippe Rabier 70.1 17 == Configure Apache ==
18
Philippe Rabier 72.1 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.
pyu 37.1 20
Kieran Kelleher 35.1 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
Philippe Rabier 70.1 26 curl -C - -O http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so
Kieran Kelleher 35.1 27
Theodore Petrosky 74.1 28 {{/code}}
29
Kieran Kelleher 35.1 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
Philippe Rabier 70.1 38 == Configure launchd ==
39
Philippe Rabier 72.1 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.
Philippe Rabier 70.1 41
Kieran Kelleher 35.1 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
Pascal Robert 65.1 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
Kieran Kelleher 35.1 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
pyu 37.1 57 {{code title="(Optional) Permanently start the WOMonitor app"}}
Kieran Kelleher 35.1 58 launchctl load com.apple.webobjects.womonitor.plist
59
60 {{/code}}
61
David Avendasora 76.1 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
Theodore Petrosky 74.1 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