ADF BC中AM的参数和配置方法

在ADF框架中,AM扮演着非常重要的角色。在将应用部署到服务器中的时候,AM的各个参数相应的也十分关键,包括考虑同时在线的用户数、Session失效时间、数据库连接等等。

1,AM中各个参数的定义可以参考ADF Fusion Developer Guide中相关章节;也可参考:Understanding Application Module Pooling Concepts and Configuration Parameters

其中比较重要的参数有:jbo.ampool.initpoolsize, jbo.ampool.maxpoolsize, jbo.recyclethreshold, jbo.ampool.maxavailablesize, jbo.ampool.minavailablesize, jbo.ampool.maxinactiveage, jbo.ampool.monitorsleepinterval。


2,各项参数的配置可以参考Metalink上的文章:BC4J (ADF BC) Configuration Tuning TipsOptimizing Oracle ADF Application Pool


3,对AM Pool进行统计分析可参考:Getting Application Module Pool Statistics to Aid with Size TuningDump Application Module Pooling Statistics Servlet

提醒自己:Idle Instance Timeout (60 sec - how long application module instance will stay idle until it will be marked as inactive), Pool Pooling Interval (30 sec - interval to check for inactive application module instances and remove them from the pool. this means, if after 60 sec instance is marked as inactive, during next 30 sec it will be removed from the pool), Maximum Instance Time to Live (even after application module instance is removed from the pool, its still alive and keeps DB connection reserved - in order to clean it, maximum time to live is set. it definitely should be longer comparing to Idle Instance Timeout + Pool Pooling Interval).


4,AM的生命周期可参考: AM pool中的AM实例的生命周期

你可能感兴趣的:(ADF)