Can't publish pages to live in staging

Issue

  • 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)

Additional Information

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助