14 Replies Latest reply on Dec 30, 2014 10:42 PM by Luz Mestre-Oracle

    Error NO_RESOURCES when using Apache Plug-in for Weblogic

    Fabricio_Jorge

      Hi all,

      LoadModule weblogic_module modules/mod_wl.so

         OS.....: OEL 6.3 64 bits

         Weblogic Server: 12.1.0.2 (192.168.0.123)

         Apache: Apache/2.2.15 (Unix) (192.168.0.149)

       

         I am trying to configure the Apache Plug-in to forward the requests to the Weblogic Server. I already did all the configuration, but when i try to access a page, i get the following error in Apache's error.log:

       

      [Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 ) raised at line 1682 of URL.cpp

      [Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] weblogic: Trying GET /benefits/ at backend host '192.168.0.123/7006; got exception 'NO_RESOURCES: [os error=13,  line 1682 of URL.cpp]: apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 '

      [Wed Dec 03 18:25:44 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: request [/benefits/] did NOT process successfully..................

       

         My httpd.conf if configured as follows:

       

      [...]

      Listen 8080

      [...]

      LoadModule weblogic_module modules/mod_wl.so

      [...]

      <IfModule mod_weblogic.c>

         WeblogicHost 192.168.0.123

         WeblogicPort 7006

      </IfModule>

       

      <Location /benefits>

         SetHandler weblogic-handler

      </Location>

       

      When i try to access the app deployed in Weblogic with the following address: "http://192.168.0.149:8080/benefits/" , i get the error mentioned above and the following error is displayed in my browser:

       

         Failure of Web Server bridge:

         No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.

       

      What am i doing wrong?

       

      Thanks in advance.