You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yang Andrew X <Xi...@irs.gov> on 2009/02/02 21:12:39 UTC

[users@httpd] Apache HTTP Server sometimes fails to connect to WebLogic server

We are using Apache HTTP Server 2.8 as proxy server to load balance
multiple WebLogic application server instances. It uses cookie and
round-robin rule. It works well for most of time.
 
However, occasionally, the Apache HTTP server loses connections with
backend WebLogic server instances. It seems sometimes Apache is not
retrieving cookies. The error log and access log look like following:
 
bash-3.00# tail -f error_log

[Sat Jan 17 09:11:12 2009] [error] CONNECTION_REFUSED [os error=146,
line 1740 of ../nsapi/URL.cpp]: Error connecting to host 10.25.11.3:9001
errno = 146

[Sat Jan 17 09:11:12 2009] [error] CONNECTION_REFUSED [os error=146,
line 1740 of ../nsapi/URL.cpp]: Error connecting to host 10.25.11.3:9002
errno = 146

 

10.25.20.6 - - [17/Jan/2009:09:16:52 -0500] "POST /app1/ServletResponse
HTTP/1.1" 200 2622

10.25.20.6 - - [17/Jan/2009:09:16:52 -0500] "POST /app1/ServletResponse
HTTP/1.1" 200 2622

 

The problem is that it is not consistent. It only happens occasionally,
in the middle of a stress test. We are using WebLogic server 10 (MP1).

 

Any input would be appreciated.

 

XY

 

 

 

 

Re: [users@httpd] Apache HTTP Server sometimes fails to connect to WebLogic server

Posted by Evan Platt <ev...@espphotography.com>.
At 12:12 PM 2/2/2009, "Yang Andrew X" <Xi...@irs.gov> wrote:

Are you really with the IRS?

If not, it's probably not a good idea to post forging a IRS.GOV e-mail address.

Any bounces or backscatter will be directed to the IRS's e-mail 
servers. I'm on a number of lists where someone  else on the list has 
set up a forward or a bounce that's bouncing or replying to EVERY 
message - and often this person is untrackable since the bounce is 
coming from say ABC.COM , but the user is subscribed via XYZ.COM .

Just my .02.

Evan 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Apache HTTP Server sometimes fails to connect to WebLogic server

Posted by Yang Andrew X <Xi...@irs.gov>.
Thanks! I'll try to increase WL listen backlog and see if it helps. 

-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com] 
Sent: Monday, February 02, 2009 3:16 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache HTTP Server sometimes fails to connect
to WebLogic server

On Mon, Feb 2, 2009 at 3:12 PM, Yang Andrew X <Xi...@irs.gov>
wrote:
> We are using Apache HTTP Server 2.8 as proxy server to load balance 
> multiple WebLogic application server instances. It uses cookie and
round-robin rule.
> It works well for most of time.
>
> However, occasionally, the Apache HTTP server loses connections with 
> backend WebLogic server instances. It seems sometimes Apache is not 
> retrieving cookies. The error log and access log look like following:
>
>
> bash-3.00# tail -f error_log
>
> [Sat Jan 17 09:11:12 2009] [error] CONNECTION_REFUSED [os error=146, 
> line 1740 of ../nsapi/URL.cpp]: Error connecting to host 
> 10.25.11.3:9001 errno =
> 146
>
> [Sat Jan 17 09:11:12 2009] [error] CONNECTION_REFUSED [os error=146, 
> line 1740 of ../nsapi/URL.cpp]: Error connecting to host 
> 10.25.11.3:9002 errno =
> 146

It says connection refused.   Maybe you need more threads, or a larger
listen backlog, over on the weblogic system.  Either way, it's probably
a FAQ for the vendor.

--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache HTTP Server sometimes fails to connect to WebLogic server

Posted by Eric Covener <co...@gmail.com>.
On Mon, Feb 2, 2009 at 3:12 PM, Yang Andrew X <Xi...@irs.gov> wrote:
> We are using Apache HTTP Server 2.8 as proxy server to load balance multiple
> WebLogic application server instances. It uses cookie and round-robin rule.
> It works well for most of time.
>
> However, occasionally, the Apache HTTP server loses connections with backend
> WebLogic server instances. It seems sometimes Apache is not retrieving
> cookies. The error log and access log look like following:
>
>
> bash-3.00# tail -f error_log
>
> [Sat Jan 17 09:11:12 2009] [error] CONNECTION_REFUSED [os error=146, line
> 1740 of ../nsapi/URL.cpp]: Error connecting to host 10.25.11.3:9001 errno =
> 146
>
> [Sat Jan 17 09:11:12 2009] [error] CONNECTION_REFUSED [os error=146, line
> 1740 of ../nsapi/URL.cpp]: Error connecting to host 10.25.11.3:9002 errno =
> 146

It says connection refused.   Maybe you need more threads, or a larger
listen backlog, over on the weblogic system.  Either way, it's
probably a FAQ for the vendor.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org