Re: Deploying to multiple servers
Re: Deploying to multiple servers
- Subject: Re: Deploying to multiple servers
- From: John Huss <email@hidden>
- Date: Wed, 25 Apr 2012 16:36:13 -0500
Good guesses. Actually I had to open up ports 2001, 2002, etc on Server2 to let requests go to the app. I didn't realize it worked that way.
Thanks,
John
On Wed, Apr 25, 2012 at 12:27 PM, Chuck Hill
<email@hidden> wrote:
Hi John,
It sounds like Server1 is talking to something other than server2 or server2 is not listening. First, check the WebObject's apache.conf to see if the server name is correct. Also make sure that wotaskd and the apps on Server2 are getting launched with -WOHost <same name as in apache.conf>. They could be starting up with some other host and so not accepting the connection from Server1.
Chuck
On 2012-04-25, at 10:06 AM, John Huss wrote:
> I'm trying set up an app to run on multiple servers and I'm having some problems. I got it working in my dev environment, but production is not working.
>
> The setup is like this:
> 1) Server1 is the primary entrypoint (or proxy) - it does Apache and JavaMonitor and 1/2 of the app instances
> 2) Server2 is the secondary server - it does the other 1/2 of the app instances
>
> To debug it I have an app configured with just 1 instance running on the Server2, so in this case Server1 just acts as a proxy since there is no balancing to do.
> - Everything looks fine in JavaMonitor.
> - Requests made directly to Server2 work fine
> - Requests made through Server1 hang for a long time and then say "No instance available".
>
> Does anyone have suggestions for how to going about debugging this?
>
> Thanks,
> John
> _______________________________________________
> 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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
_______________________________________________
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