Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: WebLogic, Oracle JDBC related

RE: WebLogic, Oracle JDBC related

From: Bill Pass <wbpass_at_YAHOO.COM>
Date: Thu, 27 Jun 2002 14:23:27 -0800
Message-ID: <F001.0048B03D.20020627142327@fatcity.com>


We are using WebLogic EJB on my current project. We maintain around 150 connections to the main database (+ a whole bunch to other data sources) and this particular aspect of the project works as advertized. My suspicion is that the person setting up the app server does not know how to properly configure the connection pools as was suggested. They have a truely ugly GUI to do this (although being an old command line hack I prefer to just look at the config.xml file).

When configuringn your JDBC connection pools (yeah you can have multiple, even for the same database) you specify such things as (this is the tuning list, not an inclussive list):
DriverName -- we are using the oracle OCI driver so we can use TAF and CLB
InitialCapacity -- How many connections to create when the pool is created (defaults to 1)
MaxCapacity -- Maximum number of connections to permit at any one time (defaults to 1)
CapacityIncrement -- Number of connections to create at one time when there aren't enough (defaults to 1) RefreshMinutes -- Number of minutes to wait to test idle connections for connectivity to the database (uses the TestTable parameter). Any connection that fails is recreated
ShrinkingEnabled -- Permits the connection pool to be shrunk when previously created connections are no longer needed
ShrinkPeriodMinutes -- Period of time to wait between checks of idle connections to shrink (assuming ShrinkingEnabled is set)

Hope this is helpful,
Bill  


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bill Pass
  INET: wbpass_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jun 27 2002 - 17:23:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US