Re: how to make 'redirect url' work [WAS: nice error messages]
Re: how to make 'redirect url' work [WAS: nice error messages]
- Subject: Re: how to make 'redirect url' work [WAS: nice error messages]
- From: Patrick Middleton <email@hidden>
- Date: Wed, 21 Mar 2007 12:24:41 +0000
On 21 Mar 2007, at 11:53, Mike Schrag wrote:
What is the proper way to make "Requested application not found"
redirect to a URL? This error seems to not be controlled by
monitor's "redirect url" setting.
ms
It is controlled like that. Have a good read of the WebObjects
Deployment Guide documentation, especially "HTTP Adaptors" and then
have a good think!
In the dynamic configurations (multicast, host-list), the application/
instance information is maintained by wotaskd, and is based on what
wotaskd read from its configuration file combined with the
application instances about which wotaskd knows because of received
lifebeats. If there aren't any instances of the application known to
wotaskd, then it can't describe the application in its XML response,
and it's the <application ...></application> part which specifies the
redirect URL.
If you go for the static configuration (HTTP Adaptor Configuration
File) choice, then the adaptor is being told what applications/
instances you say ought to be available, and not what applications/
instances wotaskd thinks exist.
I first encountered this on WO451 some years ago. The default
configuration was host-list from http://localhost:1085, and on some
subnets something used to happen from time to time that crippled
wotaskd, and all the woapp instances would become unavailable.
Having read the documentation thoroughly enough to use file
configuration instead, I was able to see the 'redirect url' setting
working for the first time.
--
Patrick Middleton
OneStep Solutions plc
351 London Road Phone: +44 (0)1702 426400
Hadleigh Fax: +44 (0)1702 556855
Essex. SS7 2BT Email: email@hidden
England (MIME welcome)
_______________________________________________
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