Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TomcatConnection pool connection go stale after some time #61

Open
antworkscomp opened this issue Oct 27, 2021 · 1 comment
Open

TomcatConnection pool connection go stale after some time #61

antworkscomp opened this issue Oct 27, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@antworkscomp
Copy link

antworkscomp commented Oct 27, 2021

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

@simonmarty simonmarty added the bug Something isn't working label May 10, 2022
@rohitnitk
Copy link

tomcat does even work with context ?? How do you do that with secret manager and aws-secretmanager-jdbc..

@antworkscomp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants