Re: Problem with Deployment in CentOS - multiple app servers -
Re: Problem with Deployment in CentOS - multiple app servers -
- Subject: Re: Problem with Deployment in CentOS - multiple app servers -
- From: Pascal Robert <email@hidden>
- Date: Tue, 03 Sep 2013 22:05:26 -0400
Have you checked the firewall? iptables is enabled by default in CentOS 5 and 6. If iptables rules are fine, or iptables is down, the problem is probably file permissions (this is the usual suspect when you have no logs and apps doesn't start).
And no need to run wotaskd on the first server if you don't plan to run apps on it. It won't fix your problem, but it will be more efficient (will use less RAM on server 1).
> Hi,
>
> I am setting a deployment envinroment with 3 servers:
> - server 1 with wotaskd, javaMonitor, WOadaptor and Apache (all Wonder version)
> - server 2 and server 3 with wotaskd and the application
>
> Despite in javaMonitor it states the hosts are OK, and I can telnet them in 1085 ports, in no way I can start the applications. It stays trying forever but never declaring a death...It seems it is not communicatng with server 2 and 3..(no logs in the servers, etc).
>
> I checked and SElinux is disabled in all machines.
>
> I opted for the WOConfig.xml configuration. Here it is of the server 1 (when accessed by browser).
>
> any clues??
>
> Thank you very much in advance!
>
> -------------
> <SiteConfig type="NSDictionary">
> <hostArray type="NSArray">
> <element type="NSDictionary">
> <type type="NSString">UNIX</type>
> <name type="NSString">10.128.132.97</name>
> </element>
> <element type="NSDictionary">
> <type type="NSString">UNIX</type>
> <name type="NSString">10.128.132.98</name>
> </element>
> <element type="NSDictionary">
> <type type="NSString">UNIX</type>
> <name type="NSString">10.128.132.96</name>
> </element>
> </hostArray>
> <applicationArray type="NSArray">
> <element type="NSDictionary">
> <adaptorThreadsMax type="NSNumber">256</adaptorThreadsMax>
> <startingPort type="NSNumber">2001</startingPort>
> <cachingEnabled type="NSString">YES</cachingEnabled>
> <adaptorThreads type="NSNumber">8</adaptorThreads>
> <adaptor type="NSString">WODefaultAdaptor</adaptor>
> <projectSearchPath type="NSString">()</projectSearchPath>
> <statisticsPassword type="NSString"></statisticsPassword>
> <autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
> <listenQueueSize type="NSNumber">128</listenQueueSize>
> <unixPath type="NSString">/opt/Local/Library/WebObjects/Applications/proxy.woa/proxy</unixPath>
> <adaptorThreadsMin type="NSNumber">16</adaptorThreadsMin>
> <name type="NSString">proxy-loja</name>
> <debuggingEnabled type="NSString">NO</debuggingEnabled>
> <phasedStartup type="NSString">YES</phasedStartup>
> <autoRecover type="NSString">YES</autoRecover>
> <notificationEmailEnabled type="NSString">NO</notificationEmailEnabled>
> <lifebeatInterval type="NSNumber">60</lifebeatInterval>
> <sessionTimeOut type="NSNumber">3600</sessionTimeOut>
> <unixOutputPath type="NSString">/opt/Local/Library/WebObjects/Logs/</unixOutputPath>
> <minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
> <timeForStartup type="NSNumber">30</timeForStartup>
> </element>
> </applicationArray>
> <instanceArray type="NSArray">
> <element type="NSDictionary">
> <port type="NSNumber">2001</port>
> <cachingEnabled type="NSString">YES</cachingEnabled>
> <path type="NSString">/opt/Local/Library/WebObjects/Applications/proxy.woa/proxy</path>
> <outputPath type="NSString">/opt/Local/Library/WebObjects/Logs/proxy-loja-1</outputPath>
> <id type="NSNumber">1</id>
> <autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
> <schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
> <debuggingEnabled type="NSString">NO</debuggingEnabled>
> <schedulingEnabled type="NSString">NO</schedulingEnabled>
> <schedulingStartDay type="NSNumber">1</schedulingStartDay>
> <hostName type="NSString">10.128.132.97</hostName>
> <gracefulScheduling type="NSString">YES</gracefulScheduling>
> <autoRecover type="NSString">YES</autoRecover>
> <lifebeatInterval type="NSNumber">60</lifebeatInterval>
> <schedulingInterval type="NSNumber">12</schedulingInterval>
> <schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
> <applicationName type="NSString">proxy-loja</applicationName>
> <schedulingType type="NSString">DAILY</schedulingType>
> <minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
> <schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
> </element>
> <element type="NSDictionary">
> <port type="NSNumber">2001</port>
> <cachingEnabled type="NSString">YES</cachingEnabled>
> <path type="NSString">/opt/Local/Library/WebObjects/Applications/proxy.woa/proxy</path>
> <outputPath type="NSString">/opt/Local/Library/WebObjects/Logs/proxy-loja-2</outputPath>
> <id type="NSNumber">2</id>
> <autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
> <schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
> <debuggingEnabled type="NSString">NO</debuggingEnabled>
> <schedulingEnabled type="NSString">NO</schedulingEnabled>
> <schedulingStartDay type="NSNumber">1</schedulingStartDay>
> <hostName type="NSString">10.128.132.98</hostName>
> <gracefulScheduling type="NSString">YES</gracefulScheduling>
> <autoRecover type="NSString">YES</autoRecover>
> <lifebeatInterval type="NSNumber">60</lifebeatInterval>
> <schedulingInterval type="NSNumber">12</schedulingInterval>
> <schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
> <applicationName type="NSString">proxy-loja</applicationName>
> <schedulingType type="NSString">DAILY</schedulingType>
> <minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
> <schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
> </element>
> <element type="NSDictionary">
> <hostName type="NSString">10.128.132.96</hostName>
> <port type="NSNumber">2001</port>
> <cachingEnabled type="NSString">YES</cachingEnabled>
> <path type="NSString">/opt/Local/Library/WebObjects/Applications/proxy.woa/proxy</path>
> <outputPath type="NSString">/opt/Local/Library/WebObjects/Logs/proxy-loja-3</outputPath>
> <schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
> <schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
> <schedulingEnabled type="NSString">NO</schedulingEnabled>
> <schedulingStartDay type="NSNumber">1</schedulingStartDay>
> <debuggingEnabled type="NSString">NO</debuggingEnabled>
> <schedulingInterval type="NSNumber">12</schedulingInterval>
> <autoRecover type="NSString">YES</autoRecover>
> <lifebeatInterval type="NSNumber">60</lifebeatInterval>
> <applicationName type="NSString">proxy-loja</applicationName>
> <gracefulScheduling type="NSString">YES</gracefulScheduling>
> <schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
> <id type="NSNumber">3</id>
> <schedulingType type="NSString">DAILY</schedulingType>
> <minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
> <autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
> </element>
> </instanceArray>
> <site type="NSDictionary">
> <viewRefreshEnabled type="NSString">YES</viewRefreshEnabled>
> <password type="NSString">77A557C5235C30776146EFDA92A3F11C2EAA</password>
> <viewRefreshRate type="NSNumber">60</viewRefreshRate>
> </site>
> </SiteConfig>
>
>
>
>
> Adaptor Config as sent to Local WOAdaptors - All Running Applications and Instances
>
> <?xml version="1.0" encoding="ASCII"?>
> <adaptor>
> <application name="JavaMonitor-6.1.1-SNAPSHOT">
> <instance id="-56789" port="56789" host="PROXY-MO-IDEIAS001"/>
> </application>
> </adaptor>
>
>
>
>
>
> Adaptor Config as sent to remote WOAdaptors - All Registered and Running Applications and Instances
>
> <?xml version="1.0" encoding="ASCII"?>
> <adaptor>
> </adaptor>
>
>
>
>
> Adaptor Config as written to disk - All Registered Applications and Instances
>
> <?xml version="1.0" encoding="ASCII"?>
> <adaptor>
> <application name="proxy-loja">
> <instance id="1" port="2001" host="10.128.132.97"/>
> <instance id="2" port="2001" host="10.128.132.98"/>
> <instance id="3" port="2001" host="10.128.132.96"/>
> </application>
> </adaptor>
>
>
>
>
> Properties of this wotaskd
>
> The Configuration Directory is: /opt/Local/Library/WebObjects/Configuration/
> Wotaskd is writing WOConfig.xml to disk
> The multicast address is: 239.128.14.2
> This wotaskd is running on Port: 1085
> Wotaskd is NOT responding to Multicast
> WOAssumeApplicationIsDeadMultiplier is 4
>
>
> _______________________________________________
> 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