For the record, this has been solved. How?
1. I added a -WOHost parameter to the application, even though there is only one active ip interface (if we don't include: localhost on lo0, gif0.) The below Google info, i.e. changing /System/Library/WebObjects/Adaptors/Apache/apache.conf by changing the WebObjectsConfig line from http://localhost:1085 to http://1.2.3.4:1085 I don't think is necessary, as the adaptor and wotaskd communicate fine using IP6 over localhost. 2. I patched /System/Library/WebObjects/JavaApplications/wotaskd.woa/w otaskd and then copied it to: /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/ MacOS/wotaskd Toward the end of wotaskd I inserted the following lines: # wait untill things boot all the way up /usr/sbin/ipconfig waitall /bin/sleep 10 # # Launch the application. # Things now reboot correctly. I would guess this is the most important change. The below, http://lists.apple.com/archives/webobjects-deploy/2008/Jun /msg00043.html, also suggests putting the same lines of code in Javamonitor as well, for good measure. I didn't do that, but if reboots cause more problems, I will. On Jun 9, 2010, at 11:42 AM, Chuck Hill wrote: There was a problem. It was starting the WO services before the networking had fully initialized, IIRC. Cliff Tuel posted some wait logic for one of the scripts, but I don't recall what or where or where to find it now. Ah, right. Google. Here: http://lists.apple.com/archives/webobjects-deploy/2008/Jun/msg000 43.html Chuck On Jun 9, 2010, at 8:24 AM, Simon wrote: didn't 10.4 have an issue with starting wo / apache in the wrong order ? try stopping webserver, then stop wo, then start webserver, then start wo. or the other way round, it's been a while since i played with a 10.4 server :-) simon On 8 June 2010 19:42, <gsbr...@umich.edu> wrote: Hi, When I reboot a 10.4.11 server, wotaskd and monitor? start, but wotaskd can't start my webapp. The symptoms are it seems like it is trying to start, and womonitor shows that it is trying. The app's log file showed it loaded once, and then the log ends. Of course, it does not start, and I have to restart wotaskd, then I can start the app. Now I noticed the plist for womonitor did not have the key Disabled set to <false/>, but womonitor always seemed to be running. ( I fixed the womonitor plist.) >From what Mr. Google showed me, I may need to have a -WOHost parameter. I have 2 ethernet ports; en0, which is not configured, and en1, which is configured. Maybe it tries on en0? Also, the /System/Library/WebObjects/Adaptors/Apache/apache.conf may need to be changed, as per the below info. If /System/Library/WebObjects/Adaptors/Apache/apache.conf is set at the factory default of "localhost" and one has 2 ip interfaces, how does it know which ip address to use? There is also the option of setting a /Library/WebObjects/Configuration/WOConfig.xml file with the application name, port, host, etc. That may help. Does anybody have any experience in this? Thanks in advance. Google showed me the following: 1/ Update the Adaptor configuration file located in : /System/Library/WebObjects/Adaptors/Apache/apache.conf by changing the WebObjectsConfig line from http://localhost:1085 to http://1.2.3.4:1085 using the real IP of the computer This problem was detected by logging the WOAdaptor comportement. To start the log do : sudo touch /tmp/logWebObjects after that it's possible to look at the WebObjects.log in /tmp/ 2/ In System/Library/LaunchDaemons/ on : com.apple.womonitor.plist and com.apple.wotaskd.plist I have added a new Parameter -WOHost=1.2.3.4 using the same IP than in the apache.conf file 3/ when I created my host in JavaMonitor I've done it with the same IP than above 4/ When I created an Application I've added the -WOHost=1.2.3.4 in the "Additional Arguments" textarea for the "New Instance Defaults" for the Application -- gsbr...@umich.edu _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/simon%40pot wells.co.uk This email sent to si...@potwells.co.uk _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40glo bal-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects Greg Brown gsbr...@umich.edu -- gsbr...@umich.edu
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com