On Jun 1, 2009, at 9:21 AM, Sacha Michel Mallais wrote:

On May 31, 2009, at 10:43 PM, Jurgen Weber wrote:

We have introduced a new Linux host into our WebObjects deployment environment, I login to JavaMonitor and set it up as a new host using a private name I have put into /etc/hosts on all 3 machines, all 3 machines can telnet to all 3 machines on port 1085 without issue using these host names. The host detects and I now have 3 hosts. This new host is just a container for WOApp instances so Apache is not installed. When looking at the hosts view you can hit the "yes" button and view the config. Everything looks good.

I then go into the application and add a new instance. Once I start this new instance nothing happens, you can see the icon in java monitor trying but looking at the process list of the new host nothing has happened, the application has not started.

As mentioned all 3 machines have had their /etc/hosts file set exactly the same, and only host names are used. The other two machines which we having been using for years in this configuration have been working without issue. Some other things of note are:

the two current machines run FreeBSD 7.0-RELEASE, running java version "1.6.0_07"
the new machine is CentOS-5.4, running java version "1.6.0_13"
Running WebObjects version 5.4.3
the 3 machines are in their own physical private network and communicate to each other directly with no firewall restrictions on this network. /tmp/WebObjects.log shows all 3 hosts are reading in their configuration correctly.

To me it looks like that the wotaskd on the new host can not launch the instance, this says to me that it does not have permissions or it cna not write to a log file or anything. I have checked everything, and everything seems to be in order in this regard.


Have you edited the Apache adaptor config to include the new machine on the WebObjectsConfig line? You'll need to restart Apache after.

That would affect the ability to reach the apps, but wotaskd should still be able to start them. I think.


Somethings to try:
- add WOHost=<host name> to the Properties file in wotaskd.woa/ Contents/Resources on each machine - add WOHost=<host name> to the app launch params for each machine (instance specific)
- verify the permissions again: 
http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=66181
- enable logging from wotaskd: 
http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=41413
- I thought there was an (undocumented?) parameter to debug wotaskd, but I can't locate it now.


Chuck




sacha


--
Sacha Michel Mallais             Senior Señor / El Presidente
Global Village Consulting Inc.   http://www.global-village.net/
PGP Key ID: 7D757B65             AIM: smallais
Any sufficiently advanced satire is indistinguishable from reality.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects- dep...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net

This email sent to ch...@global-village.net


--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to