Hi all, thanks for your attention and pacience. My Apache nversion can be seen below (sorry for forgeting to say):
[apache@vm-apache conf]$ apachectl -v Server version: Apache/2.2.15 (Unix) Server built: Feb 13 2012 18:23:03 I had some progress... i disabled the firewall (SELinux) on the Apache server. Before, i had just disabled the firewall from the Weblogic Server. Now, when i access the apache server, it redirects (sometimes, actually) the request to my Weblogic Cluster. Let's say that 50% of the time it works and the other 50% i get the error informed previously. I am using the *apache* user and the ulimit of this user is: [apache@vm-apache conf]$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 15915 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1024 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited From the Apache server (192.168.0.149), when i execute the "culr" command, i get the following message: [apache@vm-apache conf]$ curl http://192.168.0.123:7006/benefits <html><head><title>302 Moved Temporarily</title></head> <body bgcolor="#FFFFFF"> <p>This document you requested has moved temporarily.</p> <p>It's now at <a href="http://192.168.0.123:7006/benefits/"> http://192.168.0.123:7006/benefits/</a>.</p> </body></html> The message above represents a OK situation or a problematic one? Below you can see the last few lines of my Error Log and Access Log: * ### error log ###* [Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340514189468553> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID [Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340314189468563> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID [Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico [Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico [Thu Dec 18 20:54:21 2014] [error] [client 192.168.0.123] <340114189468603> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/ [Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID [Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: initJVMID: parseClusterServerList failure [Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/servlet [Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: initJVMID: parseClusterServerList failure, referer: http://192.168.0.149:8080/benefits/servlet [Thu Dec 18 20:54:56 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: request [/benefits/welcome.html] did NOT process successfully.................. [Thu Dec 18 20:54:57 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: request [/benefits/welcome.html] did NOT process successfully.................., referer: http://192.168.0.149:8080/benefits/servlet * ### access log ###* 192.168.0.123 - - [18/Dec/2014:20:54:15 -0300] "GET /benefits HTTP/1.1" 302 267 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 192.168.0.123 - - [18/Dec/2014:20:54:16 -0300] "GET /benefits/ HTTP/1.1" 200 5832 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 192.168.0.123 - - [18/Dec/2014:20:54:20 -0300] "POST /benefits/servlet HTTP/1.1" 200 492 "http://192.168.0.149:8080/benefits/" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 192.168.0.149 - - [18/Dec/2014:20:54:39 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 192.168.0.123 - - [18/Dec/2014:20:54:44 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "http://192.168.0.149:8080/benefits/servlet" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" Is there any additional or recommended configuration for this solution to work properly? Thanks again for the attention and pacience. 2014-12-17 12:04 GMT-03:00 Jeff Trawick <traw...@gmail.com>: > > On Wed, Dec 17, 2014 at 9:40 AM, Daniel <dferra...@gmail.com> 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 <fpjb...@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* >>> >> > > 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 >>> fpjb...@gmail.com >>> >> > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ > > -- *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 fpjb...@gmail.com