ERROR [JDBCExceptionReporter:101] Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException M

  • ERROR [JDBCExceptionReporter:101] Communications link failure due to underlying exception:
  • ** BEGIN NESTED EXCEPTION **
  • java.net.SocketException
  • MESSAGE: Broken pipe
  • This error always comes out to my logs, while liferay is up but the good thing is it doesn't have an effect at all. The reason is that the application is left idle after a few hours, then this error will come out.
  • To solve this kind of problem, you have to edit your portal-ext.properties file. In my case, i was connecting to MySQL 5 database and i want to share my settings of my portal-ext.properties file: