When I try to publish layouts to the Live site of Staging, it fails with an exception:
java.sql.SQLException: Connection has already been closed.
Environment
Liferay DXP 7.0
Liferay DXP 7.1
Resolution
Check your database connection pool configuration
If one of the transactions last more than the timeout that is specified for the removeAbandonedTimeout property, it will be considered as incomplete and it will be abandoned.
Raise the value of your removeAbandonedTimeout property in your DBCP configuration (default: 300)