search cancel

API Portal: HTTP Error 500 to Access Any Tenant Page

book

Article ID: 189805

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

When we are trying to access API Portal page. In the first time, the page return the following error:

Could not open JPA Entity Manager for transaction.

After we refresh the page, the portal is working normally.

Environment

API Portal: 4.5

Resolution

Your database connections appear to be closing sooner than expected.

The Azure Database for MySQL has a short wait_timeout value for the server parameter by default. Please increase this value to 28800.