Re: Dynamically Selecting Instances - Best Way?
Re: Dynamically Selecting Instances - Best Way?
- Subject: Re: Dynamically Selecting Instances - Best Way?
- From: "Jonathan Fleming" <email@hidden>
- Date: Fri, 11 Jun 2004 12:27:57 +0100
From: wojingo <email@hidden>
To: Jonathan Fleming <email@hidden>
CC: email@hidden
Subject: Re: Dynamically Selecting Instances - Best Way?
Date: 11 Jun 2004 02:23:44 +0930
On Thu, 2004-06-10 at 21:48, Jonathan Fleming wrote:
> How do I go about finding an active instance or redirecting to one that
is
> running if the instance an app is trying to use is not working,
times-out or
> something similar.
>
> In my app I code a static method to set up a url that returns to a
direct
> action when the app needs to remind a user to register, however, on this
> occasion the instance (always on 1) that it was set up on was down and
of
> course the link in the user's email sent them to a 404 page, so how can
I
> prepare the app to look for other instances if the main timesout or if
down
> or something?
>
> This is an example of the link it sets up (note that there is no
instance
> number so the first one is always used - no. 1):
> <a
>
href="http://www.myDomain.com/cgi-bin/WebObjects.dll/TMI.woa/wa/registerNewUser">Click
> this link to setup your new account</a>
>
> Or is there a simpler way to get to the directAction ...registerNewUser
>
> Thanks for any help
> Jonathan :^)
Monitor should do this for you I think. You shouldnt need to do anything
to get this to work correctly. The link above should do the right thing
I thought that too, maybe I'm doing something else wrong?
AFAIK.
sorry whaat it this short for?
I think its the adaptors job to determine which instance to send
you to.
agreed.
I assume you must be using the monitor program to run multiple instances.
yes
strange.
I agree
Where there any other instances running when the 404 occured?
yes two others... at least it seemed so when I checked.
sorry I havent been very helpful. meybe there is a monitor
setting that needs to be set/changed/configured.
hey, anything that suggests something is better that nothing at all ;^) and
I'll check monitor again for any other settings.
Jonathan
-
shaun
>
> _________________________________________________________________
> Want to block unwanted pop-ups? Download the free MSN Toolbar now!
> http://toolbar.msn.co.uk/
> _______________________________________________
> 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.
>
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
_______________________________________________
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.