停掉前的日志信息如下:
2017-12-26 15:12:10.857 INFO 10878 --- [ Thread-3] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@64a294a6: startup date [Tue Dec 26 14:53:02 CST 2017]; root of context hierarchy
2017-12-26 15:12:10.860 INFO 10878 --- [ Thread-3] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
2017-12-26 15:12:10.867 INFO 10878 --- [ Thread-3] org.mongodb.driver.connection : Closed connection [connectionId{localValue:2, serverValue:26574}] to 120.25.224.11:28888 because the pool has been closed.
我用了mongodb和redis数据库,内置的tomcat
请问是什么原因呢?应该怎么解决啊?
谢谢了
这些不是原因,看上去更象关闭事件带来的结果. 再往上看看有没有其他相关的日志输出