HTTP Server Crashes When Oc4jmount Placed In Virtualhost Directive (Doc ID 405093.1)

Last updated on JANUARY 20, 2017

Applies to:

Oracle HTTP Server - Version: 10.1.3.0.0 to 10.1.3.1.0
This problem can occur on any platform.
Checked for relevance on 12-May-2009

Symptoms

In an Application Server 10.1.3.0,10.1.3.1.0 or 10.1.3.2.0, after adding Oc4jMount in a VirtualHost definition in an HTTP Server Configuration File (e.g. $ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf) the HTTP Server will crash.


Changes

Steps to Reproduce:

1. Edit Configuration File and insert Virutal Host settings after
'SetHandler oc4j-handler'.
LoadModule dms_module libexec/mod_dms.so
<Location /dmsoc4j>
SetHandler oc4j-handler
Deny from all
</Location>
Listen 10132
<VirtualHost *:10132>
Oc4jMountCopy Off
Oc4jMount /j2ee/ home
Oc4jMount /j2ee/* home
</VirtualHost>
...

2. Restart the HTTP Server

3. Access http://host:port/j2ee/

4. The HTTP Server crashes

If setting debug level notify in httpd.conf, the following message can be seen

[Tue Oct 3 00:45:33 2006] [notice] child pid 25339 exit signal Segmentation f
ault (11), possible coredump in <ORACLE_HOME_PATH>Apache/Apache
Then, core.xxx will be produced on $OH/Apache/Apache

Here is the stack.
#0 0x0054f8f5 in yodEventOccurred (e=0x68746150) at yodsensor.c:1060
#1 0x001566f7 in oc4j_handler (r=0xbfffd508, mapent=0x969c1d8) at /ade/ihonda
_a3/oracle/asg_apache/oc4j/src/oc4j_main.c:565
#2 0x001417e4 in mod_oc4j_handler (r=0x9732908) at mod_oc4j.c:240
#3 0x08059d72 in ap_invoke_handler (r=0x9732908) at http_config.c:566
#4 0x0807e6f6 in process_request_internal (r=0x9732908) at http_request.c:1341
#5 0x0807e80b in ap_process_request (r=0x9732908) at http_request.c:1369
#6 0x08070fee in child_main (child_num_arg=1) at http_main.c:5371
#7 0x080713da in make_child (s=0x94e7068, slot=1, now=1159353401) at http_main.c:5563
#8 0x080714ab in startup_children (number_to_start=4) at http_main.c:5591
#9 0x08071e38 in standalone_main (argc=4, argv=0xbfffd9e4) at http_main.c:5937
#10 0x08072b86 in main (argc=4, argv=0xbfffd9e4) at http_main.c:6311

This line failed.
yodEventOccurred(mapent->mnt_stats.total_mnt_suc_req);
or
yodEventOccurred(mapent->mnt_stats.mnt_suc_req_non_sess);

 
See also <<Note:389819.1>> for details on How To Create Virtual Host Specific OC4J Applications.

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