Spring Boot Rest服务因错误而关闭:上下文层次结构的根

时间:2019-02-06 11:13:40

标签: java spring-boot spring-mvc

我在Spring启动中拥有我的Web服务后端,在服务器上部署此服务后,由于一段时间后服务关闭,我遇到了问题。我正在制作jar并在服务器上运行jar。

下面是日志输出:

2019-02-06 08:15:44.646  INFO 1165 --- [       Thread-3] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3ab39c39: startup date [Tue Feb 05 20:37:03 IST 2019]; root of context hierarchy
2019-02-06 08:15:44.649  INFO 1165 --- [       Thread-3] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 2147483647
2019-02-06 08:15:44.649  INFO 1165 --- [       Thread-3] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED paused.
2019-02-06 08:15:44.650  INFO 1165 --- [       Thread-3] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2019-02-06 08:15:44.652  INFO 1165 --- [       Thread-3] o.s.s.quartz.SchedulerFactoryBean        : Shutting down Quartz Scheduler
2019-02-06 08:15:44.652  INFO 1165 --- [       Thread-3] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED shutting down.
2019-02-06 08:15:44.653  INFO 1165 --- [       Thread-3] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED paused.
2019-02-06 08:15:44.653  INFO 1165 --- [       Thread-3] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED shutdown complete.
2019-02-06 08:15:44.663  INFO 1165 --- [       Thread-3] org.mongodb.driver.connection            : Closed connection [connectionId{localValue:4, serverValue:132213}] to <<server:IP>> because the pool has been closed.

0 个答案:

没有答案
相关问题