• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: App not starting using 2 servers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App not starting using 2 servers


  • Subject: Re: App not starting using 2 servers
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 02 Jul 2014 21:12:22 +0000
  • Thread-topic: App not starting using 2 servers

Hi Gino,

Please keep messages on the list.

On 2014-07-02, 2:05 PM, "Gino Pacitti" wrote:

Hi Chuck
Could it really come down to the reverse lookup?

The domain is resolving to the IP address but the reverse is not… But I will get a PTR record set up to check.

Yes, it can come down to reverse lookup.  WO and wotaskd are unusually particular about this.


Another funny thing is that the config information of the SiteConfig.xml is lost on Server1 on server restart or WOMonitor restart…  Am I right to have the host and adaptor set to be on Server 2 and not Server 1?

I am not sure what you mean.  Both servers should be setup as hosts in Monitor.  If the SiteConfig.xml is actually getting written to the file system on that server and then over written, that would indicate a JavaMonitor / wotaskd communication problem… I think.  Make sure that you don’t accidentally have Monitor running on both machines.

Chuck



Gino
On 2 Jul 2014, at 21:04, Chuck Hill <email@hidden> wrote:

Hi Gino,
On 2014-07-02, 11:08 AM, "Gino Pacitti" wrote:
Hi Chuck I tried localhost in the Properties file of wotaskd on both machines only to get an error message that WOMonitor could not contact the wotaskd on the second server.
Localhost is best used only on your development machine.  You want the fully qualified domain name and it needs to reverse-resolve correctly (e.g. Needs to be a canonical name).
I then set them to the IP address for each server and that seemed to allow WOMonitor to continue to talk to the second server.
I also changed the ServerName property of apache2.2 to the IP address on each machine…
That is not relevant to this problem.
I did try and launch again and I got this:
logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Application 'Daysout-1' on apps.daysout.co.uk:2001 stopped running at 2014-07-02 18:05:56 Etc/GMT.
The app's current state was: STARTING.
The app did not respond for 63530244236seconds which is greater than the allowed threshold of 120000 seconds (Lifebeat Interval * WOAssumeApplicationIsDeadMultiplier) so it is assumed to be dead.
The last successful communication occurred at: 1-04-25 00:00:00 Etc/GMT. This may be the result of a crash or an intentional shutdown from outside of wotaskd
I expect that is caused by name / IP confusion between the machines.
Have you reviewed this?
http://wiki.wocommunity.org/pages/viewpage.action?pageId=7143530
Chuck
On 2 Jul 2014, at 18:42, Chuck Hill <email@hidden> wrote:
Lots of details here
http://wiki.wocommunity.org/dosearchsite.action?queryString=WOHost
On 2014-07-02, 10:09 AM, "Gino Pacitti" wrote:
Are you referring to Property files Chuck ?
Perhaps you can point me in the right direction?
G
On 2 Jul 2014, at 18:04, Chuck Hill <email@hidden> wrote:
How have you set WOHost for wotaskd, monitor, and the apps?
Chuck
On 2014-07-02, 9:52 AM, "Gino Pacitti" wrote:
I have WOMonitor and WOTaskd running on server1 and only WOTaskd running on server 2 but cannot get the app on Server 2 to start using WOMonitor...
Tying a different configuration with WOMonitor and WOTaskd on Server 1
I can get server 1 to run the app and all is well if I us server 1 as the Host and Adaptor location.
And again with a different configuration with WOMonitor and WOTaskd on Server 2
I can get server 2 to run the app and is well if I use server 2 and the Host and Adaptor location…
But when I try to use Server1 as  the Load balancer with WOMonitor and WOTaskd using Server 2 as the host I cannot get the app to start from Monitor ?
I can start it by command line … I have looked around but don’t seem to find anything definitive as to what the issue can be…
Any help?
Gino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: App not starting using 2 servers
      • From: Gino Pacitti <email@hidden>
References: 
 >App not starting using 2 servers (From: Gino Pacitti <email@hidden>)
 >Re: App not starting using 2 servers (From: Chuck Hill <email@hidden>)
 >Re: App not starting using 2 servers (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: App not starting using 2 servers
  • Next by Date: Re: App not starting using 2 servers
  • Previous by thread: Re: App not starting using 2 servers
  • Next by thread: Re: App not starting using 2 servers
  • Index(es):
    • Date
    • Thread