Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to make 'redirect url' work [WAS: nice error messages]




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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >nice error messages (From: Mike Schrag <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.