Message Boards

[LF71GA3] Liferay server is not reachable because of HikaryPool Error

Tinfo Tinfo, modified 3 Years ago.

[LF71GA3] Liferay server is not reachable because of HikaryPool Error

New Member Posts: 14 Join Date: 5/14/20 Recent Posts

Hello,

yesterday we had a problem with a liferay server that was not reachable, the server was working fine from months without the necessity to restart it, in the logs we found the following error:

2020-11-30 21:00:40.712 ERROR [PersistedQuartzSchedulerEngineInstance_QuartzSchedulerThread][ErrorLogger:2361] An error occurred while scanning for the next triggers to fire.
org.quartz.JobPersistenceException: Couldn't acquire next trigger: HikariPool-1 - Connection is not available, request timed out after 30000ms. [See nested exception: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.]
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2827)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2755)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3798)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751)
	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)
Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
	at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:601)
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:194)
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:144)
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
	at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.getTargetConnection(LazyConnectionDataSourceProxy.java:403)
	at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:376)
	at com.sun.proxy.$Proxy6.prepareStatement(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)
	at com.sun.proxy.$Proxy398.prepareStatement(Unknown Source)
	at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(StdJDBCDelegate.java:2557)
	at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2778)
	... 4 more

Restarting the server solved the problem, but we want to understand what caused this error, anyone have some hint?

Thanks.

thumbnail
Olaf Kock, modified 3 Years ago.

RE: [LF71GA3] Liferay server is not reachable because of HikaryPool Error

Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent Posts

Hard to say if it's a one-off. Your database might have been restarted, or some network cable unplugged for a while, a switch being replaced. A bit might have flipped. Or somebody unplugged the database server from power to vacuum the datacenter.

Tinfo Tinfo, modified 3 Years ago.

RE: RE: [LF71GA3] Liferay server is not reachable because of HikaryPool Err

New Member Posts: 14 Join Date: 5/14/20 Recent Posts

Hi Olaf, thanks for answer, could you also take a minute to watch this question to see if you know what could be the problem? Thanks.