Re: no instance error in longresponse page
Re: no instance error in longresponse page
- Subject: Re: no instance error in longresponse page
- From: Robert Walker <email@hidden>
- Date: Tue, 22 Feb 2005 12:27:04 -0500
I have had a bit of experience with this issues lately myself. I was
also getting some "no instance available" errors from time to time with
some pages.
Are you using concurrent request handling? If not then try it in a
test environment and see if it helps. (There may be other issues
related to concurrent request handing that you may need to address.)
What I've found is that if the request/response loop takes longer than
the adaptor timeout then the adaptor will mark the instance dead and
stop sending new requests to the instance. If you have a process that
takes longer than a few seconds to execute then make sure it runs in a
separate thread so the request/response cycle can complete normally
(i.e. quickly). WOLongRespose page should have insured this, but it's
possible that your routine is not allowing the request/response loop to
cycle normally.
I have developed a pattern based on direct actions and subclassing
Thread. I'd be happy to share my experiences with you. If you would
like that please feel free to contact me off-list.
On Feb 22, 2005, at 5:17 AM, Goh Keng Boon wrote:
Hi,
I got a process need to run for at less 5 mins, so i use a longresponse
page, it run fine when i amdebugging using xcode, but after i deployed
it to my xserve, i keep
getting no instance errorbefore the whole process can finish, anyone
has similar experience before?
Is that a code level or deployment problem?
Cheers,
KB
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
--
Robert Walker
Bennett Technology Group
(770) 957-1866 Ext: 790
_______________________________________________
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