On 04/05/2022 22:29, Mohamed Eliyas Abdul Kadar wrote:
Hi All
I am trying to limit the db connections on the oracle side by limiting the size
of connection pool in the datasource config as below. I tried setting the max
size to 20 by maxTotal/ maxActive either of them didn't work. The db side
connection was always more than 30. Please advise.
<Resource name="jdbc/portal" auth="Container" type="javax.sql.DataSource"
initialSize="10" maxTotal="10" maxIdle="10" maxWaitMillis="10000"
username="PORTAL" password="cde"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@cde" factory="SecureDataSource"/>
Which file is the above configuration snippet taken from? Full path
relative to CATALINA_BASE please.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org