2 Replies Latest reply: Oct 25, 2010 11:05 AM by 658200 RSS

    CONNECTION_REFUSED

    658200
      I am getting following error in the Apache logs few times a day. I have Apache Weblogic Plugin configured to listen to Weblogic Clustered node with one instance.

      Here is the setup:
      Apache 2.2.x (RHEL)-> WebLogic 10gR3 (RHEL)

      ap_proxy: trying GET /context/of/the/app at backend host 'xxx.xxx.xxx.xxx/10003; got exception 'CONNECTION_REFUSED [os error=0, line 1728 of
      ../nsapi/URL.cpp]: Error connecting to host xxx.xxx.xxx.xxx/10003'

      Any ideas how to solve this?
        • 1. Re: CONNECTION_REFUSED
          Ravish Mody_MiddlewareMagic
          Hi,

          The error which you are getting is a common which can be fixed by increasing the "AcceptBackLog" value by 25% until error disappears from weblogic console (Path: Servers => <YOUR_SERVER_NAME> => Configuration tab=> Tuning sub-tab.) and setting the value to ON for "KeepAlive" in the httpd.conf which should take care of your issue.

          Below are some links which might help you too.

          Topic: Tuning to Reduce Connection_Refused Errors
          http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/apache.html#wp113634

          Tpoic: Tuning Connection Backlog Buffering
          http://download.oracle.com/docs/cd/E13222_01/wls/docs81/perform/WLSTuning.html#1136287

          Search for "KeepAliveEnabled"
          http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/plugin_params.html#wp1143055

          Also here is a link which would help you to understand some common issue which occurs when using a plug-in and there solutions.
          http://weblogic-wonders.com/weblogic/2010/03/07/plug-in-issues-some-tips/

          Hope this would help you

          Regards,
          Ravish Mody

          Edited by: Ravish Mody on Oct 25, 2010 11:23 AM
          • 2. Re: CONNECTION_REFUSED
            658200
            Thank you so much for valuable information. I have applied the changes to my environment. Appreciate your quick help.