My Oracle Support Banner

OracleAS 10gR2 MOD_OC4J on HP-UX Itanium Fails to Route Request to OracleAS MOD_OC4J on Another Machine (Doc ID 373199.1)

Last updated on MARCH 19, 2021

Applies to:

Oracle HTTP Server - Version to [Release AS10gR2]
HP-UX Itanium
Checked for relevance on 14-Apr-2011


The objective is to deploy an application running via MOD_OC4J (e.g a J2EE web application or Forms / Reports) using the following topology:

AJP3 communication is configured between the two machines e.g. on 'front end' .

The $ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf contains entries like:


Oc4jCacheSize 0
Oc4jConnTimeout 30
Oc4jMount /reports1 instance://machinename:OC4J_BI_Forms
Oc4jMount /reports1/* instance://machinename:OC4J_BI_Forms
Oc4jMount /forms90 instance://machinename:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet instance://machinename:OC4J_BI_Forms
Oc4jMount /forms90/f90servlet/* instance://machinename:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet instance://machinename:OC4J_BI_Forms
Oc4jMount /forms90/l90servlet/* instance://machinename:OC4J_BI_Forms



Directly accessing the application through the 'Back End' tier works fine

The machines A and B can see each other fine via ping and telnet <ajp3 port>

If, however, the application is accessed via the 'Front End' Web Cache / HTTP Server, the url fails giving the following error in the client IE browser:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

The HTTP Server $ORACLE_HOME/Apache/Apache/logs/error_log shows errors like:


MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: instance://machinename:OC4J_BI_Forms_15.

MOD_OC4J_0030: Failed to connect an oc4j process. This request is recoverable.

MOD_OC4J_0026: Failed to marshal a request to ajp13 message headers or send them to the web container.

MOD_OC4J_0121: Failed to service request with network worker: instance://machinename:OC4J_BI_Forms_15 and it is not recoverable.

MOD_OC4J_0013: Failed to call destination: instance://machinename:OC4J_BI_Forms's service() to service the request.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.