Re: App not starting using 2 servers
I did look at that page and I do have that configuration yet it does not go into the exact process to get wotaskd and womonitor and the apps to work together in unison. There are lots of commented out values that I don’t seem to have any documentation of how to set in the scenario that I need. i will try the reverse look up though and see if that sorts it out. Gino On 2 Jul 2014, at 22:12, Chuck Hill ch...@global-village.net wrote: Hi Gino, 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 ch...@global-village.net 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 12 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 ch...@global-village.net 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 ch...@global-village.net 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/ginokris%40me.com This email sent to ginok...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list
App not starting using 2 servers
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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: App not starting using 2 servers
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 (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.netmailto:ch...@global-village.net ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: App not starting using 2 servers
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 12 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 ch...@global-village.netmailto:ch...@global-village.net 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 ch...@global-village.netmailto:ch...@global-village.net 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 (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.netmailto:ch...@global-village.net ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: 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 ch...@global-village.netmailto:ch...@global-village.net 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 12 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 ch...@global-village.netmailto:ch...@global-village.net 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 ch...@global-village.netmailto:ch...@global-village.net 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 (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.netmailto:ch...@global-village.net ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com