On Jan 6, 2014, at 4:37 AM, Pascal Robert <[email protected]> wrote:

> From the log:
> 
>> 2014-01-05 22:55:45,541 DEBUG 14.72 MB/19.21 MB [Thread-2] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception 
>> sending lifebeat to wotaskd: java.net.ConnectException: Connection refused
> 
> So I guess wotaskd is running only on one interface (probably localhost) and 
> your apps are trying to start on a different IP.

Yes, I've done this to keep it simple until I can get it going again.  There is 
only one app, and it is also starting on localhost.

> 
> Run this:
> 
>  sudo lsof -P -i tcp:1085
> 

COMMAND PID       USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
java     81 _appserver   83u  IPv6 0xb85d3f218fc3942f      0t0  TCP 
localhost:1085 (LISTEN)



> If wotaskd is opening the port on all interfaces, it should say:
> 
>  TCP *:1085 (LISTEN)
> 
> If it’s on localhost, it will be:
> 
>  TCP localhost:1085 (LISTEN)
> 
>> Hi All,
>>   My deployment machine has stopped deploying.  Same problem I've seen 
>> before, everything looks fine in java monitor which is setup to use 
>> localhost has the host IP, I try to start my app and it never goes green, 
>> eventually ending in death.  I've gone over the things that have fixed 
>> something like this before and don't see anything.
>> 
>> The only log file is the wotaskd.log file which I've pasted at the end of 
>> this message.  Below are my current settings for the "usual suspects" in 
>> deployment issues. As usual I'm now stumped as to what to look at and am 
>> hoping the error log below may give some clues to those much more well 
>> versed than me in the magic of deployment...
>> 
>> /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties:
>>   WOHost=localhost
>> 
>> JavaMonitor Site HTTP Adaptor URL:
>>   http://localhost/cgi-bin/WebObjects
>> 
>> JavaMonitor Hosts Host name (Status says available so wotaskd daemon is 
>> running):
>>   localhost
>> 
>> /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf:
>>   WebObjectsConfig localhost:1085 10
>> 
>> httpd.conf:
>>   ServerName localhost:80
>>   <Directory />
>>      Options FollowSymLinks
>>      AllowOverride None
>>   #    Order deny,allow
>>   #    Deny from all
>>   </Directory>
>>   ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
>> "/Library/WebServer/CGI-Executables/$1"
>>   Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>> 
>> Additional Arguments Settings in Javamonitor:
>> 
>> -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES 
>> EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost
> 
> A dash is missing in front of EOAdaptorDebugEnabled
> 
>> 
>> 
>> @@@@@ monitorRequestAction received request from Monitor
>> 2014-01-05 22:55:33,970 DEBUG 16.59 MB/17.34 MB [WorkerThread7] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Starting 
>> Instance: 
>> /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh
>>  /Library/WebObjects/Applications/netBrackets.woa/netBrackets -WOHost 
>> localhost -WOPort 2001 -WOCachingEnabled YES -WODebuggingEnabled NO 
>> -WOOutputPath /Library/WebObjects/Logs/netBrackets-1 -WOAutoOpenInBrowser NO 
>> -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled 
>> YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor 
>> -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 
>> -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 
>> -WOApplicationName netBrackets -WOMonitorEnabled YES -WONoPause YES -d64 
>> -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling   YES 
>> EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost
>> 2014-01-05 22:55:33,980 DEBUG 16.67 MB/17.27 MB [WorkerThread7] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @@@@@ 
>> monitorRequestAction returning response to Monitor
>> 2014-01-05 22:55:33,986 DEBUG 12.89 MB/21.05 MB [WorkerThread13] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - OUT: {
>>        "commandWotaskd" = (
>>                "START",
>>                {
>>                        "id" = "1";
>>                        "port" = "2001";
>>                        "applicationName" = "netBrackets";
>>                        "hostName" = "localhost";
>>                }
>>        );
>> }
>> 
>> IN: (
>>        {
>>                "commandWotaskdResponse" = (
>>                        {
>>                                "success" = "true";
>>                        }
>>                );
>>        }
>> )
>> 2014-01-05 22:55:33,986 DEBUG 12.89 MB/21.05 MB [WorkerThread13] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - ##### 
>> getCommandErrors: ()
>> 2014-01-05 22:55:33,987 DEBUG 12.96 MB/20.98 MB [Thread-23] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - !@#$!@#$ 
>> sendRequestToWotaskd creates a WOHTTPConnection
>> 2014-01-05 22:55:33,992 DEBUG 16.88 MB/17.06 MB [WorkerThread6] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) -
>> @@@@@ monitorRequestAction received request from Monitor
>> 2014-01-05 22:55:33,993 DEBUG 16.88 MB/17.06 MB [WorkerThread6] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @@@@@ 
>> monitorRequestAction returning response to Monitor
>> 2014-01-05 22:55:33,997 DEBUG 13.08 MB/20.86 MB [WorkerThread13] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - ##### 
>> pageWithName(AppDetailPage) errors: ()
>> 2014-01-05 22:55:34,000 DEBUG 13.15 MB/20.79 MB [WorkerThread13] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - message(): ()
>> 2014-01-05 22:55:34,001 DEBUG 13.17 MB/20.77 MB [WorkerThread13] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - message(): ()
>> 2014-01-05 22:55:45,540 DEBUG 14.72 MB/19.22 MB [Thread-2] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new 
>> lifebeat socket
>> 2014-01-05 22:55:45,541 DEBUG 14.72 MB/19.21 MB [Thread-2] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception 
>> sending lifebeat to wotaskd: java.net.ConnectException: Connection refused
>> 2014-01-05 22:56:19,310 WARN  16.95 MB/16.98 MB [main] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:43) - Application 
>> 'netBrackets-1' on localhost:2001 stopped running at 2014-01-06 03:56:19 
>> Etc/GMT.
>> The app's current state was: STARTING.
>> The app did not respond for 63514900459seconds 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
>> 2014-01-05 22:56:34,929 DEBUG 14.84 MB/19.1 MB [Thread-25] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - !@#$!@#$ 
>> sendRequestToWotaskd creates a WOHTTPConnection
>> 2014-01-05 22:56:34,933 DEBUG 17.15 MB/16.79 MB [WorkerThread5] 
>> logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) -
>> @@@@@ monitorRequestAction received request from Monitor
>> _______________________________________________
>> 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]

Reply via email to