Re: Warning: Request will be REDIRECTED to non-refusing instance
Re: Warning: Request will be REDIRECTED to non-refusing instance
- Subject: Re: Warning: Request will be REDIRECTED to non-refusing instance
- From: Chuck Hill <email@hidden>
- Date: Tue, 23 Sep 2003 15:59:15 -0700
- Organization: Global Village Consulting, Inc.
It sounds like you may have a deadlocking problem in your app
(instance 1 in the explanation below).
If you can get a thread dump (see the archives here or on Omnigroup)
that should show if this is the case.
Are you being careful to lock and unlock all of your editing contexts
correctly?
Chuck
Daniel Muller wrote:
On Mardi, sep 23, 2003, at 03:32, Chuck Hill wrote:
At 09:41 PM 22/09/2003 +0200, Daniel Muller wrote:
I guessed it was at some point related to DirectAction and then I added
some try/catch in the DirectAction classes and
handleActionRequestError in
the Application but seems to be worse particularly with the last one: the
handleActionRequestError.
Yes, you need to catch and correct this *before* dispatching the request
(see dispatchRequest() in WOApplication).
Otherwise I suspect a problem with WO 5.2.1 or WO module for Apache
because this application was working fine with WO 5.2.
It is a bug in the WO frameworks, not the wo adaptor (WO module for
Apache)
as far as I can tell. I reported it in 5.1.3 and it was supposed to have
been fixed in 5.2. Looks like they have re-introduced the bug in
5.2.1 :-(
Thanks Chuck,
Today again one instance is dead, wotaskd.woa is not able to restart it and
I can't get connected to this instance.
I turned on the logging feature of WO adaptor and for all request to the
dead
instance I got that:
Info: Sending request to instance number 1, port 2001
Info: Trying to contact ILL:1 on (2001)
Info: attempting to connect to shiva.rero.ch on port 2001
Info: ILL:1 on (2001) connected [pooled: No]
Info: Request GET /cgi-bin/WebObjects/ILL.woa/1 HTTP/1.1
sent, awaiting response
Debug: ac_readConfiguration(): skipped reading config
and for a working instance:
Info: Sending request to instance number 3, port 2003
Info: Trying to contact ILL:3 on (2003)
Info: attempting to connect to xxx.rero.ch on port 2003
Info: ILL:3 on (2003) connected [pooled: No]
Info: Request GET /cgi-bin/WebObjects/ILL.woa/3 HTTP/1.1
sent, awaiting response
Info: Reading configuration from
http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: New response: HTTP/1.1 200 Apple WebObjects
Info: received ->200 Apple
when I look at the http://localhost/cgi-bin/WebObjects/WOAdaptorInfo page
there are a lot of dead timeouts (last column) and lots of active
requests for instance 1.
all other instances are working well, except instance 1. it has stopped
to respond after 8 hours,
JavaMonitor shows 2 active sessions for that instance and it's able to
shutdown the instance
using Force Quit button (Force Quit received. Exiting now)
I don't really know what is not working fine: Apache, WO Adaptor, WO
5.2.1 or my application!
Any idea?
Regards,
Daniel
--
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.