httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dferra...@gmail.com>
Subject Re: [users@httpd] Apache HTTP Server and Weblogic Plug-in for Apache
Date Wed, 17 Dec 2014 14:40:36 GMT
If you can provide your mpm and it's  settings and httpd version, I'd say
you are using 2.2.x because of the module file you use(*mod_wl.so instead
of **mod_wl_24.so)*, but just to make sure. (on a side note, Oracle
recommends WLSRequest on instead of SetHandler, you should use it too).

Also make sure backend has no issues connecting manually: "curl
http://192.168.0.123:7006/benefits"

Also how are you starting up httpd, how and which user do you use? have you
checked ulimit values when doing so?

Regards

2014-12-17 3:36 GMT+01:00 Fabricio Pedroso Jorge <fpjbito@gmail.com>:
>
> Hi all,
>
>    I am trying to configure a test env with an Apache HTTP Server and an
> Oracle Weblogic 12c Cluster. The configuration is:
>
>    Apache HTTP Server: 192.168.0.149
>    Weblogic Cluster......: 192.168.0.129 (2 Clustered Managed Servers in
> the same server for testing purposes).
>
> The configuration of my httpd.conf file, regarding the plug-in
> configurations can be seen below:
>
>
> *[...]*
>
> *Listen 8080*
> *[...]*
>
> *LoadModule weblogic_module modules/mod_wl.so*
> *[...]*
> *<IfModule mod_weblogic.c>*
> *   WeblogicHost 192.168.0.123*
> *   WeblogicPort 7005*
>
> *</IfModule>*
>
> *<Location /benefits>*
> *   SetHandler weblogic-handler*
> *   WebLogicCluster 192.168.0.123:7005
> <http://192.168.0.123:7005>,192.168.0.123:7006 <http://192.168.0.123:7006>*
> *   WLSocketTimeoutSecs 20*
> *</Location>*
>
> When i try to acess my app (benefits) using the address *http://192.168.0.149:8080/benefits
> <http://192.168.0.149:8080/benefits>*, i get the following error:
>
> *No backend server available for connection: timed out after 10 seconds or
> idempotent set to OFF or method not idempotent.*
>
> At the error_log, the error message is the following:
>
> *[Tue Dec 16 23:37:14 2014] [error] [client 192.168.0.118]
> <849214187838263> 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[Tue Dec 16 23:37:14 2014]
> [error] [client 192.168.0.118] weblogic: Trying GET /benefits at backend
> host '192.168.0.123/7006 <http://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 '[Tue Dec 16
> 23:37:16 2014] [error] [client 192.168.0.118] <849214187838263> weblogic:
> *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with
> error=13, host=192.168.0.123, port=7005 ) raised at line 1682 of
> URL.cpp[Tue Dec 16 23:37:16 2014] [error] [client 192.168.0.118] weblogic:
> Trying GET /benefits at backend host '192.168.0.123/7005
> <http://192.168.0.123/7005>; got exception 'NO_RESOURCES: [os error=13,
>  line 1682 of URL.cpp]: apr_socket_connect call failed with error=13*
>
> What am i doing wrong? Thanks for the attention and pacience.
>
> --
> *Fabrício Pedroso Jorge.*
>
> Administrador de Banco de Dados
> Oracle 11g Certified SQL Expert
> Oracle 11g Certified Associate
> Oracle 11g Certified Professional
> Linux Professional Institute Certified Level I (LPIC-I)
> ITIL V3 Foudations
> certificacaodb.com.br
>
> *Resumo Profissional:*
> http://br.linkedin.com/in/fabriciojorge
>
> *Contatos:*
> + 55 91 88991116
> skype: fabricio.pedroso.jorge
> fpjbito@gmail.com
>

Mime
View raw message