Last updated on FEBRUARY 16, 2017
Applies to:Oracle HTTP Server - Version: 10.1.2.0.2 to 10.1.2.2 - Release: AS10gR2 to AS10gR2
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:
- Machine A: 'Acting as Front End' - OracleAS 10g Rel 2 (10.1.2.0.2) HTTP Server and Web Cache installed on HP-UX Itanium
- Machine B: 'Acting as Back End' - OracleAS 10g Rel 1 or 2 (any middle tier install type) installed on any platform
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:
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, firstname.lastname@example.org 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms