Thread: Which BC4J / JDBC pooling configurations are global for a JVM?


Permlink Replies: 3 - Pages: 1 - Last Post: Aug 11, 2005 10:39 AM Last Post By: Sascha Herrmann
Markus Schneider

Posts: 646
Registered: 05/29/01
Which BC4J / JDBC pooling configurations are global for a JVM?
Posted: Apr 14, 2005 12:20 AM
Click to report abuse...   Click to reply to this thread Reply
There are several documents and postings saying that some of the BC4J / JDBC Pooling properties are unique for the JVM.

So if i have 3 WAR files with 3 different settings in bc4j.xcfg (transaction factory, pooling settings) some of the settings are ignored after the first AM Pool is instanciated. This could be the reason for some "unreproducable" problems we have.

So please provide us a list, which properties additional to the ones below are global per JVM and which are really used from the bc4j.xcfg.

1. http://forums.oracle.com/forums/thread.jsp?forum=83&thread=168448 says about the TransactionFactory
Please not that this property is a static BC4J property. Meaning that the value of this property when the first ApplicationModule is created is the value which will be used. If you have multiple ApplicationPool(s) then it is necessary to define the property in all configurations, dynamically, or as a system property.

2. http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html says about jbo.ampool.monitorsleepinterval

Since there is only a single application monitor pool monitor per Java VM, the value that will effectively be used for the AM pool monitor polling interval will be the value found in the AM configuration read by the first AM pool that gets created. To make sure this value is set in a predictable way, it is best practice for all application modules to use the same Pool Polling Interval value.

and

3. Since the tuning parameters for all ADF database connection pools - regardless of <JDBCURL,Username> value - will be set based on the parameters found in the configuration for the first AM pool that is created. To insure the most predictable behavior, it is best practice to leave the values of the parameters in the Connnection Pooling section of the Pooling and Scalability tab at their default values - so that no entry for them is written into the bc4j.xcfg file - and to instead set the desired values for the database connection pooling tuning parameters as Java System Parameters in your J2EE container.

Sounds like this means the parameters: jbo.initpoolsize, jbo.maxpoolsize, jbo.poolmonitorsleepinterval, jbo.poolmaxavailablesize, jbo.poolminavailablesize, jbo.poolmaxinactiveage ?

4. And http://oracle-web.petersons.com/bc4jdoc/bc_aappmodpooling.htm tells There is one connection pool manager for each business logic tier's Java VM. Connections remain in the pool until the Java VM stops running.

Thanks, Markus
Markus Schneider

Posts: 646
Registered: 05/29/01
9.0.5.2: sessioncookiefactoryclass not read from jboserver.properties
Posted: Aug 10, 2005 5:50 AM   in response to: Markus Schneider in response to: Markus Schneider
Click to report abuse...   Click to reply to this thread Reply
Just another funny observation regarding BC4J parameter settings in 9.0.5.2:

Setting jbo.ampool.sessioncookiefactoryclass in the jboserver.properties is ignored. Setting in bc4j.xcfg works.

rgds, Markus
Steve Muench

Posts: 5,912
Registered: 01/10/01
Re: 9.0.5.2: sessioncookiefactoryclass not read from jboserver.properties
Posted: Aug 10, 2005 11:20 AM   in response to: Markus Schneider in response to: Markus Schneider
Click to report abuse...   Click to reply to this thread Reply
Sascha Herrmann

Posts: 952
Registered: 05/17/02
Re: 9.0.5.2: sessioncookiefactoryclass not read from jboserver.properties
Posted: Aug 11, 2005 10:39 AM   in response to: Steve Muench in response to: Steve Muench
Click to report abuse...   Click to reply to this thread Reply
Thanks. Very useful!

Sascha
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums