Complmenting debug info: I set the _Debugging in the wotaskd in the app
servers. It seems they are receiving the commands from Monitor in server .96.
<WorkerThread14>
@@@@@ monitorRequestAction received request from Monitor
[2013-9-4 20:35:47 BRT] <WorkerThread14> @@@@@ monitorRequestAction
requestDict: {commandWotaskd = ( START,
{applicationName = "proxy-loja"; port = 2001; id = 1; hostName =
"10.128.132.97"; } ); }
[2013-9-4 20:35:47 BRT] <WorkerThread14> @@@@@ monitorRequestAction returning
response to Monitor
[2013-9-4 20:35:47 BRT] <WorkerThread14> @@@@@ monitorRequestAction
responseDict: {commandWotaskdResponse = ( {success = true; },
{success = true; } ); }
[2013-9-4 20:35:47 BRT] <WorkerThread14>
@@@@@ monitorRequestAction received request from Monitor
[2013-9-4 20:35:47 BRT] <WorkerThread14> @@@@@ monitorRequestAction
requestDict: {queryWotaskd = "INSTANCE"; }
[2013-9-4 20:35:47 BRT] <WorkerThread14> @@@@@ monitorRequestAction returning
response to Monitor
[2013-9-4 20:35:47 BRT] <WorkerThread14> @@@@@ monitorRequestAction
responseDict: {queryWotaskdResponse = {instanceResponse = ( ); }; }
[2013-9-4 20:35:59 BRT] <main> _checkAutoRecover START
[2013-9-4 20:35:59 BRT] <main> _checkAutoRecover STOP
Every 30 seconds I get these others logs:
monitorRequestAction received request from Monitor
[2013-9-4 20:45:3 BRT] <WorkerThread13> @@@@@ monitorRequestAction requestDict:
{queryWotaskd = "INSTANCE"; }
[2013-9-4 20:45:3 BRT] <WorkerThread13> @@@@@ monitorRequestAction returning
response to Monitor
[2013-9-4 20:45:3 BRT] <WorkerThread13> @@@@@ monitorRequestAction
responseDict: {queryWotaskdResponse = {instanceResponse = ( ); }; }
So, it really seems no problem with communication between javaMonitor in server
.96 and wotaskd in app server .97....
And Only for testing I set the privileges of the app to 777...
Any clues?
Cheers.
Nilton
On 04/09/2013, at 19:46, Nilton Lessa <[email protected]> wrote:
> Hi Pascal,
>
> thank you for your suggestions. I checked the permissions and wotaskd and the
> apps in server 2 and 3 are owned by the same user with the proper execution
> privilege set.
>
> I turned on the _debugingDeployment variable in JavaMonitor and I got the
> following logs after clicked the icon Start.
>
> 2013-09-04 19:05:52,484 DEBUG 49.52 MB/130.11 MB [Thread-26]
> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:47) - !@#$!@#$
> sendRequestToWotaskd creates a WOHTTPConnection
> 2013-09-04 19:05:52,494 DEBUG 50.37 MB/129.25 MB [WorkerThread15]
> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:47) - OUT: {
> "commandWotaskd" = (
> "START",
> {
> "id" = "1";
> "port" = "2001";
> "applicationName" = "proxy-loja";
> "hostName" = "10.128.132.97";
> }
> );
> }
>
> IN: (
> {
> "commandWotaskdResponse" = (
> {
> "success" = "true";
> },
> {
> "success" = "true";
> }
> );
> }
> )
> 2013-09-04 19:05:52,495 DEBUG 51.76 MB/127.86 MB [WorkerThread15]
> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:47) - #####
> getCommandErrors: ()
> 2013-09-04 19:05:52,496 DEBUG 52.62 MB/127.01 MB [Thread-28]
> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:47) - !@#$!@#$
> sendRequestToWotaskd creates a WOHTTPConnection
>
> So it seems the JavaMonitor in .96 server could communiate with the .97
> server and got a success response. Isn't it?
> But the app isn't started.....and no other things happens: deaths, nothing.
> The icon continues up and down....
>
> I noticed also that even existing AUTO-STARTING instances javMonitor don't
> try to initiate it. (I have to click the Start icon to something happens).
>
> Do you have any oter clues what should be the problematic point?
>
> Thank you!
>
> Bests.
>
> Nilton
>
>
> \o/ Nilton Lessa, Moleque de Idéias
> | Phone: 55-21-2710-0178 E-mail: [email protected]
> / \ http://clubedeideias.moleque.com.br
> http://www.moleque.com.br
>
>
>
>
> On 03/09/2013, at 23:05, Pascal Robert <[email protected]> wrote:
>
>> 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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>>
>>> This email sent to [email protected]
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]