﻿{"id":1810,"date":"2020-12-07T10:10:22","date_gmt":"2020-12-07T02:10:22","guid":{"rendered":"http:\/\/www.llku.com\/?p=1810"},"modified":"2020-12-07T10:15:27","modified_gmt":"2020-12-07T02:15:27","slug":"oracle-ebs-%e7%99%bb%e9%99%86%ef%bc%9amod_oc4j-failed-to-find-a-failover-oc4j-process-for-session-request-for-destination","status":"publish","type":"post","link":"https:\/\/www.llku.com\/?p=1810","title":{"rendered":"Oracle ebs \u767b\u9646\uff1amod_oc4j: Failed to find a failover oc4j process for session request for destination"},"content":{"rendered":"<div class=\"iteye-blog-content-contain\">\n<p>Resolving error mod_oc4j Failed To find A Failover OC4J Process For Session Request For Destination (Doc ID 785296.1)<\/p>\n<p>Have\u00a0encountered\u00a0an issues with oacore crashing in R12 Oracle Applications frequently:<\/p>\n<p>Apache\u65e5\u5fd7$LOG_HOME\/ora\/10.1.3\/Apache<\/p>\n<p>Error Message in error_log:<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\nmod_oc4j: Failed to find a failover oc4j process for session request for destination:<strong>\u00a0application:\/\/oacore\u00a0<\/strong>(no island or jgroup).<\/p>\n<p><a name=\"more\"><\/a><br \/>\nFinding:<br \/>\n\u2014\u2014-<\/p>\n<p>The error \u2018mod_oc4j Failed to find a failover oc4j process for session request for destination\u2019 indicates that a session request was received by the Process Manger (PM). The PM was unable to find a java process to route the session to which would be defined as a \u201cisland\u201d or \u201cjgroup\u201d and it failed.<\/p>\n<p>The error indicates for some reason the OC4J process has become non responsive to the point where the PM has determined it failed or is no longer available. This error usually occurs when OHS (mod_oc4j) is not able to communicate ( over AJP ) with OC4J.<\/p>\n<p>There are multiple reasons why this error may have happened: Some common reasons are<\/p>\n<p>1. Load: e.g. Too many clients connecting to the application :<br \/>\n&#8211; The number of requests are high enough that the process cannot respond to new requests prior to reaching the timeout period.<\/p>\n<p>2. Performance: Heavily loaded JVM or Lack of enough memory for JVM<br \/>\n&#8211; The OC4J oacore JVM processes in the middle tier are heavily loaded<br \/>\n&#8211; High number of jdbc connections with database there by increasing the number of threads on the java process.<\/p>\n<p>3. Code:<br \/>\n* Internal to Application Server, one of the components are not operating<br \/>\ncorrectly or efficiently.<\/p>\n<p>* External to ApplicationServer, E-Business code (seeded or custom code) causing<br \/>\nmemory leakages.<\/p>\n<p>4. Lack of free ports for AJP communication<\/p>\n<p>Suggestion:<br \/>\n\u2014\u2014\u2014-<\/p>\n<p>Increae the OACore Heap Configuration to 512\/1024 in\u00a0<span class=\"skimlinks-unlinked\">opmn.xml<\/span><\/p>\n<p>Change the below entry in\u00a0<span class=\"skimlinks-unlinked\">opmn.xml(also<\/span>\u00a0modify the entry in xml file) and Bounce the opmn services.<\/p>\n<p>From:<\/p>\n<p>&lt;data id=\u201djava-options\u201d value=\u201d-server -verbose:gc -Xmx512M -Xms512M -XX:MaxPermSize=160M -XX:NewRatio=2<br \/>\nTo:<\/p>\n<p>&lt;data id=\u201djava-options\u201d value=\u201d-server -verbose:gc -Xmx1024M -Xms1024M -XX:MaxPermSize=256M -XX:NewRatio=2<\/p>\n<p>\u6ce8\u610f\uff1amod_oc4j: Failed to find a failover oc4j process for session request for destination:\u00a0<strong>application:\/\/form<\/strong>\u00a0(no cluster or jgroup).<\/p>\n<p>If the error ends with &#8220;\/\/form (no island or jgroup)&#8221; then oc4j forms process<br \/>\nhas issue or if the error ends with &#8220;\/\/oacore (no island or jgroup)&#8221; then oc4j<br \/>\noacore process has issue.<\/p>\n<p>In 11i, those changes are made in the $IAS_ORACLE_HOME\/Apache\/Jserv\/etc\/jserv.conf file, while in R12 in the $ORA_CONFIG_HOME\/10.1.3\/opmn\/conf\/opmn.xml<\/p>\n<p>The heap is configured by s_oacore_jvm_start_option, s_forms_jvm_start_options in R12. For 12.1 and higher start with the following and increase as per the user load:<br \/>\n-Xmx1024M -Xms512M -XX:MaxPermSize=256M<br \/>\n-XX:NewRatio=2 -XX:+PrintGCTimeStamps<\/p>\n<p>Also, Add the following parameter to the DBC file:<br \/>\nJDBC\\:oracle.jdbc.maxCachedBufferSize=262144<\/p>\n<p>For More Information Please Ref:Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12 [ID 362851.1]<\/p>\n<\/div>\n<div id=\"bottoms\" class=\"clearfix\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Resolving error mod_oc4j Failed To find A Failover OC4J &hellip; <a href=\"https:\/\/www.llku.com\/?p=1810\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Oracle ebs \u767b\u9646\uff1amod_oc4j: Failed to find a failover oc4j process for session request for destination<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[271,69],"_links":{"self":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1810"}],"collection":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1810"}],"version-history":[{"count":2,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1810\/revisions"}],"predecessor-version":[{"id":1813,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1810\/revisions\/1813"}],"wp:attachment":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}