Re: Failed to contact xxxx-1085, ellpack

Chuck Hill <[email protected]> Tue, 4 Oct 2005 08:15:52 -0700
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
On Oct 4, 2005, at 3:51 AM, John Pollard wrote:

> Chuck,
>
> I'm not ambitious by nature,

Laziness is a programmer virtue!  http://www.hhhh.org/wiml/virtues.html

> but I had a go by editing the wotaskd.woa/wotaskd script and adding  
> to the last eval line >/var/log/wotaskd.log 2>&1
>

Interestingly, that is not the place to do it.  You need to edit the  
startup script:
/System/Library/StartupItems/WebObjects/WebObjects

Mine looks like this:
"$WOSERVICE" -appPath "$WOTASKD" >/var/log/webobjects.log 2>&1 &

Not sure why I used that name for the log...

See if that works for you.

Chuck

> Interestingly, when I told WO to restart its services, this log  
> file jumped into life with lots of exceptions saying that the port  
> was already in use.
>
> So I rebooted and things started up ok with some minor output in  
> wotaskd.log.
>
> However, sending kill -QUIT to the wotaskd process didn't produce a  
> stack trace in this file. I wonder what I am getting wrong here.
>
> John
>
> At 18:50 03/10/2005, Chuck Hill wrote:
>
>
>> This looks to be a message from wotaskd, probably when returning the
>> configuration information to JavaMonitor.  It looks like something is
>> occupying wotaskd so that it is responding too slowly to requests.
>> The next time this happens, get some threaddumps from wotaskd (check
>> beforehand to ensure that it is not configured to send this to / 
>> dev/ null, I suspect that is the default).  Take them several  
>> seconds / a
>> minute apart and see if that shows anything.  Or you could get really
>> ambitious and run wotaskd in a Java debugger and attach to it when
>> this happens and see where the holdup is.
>>
>> And while we are grasping at straws, add "-  
>> D_DeploymentDebugging=true" when starting wotaskd or JavaMonitor
>> makes the tools very talkative.  They may say something interesting.
>>
>>
>> Chuck
>>
>
> _______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>

-- 
Coming in 2006 - an introduction to web applications using WebObjects  
and Xcode     http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.    http://www.global-village.net/products/practical_webobjects