Error: Missing ormi[s]://: : While stopping OC4J Process of SOA Application Server

I have come across with an issue while stopping the OC4J process of SOA Application Server 10.1.3.1.0 in a Linux environment. This is peculiar behavior wherein it was working fine when I had stopped it as root user and the issue arises only when I perform the task using non-root user.

[oracle@soa_hostname bin]$ ./opmnctl stopproc process-type=home

opmnctl: stopping opmn managed processes…

opmn id=soa_hostname:6302    0 of 1 processes stopped.

ias-instance id=idmtest.soa_hostname

ias-component/process-type/process-set:    default_group/home/default_group/

Error  –> Process (index=1,uid=1111129602,pid=11081)

    time out while waiting for a managed process to stop

    Log:/u01/apps/oraclesoa/opmn/logs//default_group~home~default_group~1.log

The error seen in log file default_group~home~default_group~1.log is shown below.

Error: Missing ormi[s]://<host>:<port>

Workaround:

  • Goto the location Oracle_Home/opmn/conf and edit opmn.xml to add a parameter -Djava.net.preferIPv4Stack=true for OC4J module as shown below.

<process-type id=”home” module-id=”OC4J” status=”enabled”>
<module-data>
<category id=”start-parameters”>
<data id=”java-options” value=”-server -Djava.net.preferIPv4Stack=true
-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true
-Dhttp.webdir.enable=false”/>
</category>
<category id=”stop-parameters”>
<data id=”java-options” value=”-Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false”/>
</category>

  • Restart theOC4J process using ./opmnctl stopall and ./opmnctl startall.
  • Stop the OC4J component using ./opmnctl stopproc process-type=home (Please note that the oc4j instance name is “home” in my case).

The error gets disappeared now.
References:

Metalink Note: 414427.1

About the Author Mahendra

I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com

Leave a Comment: