Openshift-启动时出现应用错误

时间:2019-09-06 05:40:22

标签: java openshift

我正在尝试将mysql的springboot应用程序部署为openshift平台上的数据库。我已经提取了数据库映像及其运行。但是当我拉出spring应用程序时,它被部署并连接到数据库。但是,我仍然无法击中终点,当我检查吊舱时,我会收到 Crashloopback 错误。

任何人都可以帮助我解决该问题。

  
    

NAME READY STATUS重启年龄

         

mysql-3-deploy 0/1完成0 43m

         

mysql-3-p2rb6 1/1运行0 43m

         

partydetailswithdb-1-deploy 0/1完成0 46m

         

partydetailswithdb-2-cs8jp 0/1 CrashLoopBackOff 12 41m

         

partydetailswithdb-2-deploy 0/1完成0 41m

         
      

2019-09-06 05:19:09.519信息1 --- [main] c.c.openbanking.PartydetailsApplication:始于PartydetailsApplication       带有PID 1的partydetailswithdb-2-cs8jp上的v0.0.1-SNAPSHOT(/partyv2.jar已启动       /)中的1000880000

             

2019-09-06 05:19:09.532信息1 --- [main] c.c.openbanking.PartydetailsApplication:未设置活动配置文件,后退到默认配置文件:默认

             

2019-09-06 05:19:09.817信息1 --- [主] ConfigServletWebServerApplicationContext:刷新org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@16b4a017:启动日期[星期五9月6日05:19: 2019年格林尼治标准时间09]上下文层次结构的根

             

2019-09-06 05:19:15.003信息1 --- [main] trationDelegate $ BeanPostProcessorChecker:类型为[com.cg.openbanking.configuration.WebServiceConfig $$ EnhancerBySpringCGLIB $$ 1f075603]的Bean'webServiceConfig'有资格被所有BeanPostProcessor处理(例如:不具备自动代理资格)

             

2019-09-06 05:19:15.015信息1-[[main] trationDelegate $ BeanPostProcessorChecker:类型为[org.springframework.ws.config的Bean'org.springframework.ws.config.annotation.DelegatingWsConfiguration'。注解。DelegatingWsConfiguration$$ EnhancerBySpringCGLIB $$ b5052733]不符合所有BeanPostProcessor的处理要求(例如:不符合自动代理的条件)

             

2019-09-06 05:19:15.143信息1 --- [main] .w.s.a.s。AnnotationActionEndpointMapping:支持[WS-Addressing August 2004,WS-Addressing 1.0]       2019-09-06 05:19:15.237信息1-[[main] trationDelegate $ BeanPostProcessorChecker:类型[io.opentracing.contrib.spring的Bean'io.opentracing.contrib.spring.cloud.async.DefaultAsyncAutoConfiguration $ DefaultTracedAsyncConfigurerSupport' .cloud.async.DefaultAsyncAutoConfiguration $ DefaultTracedAsyncConfigurerSupport $$ EnhancerBySpringCGLIB $$ 55d5a4ef]不符合所有BeanPostProcessor的处理要求(例如:不符合自动代理的条件)

             

2019-09-06 05:19:15.600信息1 --- [main] trationDelegate $ BeanPostProcessorChecker:类型为[org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration $的Bean'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' $ EnhancerBySpringCGLIB $$ 106d6234]不符合所有BeanPostProcessor的处理条件(例如:不符合自动代理的条件)

             

2019-09-06 05:19:16.139信息1-[[main] trationDelegate $ BeanPostProcessorChecker:类型为[io.opentracing.contrib]的Bean'io.opentracing.contrib.spring.cloud.async.DefaultAsyncAutoConfiguration'。 spring.cloud.async.DefaultAsyncAutoConfiguration $$ EnhancerBySpringCGLIB $$ 56f3758c]不适合所有BeanPostProcessor处理(例如:不适合自动代理)

             

2019-09-06 05:19:18.896信息1 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer:Tomcat初始化为端口:9999(http)

             

2019-09-06 05:19:19.108信息1 --- [主] o.apache.catalina.core.StandardService:启动服务[Tomcat]

             

2019-09-06 05:19:19.109信息1 --- [main] org.apache.catalina.core.StandardEngine:启动Servlet引擎:Apache Tomcat / 8.5.35

             

2019-09-06 05:19:19.202信息1 --- [ost-startStop-1] oacatalina.core.AprLifecycleListener:在以下位置未找到基于APR的Apache Tomcat本机库,该库可在生产环境中实现最佳性能java.library.path:[/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64:/usr /lib/jvm/java-1.8-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]

             

2019-09-06 05:19:19.501信息1-[ost-startStop-1] o.a.c.c.C. [Tomcat]。[localhost]。[/]:初始化Spring嵌入式WebApplicationContext       2019-09-06 05:19:19.501信息1-[ost-startStop-1] o.s.web.context.ContextLoader:根WebApplicationContext:初始化在9692毫秒内完成

             

2019-09-06 05:19:19.895信息1 --- [ost-startStop-1] ocswaServerTracingAutoConfiguration:创建将TracingFilter映射到[/ ]的FilterRegistrationBean bean,跳过模式为“ / api-docs | / autoconfig | / configprops | / dump | / health | / info | / metrics。 | / mappings | / swagger。 |。 .png |。 .css |。 .js |。 .html | /favicon.ico | /hystrix.stream“

             

2019-09-06 05:19:20.131信息1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“ tracingFilter”映射到网址:[/ *]

             

2019-09-06 05:19:20.132信息1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“ characterEncodingFilter”映射到:[/ *]

             

2019-09-06 05:19:20.132信息1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“ hiddenHttpMethodFilter”映射到:[/ *]

             

2019-09-06 05:19:20.132信息1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“ httpPutFormContentFilter”映射到:[/ *]

             

2019-09-06 05:19:20.132信息1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean:将过滤器:“ requestContextFilter”映射到:[/ *]

             

2019-09-06 05:19:20.132信息1 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean:Servlet messageDispatcherServlet映射到[/ ws / *]

             

2019-09-06 05:19:20.133信息1 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean:Servlet调度程序Servlet映射到[/]

             

2019-09-06 05:19:21.301信息1 --- [main] com.zaxxer.hikari.HikariDataSource:HikariPool-1-正在启动...

             

2019-09-06 05:19:22.303信息1 --- [main] com.zaxxer.hikari.HikariDataSource:HikariPool-1-开始完成。

             

2019-09-06 05:19:22.825信息1 --- [main] j.LocalContainerEntityManagerFactoryBean:为持久性单元“默认”构建JPA容器EntityManagerFactory

             

2019-09-06 05:19:22.933信息1 --- [main] o.hibernate.jpa.internal.util.LogHelper:HHH000204:处理PersistenceUnitInfo [               名称:默认               ...]

             

2019-09-06 05:19:23.230信息1 --- [main] org.hibernate.Version:HHH000412:Hibernate Core {5.2.17.Final}

             

2019-09-06 05:19:23.234信息1 --- [main] org.hibernate.cfg.Environment:HHH000206:找不到hibernate.properties

    
  

0 个答案:

没有答案