On Wed, Dec 17, 2014 at 9:40 AM, Daniel <[email protected]> wrote: > > 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 <[email protected]>: >> >> 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* >> >
13 = EACCES This would appear to be the cause (from Linux man pages): "connection request failed because of a local firewall rule" > *[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 >> [email protected] >> > -- Born in Roswell... married an alien... http://emptyhammock.com/
