Re: WO Apps do not restart automatically after one server upgrade...
Dominique BAILLON <[email protected]> Mon, 10 Apr 2006 16:59:25 +0200
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
Hello, I had the same problem after I upgraded one of our xserve from 10.3.9 to 10.4.6 It seems that something strange happens between restart of the computer to the defined host. On my computer the symptom was that the ethernet adresse for the specified domain name changed between restart. I also traced a problem to the WOAdaptor not being able to connect to http://localhost:1085/ to get the configuration for the server. What I have done to solve the problem was to change my configuration in the following way : 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 I hope that this informations can help you to solve your problem Dominique BAILLON Paris France On 10 avr. 06, at 14:35, Pyramide-Ingenierie Developer List wrote: > Hello, > > We have upgraded one of our Mac OS X Server 10.4.6 server by moving > all its disks (System and Data) from one PowerMac G4 2*867 to a > better PowerMac G4 2*1420... Both have the same hardware > configuration (else the motherboard): more than 1GB RAM on both, > same PCI-SATA card with same disks and same PCI-Ethernet 1Gb card > all moved from the old to the new computer... Main MAC address > changed of course... > > If all the other Mac OS X Server services restarted without any > notice of the move, we were surprised that the WO Applications > hosted on this server did not restart automatically at server start > while they were restarting without any problem in the older machine... > > Using JavaMonitor, the Apps cannot be restarted manually: > JavaMonitor "tries" to launch them after clicking on the start > button but does not succeed... > > I finally had to "delete" the host and recreate it to be able to > manually re-add each application instance and re-launch them... > > After each server restart, the applications do not start unless I > repeat all the operation (delete and re-create host, re-add > instances and launch them)... > > I look at the many logs but found not any clue of what was wrong: > not any trace that the server even tried to launch these apps... I > have just two clues: > - when I have to delete the host, its IP address is not written > under its hostname in JavaMonitor's first column. > - in Server Admin, the date of WebObjects service start is said as > "not available" while it was known and more or less equal to server > start time with the old server... > > Does anyone know what is happening ? Where can I look to get some > info on why the apps do not restart automatically (JavaMonitor > error log or wotaskd error log) ? > > Kind Regards, > > Luc Demarche > _______________________________________________ > WebObjects-admin mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-admin