Last modified by Aaron Rosenzweig on 2012/10/18 13:08

From version 25.1
edited by David Holt
on 2008/11/20 19:33
Change comment: There is no comment for this version
To version 30.1
edited by Ramsey Gurley
on 2009/10/24 15:03
Change comment: Apache development

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dholt
1 +XWiki.ramsey
Content
... ... @@ -27,9 +27,9 @@
27 27  Confirm that apache.conf also includes:
28 28  WebObjectsConfig http:~/~/localhost:1085 10
29 29  
30 -3. Add the "WOHost localhost" to the properties file in wotaskd (/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties)
30 +3. Add the launchd plist files necessary to start monitor and wotaskd during system startup to your /System/Library/LaunchDaemons/ directory. If you are using WO 5.4.x you can probably find the plists at /Developer/Examples/JavaWebObjects/Deployment/launchd/ If you cannot find them there, you can find instructions to produce them here: [[WO 5.4 Getting Started]] If you do not specify WOHost in your plist, you will need to add the "WOHost=localhost" to the properties file in wotaskd (/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties)
31 31  
32 -4. Change permissions of the two lauchdaemons to **exactly** what is written in the wiki (I think they are created by default now with WO 5.4.3, if not, create the files as described in [[WO 5.4 Getting Started]])
32 +4. Change permissions of the launch daemon plists for wotaskd and monitor to **exactly** what is written in the wiki
33 33  644 system/wheel/everyone
34 34  
35 35  5. Set your launch parameters in your application:
... ... @@ -39,7 +39,8 @@
39 39  --WOAdaptorURL http:~/~/localhost/cgi-bin/WebObjects
40 40  --WOPort 5555
41 41  
42 -6. Restart Apache
42 +6. Update mod//WO
43 +You will need to replace your mod//WebObjects.so located at /System/Library/WebObjects/Adaptors/Apache2.2/mod//WebObjects.so with the appropriate version of [[mod//WebObjects//>>http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/]] This will allow you to use SSL and solves a lot of problems where pages return **No instance available** errors. Make note of the original file's permissions and duplicate them on the replacement. Once you do this, restart Apache.//
43 43  
44 44  7. Load the LaunchDaemons. Make sure the filenames of the plists are the same as the module you're loading. I know this seems obvious, but it appears that the filenames have changed over time from "com.apple.webobjects.womonitor.plist" to "com.apple.womonitor.plist". The wiki calls for the loading of a module named "com.apple.webobjects.womonitor.plist" (notice the extra **webobjects**). You may not load the modules if you use the wiki instructions on the command line and don't notice the naming difference of the files.
45 45