【问题标题】:Spring Boot not starting on Digital OceanSpring Boot 未在 Digital Ocean 上启动
【发布时间】:2017-01-11 02:14:50
【问题描述】:

我有一个运行 Ubuntu 并安装了 Java JDK 1.8 的 Droplet。我已经转移了我的弹簧靴脂肪罐。我可以在我的本地机器上执行它没有问题。在 Digital Ocean 上,它无限期地挂起,如下所示。我刚刚将内存从 512MB 升级到 1GB,同样的问题。

2016-09-02 22:02:13.010  INFO 2529 --- [           main] com.example.Application                  : Starting Application v1.0-SNAPSHOT on restfulProducts with PID 2529 (/home/aaron/restApp/springboot-1.0-SNAPSHOT.jar started by aaron in /home/aaron/restApp)
2016-09-02 22:02:13.022  INFO 2529 --- [           main] com.example.Application                  : No active profile set, falling back to default profiles: default
2016-09-02 22:02:13.250  INFO 2529 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@736e9adb: startup date [Fri Sep 02 22:02:13 UTC 2016]; root of context hierarchy
2016-09-02 22:02:16.880  INFO 2529 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$41018882] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-02 22:02:18.233  INFO 2529 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2016-09-02 22:02:18.280  INFO 2529 --- [           main] o.apache.catalina.core.StandardService   : Starting service Tomcat
2016-09-02 22:02:18.283  INFO 2529 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.4
2016-09-02 22:02:18.512  INFO 2529 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2016-09-02 22:02:18.512  INFO 2529 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 5271 ms
2016-09-02 22:02:18.948  INFO 2529 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [/]
2016-09-02 22:02:18.957  INFO 2529 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2016-09-02 22:02:18.958  INFO 2529 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-09-02 22:02:18.958  INFO 2529 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-09-02 22:02:18.958  INFO 2529 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]

【问题讨论】:

标签: spring spring-boot digital-ocean


【解决方案1】:

Fateddy 的建议没有奏效,但它发现了正确的问题;低熵。使用haveged的https://www.digitalocean.com/community/tutorials/how-to-setup-additional-entropy-for-cloud-servers-using-haveged完美运行。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-24
    • 1970-01-01
    • 2022-08-05
    相关资源
    最近更新 更多