HikariPool Shutdown
See original GitHub issueHikariPool-1 - Shutdown initiated...
2018-03-19 23:33:20.386 INFO 1952 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2018-03-19 23:33:20.392 INFO 1952 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
The HikariPool automic exit at run time.
Issue Analytics
- State:
- Created 6 years ago
- Comments:20 (6 by maintainers)
Top Results From Across the Web
Spring boot "Hikari Pool Shutdown" early error - Stack Overflow
It seems you don't have any embedded web servers in your classpath. Try adding Tomcat through the spring-boot-starter-web dependency.
Read more >com.zaxxer.hikari.pool.HikariPool.shutdown java code examples
Best Java code snippets using com.zaxxer.hikari.pool.HikariPool.shutdown (Showing top 4 results out of 315). origin: com.zaxxer/HikariCP ...
Read more >Application - Shutting down connection pool - Play WS
I'm using IntelliJ for development and the sbt shell within IntelliJ to run and test the web service locally. Upon starting up the...
Read more >Spring boot "Hikari Pool Shutdown" early error-Springboot
Coding example for the question Spring boot "Hikari Pool Shutdown" early error-Springboot. ... HikariDataSource : HikariPool-1 - Shutdown initiated.
Read more >Spring Boot stop immediately after start up
HikariDataSource : HikariPool-1 - Shutdown initiated... 2020-07-01 00:19:14.308 INFO 61354 --- [extShutdownHook] com.zaxxer.hikari.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @wilkinsona thanks for your help, I fixed the issue. !!! You were right, the details of startup failure were not logging, so, to get more details i put my attention in the log4j warning messages:
Then, I added a log4.properties file and put here the settings, instead of in my normal application.properties
After this, it worked!!! I think the issue was about it was not able to log something and that was causing the startup failure.
BR
Thanks. I haven’t been able to reproduce the shutdown problem, but I do now have a better understanding of what’s happening. I’m now pretty sure that the application is shutting down due to a startup failure. The details of the startup failure are not logged due to the presence of Commons Logging (https://github.com/spring-projects/spring-boot/issues/12457).
You should remove your explicit dependency on Commons Logging and also exclude it. You can do so globally with this Gradle config: