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

[4.1.0] Database connections are getting busy when using Monetization feature #80

Closed
arunans23 opened this issue May 14, 2022 · 1 comment

Comments

@arunans23
Copy link
Member

Description:

$subject

Caused by: org.apache.tomcat.jdbc.pool.PoolExhaustedException: [https-jsse-nio-9443-exec-45] Timeout: Pool empty. Unable to fetch a connection in 60 seconds, none available[size:50; busy:50; idle:0; lastwait:60000].
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:738)
at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:198)
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:136)
at org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.getDBConnection(JDBCPersistenceManager.java:147)
... 57 more

Steps to reproduce:

  1. Configure monetization with Stripe
    https://apim.docs.wso2.com/en/latest/design/api-monetization/monetizing-an-api/

  2. When working with feature, you will observe the error.

Affected product version:

4.1.0

@hisanhunais
Copy link

Fixed via wso2-extensions/wso2-am-stripe-plugin#37 and is available from org.wso2.apim.monetization.impl-1.4.0.jar onwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants