正德厚生,臻于至善

Java Object Cache (Distributed Java Caching) in Oracle E-Business Suite 11i/R12

Precaching Of CZ Taking >12 Minutes Per Oacore. (Doc ID 1561224.1)
How To Prevent Inactive JDBC Connections In Oracle Applications 11i and R12 (Doc ID 427759.1)
Random Ports Used for Distributed Java Object Caching, Even When Setting s_fnd_cache_port_range in the Autoconfig Context File (Doc ID 471276.1)
Diagnosing database invalidation issues with Java Cache for eBusiness Suite (Doc ID 455194.1)
SRDC - Data Collection Request for E-Business Suite: Java Object Cache (Doc ID 2081227.1)

FND_CACHE_PORT_RANGE s_fnd_cache_port_range

启动oafm:
sed -i 's#LONG_RUNNING_JVM=true#LONG_RUNNING_JVM=false#g' $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/config/oc4j.properties
ps -ef|grep oafmstd|awk '{print $2}' |xargs kill -9

sed -i 's#LONG_RUNNING_JVM=false#LONG_RUNNING_JVM=true#g' $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/config/oc4j.properties
ps -ef|grep oafmstd|awk '{print $2}' |xargs kill -9

启动forms:
sed -i 's#LONG_RUNNING_JVM=true#LONG_RUNNING_JVM=false#g' $ORA_CONFIG_HOME/10.1.3/j2ee/forms/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/forms/config/oc4j.properties
ps -ef|grep formsstd|awk '{print $2}' |xargs kill -9

sed -i 's#LONG_RUNNING_JVM=false#LONG_RUNNING_JVM=true#g' $ORA_CONFIG_HOME/10.1.3/j2ee/forms/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/forms/config/oc4j.properties
ps -ef|grep formsstd|awk '{print $2}' |xargs kill -9

启动oacore:
sed -i 's#LONG_RUNNING_JVM=true#LONG_RUNNING_JVM=false#g' $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/oc4j.properties
ps -ef|grep oacorestd|awk '{print $2}' |xargs kill -9

sed -i 's#LONG_RUNNING_JVM=false#LONG_RUNNING_JVM=true#g' $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/oc4j.properties
ps -ef|grep oacorestd|awk '{print $2}' |xargs kill -9

grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/forms/config/oc4j.properties
grep -i long_running $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/oc4j.properties

set lines 200 pages 50000
select 'ALTER SYSTEM DISCONNECT SESSION '''||g.SID||','||g.serial#||','||'@'||g.INST_ID||''' IMMEDIATE;'
from gv$SESSION g where program = 'JDBC Thin Client'
and g.LAST_CALL_ET/60 >60
g.status='INACTIVE';

tail -f $APPLCSF/log/javacache.log

原文链接 https://onlineappsdba.com/index.php/2009/05/11/java-object-cache-distributed-java-caching-in-oracle-e-business-suite-11ir12/

赞(0) 打赏
未经允许不得转载:徐万新之路 » Java Object Cache (Distributed Java Caching) in Oracle E-Business Suite 11i/R12

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏