Open antworkscomp opened 2 years ago
Resource name="jdbc/eampleDB" auth="Container" type="javax.sql.DataSource" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" maxActive="100" maxIdle="30" maxWait="1000" username="awssecret"
driverClassName="com.amazonaws.secretsmanager.sql.AWSSecretsManagerMySQLDriver" url="jdbc-secretsmanager:mysql://hostname:3306/example?useSSL=false"
connection works for a time and after a some time connection go stale , connection already closed exception
tomcat does even work with context ?? How do you do that with secret manager and aws-secretmanager-jdbc..
@antworkscomp
Resource name="jdbc/eampleDB" auth="Container" type="javax.sql.DataSource" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" maxActive="100" maxIdle="30" maxWait="1000" username="awssecret"
connection works for a time and after a some time connection go stale , connection already closed exception