Open Kalpanayella opened 4 years ago
Hello, With the same configuration but with PostgreSQL (9.6) as a database. I observe the same behaviour. I have developped my own Cli with devportal and publisher APIs. The more i used it, the more connections are open with database until no more connections are available. The behaviour is the same if i directly use the devportal or publisher portal. Then WSO2 AM publisher and devportal are freezed and no more usable.
Is there a fix expected for this bug ?
Description:
With WSO2 APIM v3.1.0 configured with MySQL databases, when we create an API in the publisher UI and update it, we see the number of AM_DB connections increase on each update. Eventually, the number of connections are exhausted, and WSO2 fails to perform any further updates. This was not happening in WSO2 AM 2.6.0
Steps to reproduce:
Install the vanilla version of WSO2-3.1.0.
Download the MySQL Java connector JAR file, and extract it.
Copy it to the/repository/components/lib/ directory.
Create databases on MySQL.
Execute DB scripts to create tables on the MySQL database.
Open the/repository/conf/deployment.toml configuration file and locate the [database.shared_db] and [database.apim_db] configuration elements.
Updated the URL pointing to your MySQL database, the username, and the password required to access the database and the MySQL driver details.
Do the changes to use the MySQL database in deployment.toml as follows:
Affected Product Version:
Wso2 APIM v3.1.0
Environment details (with versions):
Suggested Labels:
Priority/highest/urgent