2020年最后一天,个人技术博客正式启用https安全性访问,感谢勇哥、陈总的帮助。元旦快乐!
月度归档:2020年12月
Oracle ebs控制科目输入(ADI+人工)方案
背景:
客户需要限制某些科目只能从接口进入系统,不能手工及类手工方式录入。
思路:
寻求标准方案;客户化ADI。
标准方案:
先查看科目值集处对科目属性的控制,其中有一个控制项是“第三方控制账户”,控制账户内可选择“限制人工日记帐”(此时想看能否可以选择来源进行控制,于是通过sql方式【select * from fnd_lookups t where t.meaning like ‘%限制人工日记%’】找到控制账户的lookup_type”GL_CONTROL_ACCOUNT_SOURCES”,发现不能新增来源),于是从字面理解是否只会对日记账来源为“人工”的进行控制。
测试结果:前台界面确实控制住不能录入,并弹窗提示“您不能使用控制账户。请选择其他账户”,满足需求。
然后通过ADI导入,无论ADI的来源选择何种,均会提示“您不能使用控制账户。请选择其他账户”,满足需求。
最后通过接口表的方式,通过设置过“限制人工日记账”的科目导入生成账务,可以正常生成日记账,满足需求。
完美解决问题,不再讨论客户化的方式。
Oracle ebs 登陆:mod_oc4j: Failed to find a failover oc4j process for session request for destination
Resolving error mod_oc4j Failed To find A Failover OC4J Process For Session Request For Destination (Doc ID 785296.1)
Have encountered an issues with oacore crashing in R12 Oracle Applications frequently:
Apache日志$LOG_HOME/ora/10.1.3/Apache
Error Message in error_log:
—————————
mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://oacore (no island or jgroup).
The error ‘mod_oc4j Failed to find a failover oc4j process for session request for destination’ 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 “island” or “jgroup” and it failed.
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.
There are multiple reasons why this error may have happened: Some common reasons are
1. Load: e.g. Too many clients connecting to the application :
– The number of requests are high enough that the process cannot respond to new requests prior to reaching the timeout period.
2. Performance: Heavily loaded JVM or Lack of enough memory for JVM
– The OC4J oacore JVM processes in the middle tier are heavily loaded
– High number of jdbc connections with database there by increasing the number of threads on the java process.
3. Code:
* Internal to Application Server, one of the components are not operating
correctly or efficiently.
* External to ApplicationServer, E-Business code (seeded or custom code) causing
memory leakages.
4. Lack of free ports for AJP communication
Suggestion:
———-
Increae the OACore Heap Configuration to 512/1024 in opmn.xml
Change the below entry in opmn.xml(also modify the entry in xml file) and Bounce the opmn services.
From:
<data id=”java-options” value=”-server -verbose:gc -Xmx512M -Xms512M -XX:MaxPermSize=160M -XX:NewRatio=2
To:
<data id=”java-options” value=”-server -verbose:gc -Xmx1024M -Xms1024M -XX:MaxPermSize=256M -XX:NewRatio=2
注意:mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://form (no cluster or jgroup).
If the error ends with “//form (no island or jgroup)” then oc4j forms process
has issue or if the error ends with “//oacore (no island or jgroup)” then oc4j
oacore process has issue.
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
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:
-Xmx1024M -Xms512M -XX:MaxPermSize=256M
-XX:NewRatio=2 -XX:+PrintGCTimeStamps
Also, Add the following parameter to the DBC file:
JDBC\:oracle.jdbc.maxCachedBufferSize=262144
For More Information Please Ref:Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12 [ID 362851.1]