Apache Plugin 1.1 for WLS unable to Proxy Requests to Hostnames Starting with a Number (Doc ID 1608460.1)

Last updated on JANUARY 17, 2017

Applies to:

Oracle HTTP Server - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On : iAS Web Server Installation

When attempting to access http://<hostname>:7001/myApplication it returns the following errors:

Failure of server Apache Bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent

The proxy plugin log file shows these types of errors:

2013-12-10T18:40:53.5941-05:00 <1543613867178882> attempt #5 out of a max of 5
2013-12-10T18:40:53.5942-05:00 <1543613867178882> keepAlive = 1, canRecycle = 1
2013-12-10T18:40:53.5943-05:00 <1543613867178882> Trying a pooled connection for '0.0.0.11/9001/0'
2013-12-10T18:40:53.5943-05:00 <1543613867178882> getPooledConn: found a host and port/securePort match
2013-12-10T18:40:53.5943-05:00 <1543613867178882> getPooledConn: No more connections in the pool for Host[0.0.0.11] Port[9001] SecurePort[0]
2013-12-10T18:40:53.5943-05:00 <1543613867178882> general list: trying connect to '0.0.0.11'/9001/0 at line 2384 for '/OracleBAM/'
2013-12-10T18:44:04.6237-05:00 <1543613867178882> *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with error=145, host=0.0.0.11, port=9001 ) raised at line 1602 of URL.cpp
2013-12-10T18:44:04.6241-05:00 <1543613867178882> Sleeping for 2 seconds
2013-12-10T18:44:06.6242-05:00 <1543613867178882> request [/OracleBAM/] did NOT process successfully..................

Note: the issue reproduces using plain http or secured http (ssl).

Changes

To get logging for proxy plugin, you can set the two parameters (Debug and WLLogFile) within the Location Tag of mod_wl_ohs.conf

Debug ALL
WLLogFile /tmp/weblogic1.log

For example:

<Location /myApplication>
SetHandler weblogic-handler
WebLogicCluster host1:8001,host2:8001
Debug ALL
WLLogFile /tmp/weblogic1.log
</Location>

  After making these changes, then you have to restart OHS.  The log file in this example will be generated in /tmp/weblogic1.log.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms