日志信息 如下,麻烦大佬帮忙看下
[root@hdfs2 udp]# tail -f udp-server-info.2022-10-10.log
2022-10-10 17:05:42 [main] INFO cn.ucloud.udp.UDPServerApplication - The following profiles are active: server
2022-10-10 17:05:59 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-10-10 17:06:00 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 80 (http)
2022-10-10 17:06:00 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-80"]
2022-10-10 17:06:00 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2022-10-10 17:06:00 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.29]
2022-10-10 17:06:00 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2022-10-10 17:06:00 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 17828 ms
2022-10-10 17:06:01 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2022-10-10 17:06:02 [main] INFO cn.ucloud.udp.filter.SignAuthFilter - Init SignAuthFilter.
2022-10-10 17:06:06 [main] INFO cn.ucloud.udp.async.pool.UDPThreadPoolTaskExecutor - Initializing ExecutorService
2022-10-10 17:06:06 [main] INFO cn.ucloud.udp.async.pool.UDPThreadPoolTaskExecutor - Initializing ExecutorService 'UDPExecutor'
2022-10-10 17:06:08 [main] INFO cn.ucloud.udp.service.ServerServiceService - Check for any remaining status exceptions of ServiceState.
2022-10-10 17:06:08 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2022-10-10 17:06:09 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverAlertConfigController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverAlertConfigService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverClusterService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverNodeService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConfigService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverComponentService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverServiceService': Invocation of init method failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'db_udp'
### The error may exist in cn/ucloud/udp/orm/mapper/single/TUdpServiceStateMapper.java (best guess)
### The error may involve cn.ucloud.udp.orm.mapper.single.TUdpServiceStateMapper.selectList
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'db_udp'
2022-10-10 17:06:09 [main] INFO cn.ucloud.udp.async.pool.UDPThreadPoolTaskExecutor - Shutting down ExecutorService 'UDPExecutor'
2022-10-10 17:06:09 [main] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2022-10-10 17:06:09 [main] INFO cn.ucloud.udp.filter.SignAuthFilter - Destroy SignAuthFilter.
2022-10-10 17:06:09 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
0
回答1
回答0
回答1
回答0
回答1
回答1
回答0
回答0
回答1
回答