正常启动
[2022-01-12 12:05:02:178] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
[2022-01-12 12:05:03:401] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver - Exposing 4 endpoint(s) beneath base path '/actuator'
[2022-01-12 12:05:03:493] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:sendRoomLivePreviewRemind, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@1ccce165[class com.bosscloud.live.job.RoomLivePreviewRemindJob$$EnhancerBySpringCGLIB$$9a29de07#sendRoomLivePreviewRemind]
[2022-01-12 12:05:03:494] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:generateRoomLivePosterJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@943cf5[class com.bosscloud.live.job.RoomLiveJob$$EnhancerBySpringCGLIB$$ca98d7a4#generateRoomLivePosterJobHandler]
[2022-01-12 12:05:03:494] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:flushESData, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@2926f7bd[class com.bosscloud.live.job.RoomLiveJob$$EnhancerBySpringCGLIB$$ca98d7a4#flushESData]
[2022-01-12 12:05:03:527] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:pushStreamToLive, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@5a20f793[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#pushStreamToLive]
[2022-01-12 12:05:03:527] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:stopPushStream, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@211cf27b[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#stopPushStream]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:startAutoLiveJob, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@4e0139[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#startAutoLiveJob]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:prepareAutoLiveJob, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@1e4b9592[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#prepareAutoLiveJob]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:publishLiveBroadcast, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@438a65a7[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#publishLiveBroadcast]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:publishProjectToLive, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@543c887[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#publishProjectToLive]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:changeRoomLiveInfo, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@75f446df[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#changeRoomLiveInfo]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:stopAutoLiveJob, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3751baf6[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#stopAutoLiveJob]
[2022-01-12 12:05:03:528] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:clearExpiredSchema, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@27e656e6[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$74478630#clearExpiredSchema]
[2022-01-12 12:05:04:404] INFO [TraceId=${bc:bcTraceId}] [Thread-614] com.xxl.job.core.server.EmbedServer - >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 58121
[2022-01-12 12:05:04:444] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.cloud.netflix.eureka.serviceregistry.EurekaServiceRegistry - Registering application BOSSCLOUD-LIVE-PROD with eureka with status UP
[2022-01-12 12:05:04:448] WARN [TraceId=${bc:bcTraceId}] [main] com.netflix.discovery.InstanceInfoReplicator - Ignoring onDemand update due to rate limiter
[2022-01-12 12:05:04:449] INFO [TraceId=${bc:bcTraceId}] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-58120"]
[2022-01-12 12:05:04:502] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 58120 (http) with context path ''
启动失败
[2022-01-12 11:57:18:283] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
[2022-01-12 11:57:19:307] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver - Exposing 4 endpoint(s) beneath base path '/actuator'
[2022-01-12 11:57:19:399] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:sendRoomLivePreviewRemind, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3af6c672[class com.bosscloud.live.job.RoomLivePreviewRemindJob$$EnhancerBySpringCGLIB$$b371a654#sendRoomLivePreviewRemind]
[2022-01-12 11:57:19:400] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:generateRoomLivePosterJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@12948e7a[class com.bosscloud.live.job.RoomLiveJob$$EnhancerBySpringCGLIB$$e3e09ff1#generateRoomLivePosterJobHandler]
[2022-01-12 11:57:19:400] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:flushESData, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@497c1d78[class com.bosscloud.live.job.RoomLiveJob$$EnhancerBySpringCGLIB$$e3e09ff1#flushESData]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:prepareAutoLiveJob, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7d12fb85[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#prepareAutoLiveJob]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:publishLiveBroadcast, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@71db6703[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#publishLiveBroadcast]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:publishProjectToLive, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@470ad01c[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#publishProjectToLive]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:changeRoomLiveInfo, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@6e349258[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#changeRoomLiveInfo]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:stopAutoLiveJob, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@41092c8[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#stopAutoLiveJob]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:clearExpiredSchema, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@2e590e36[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#clearExpiredSchema]
[2022-01-12 11:57:19:419] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:pushStreamToLive, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3fc2a1d1[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#pushStreamToLive]
[2022-01-12 11:57:19:420] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:startAutoLiveJob, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@752e4223[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#startAutoLiveJob]
[2022-01-12 11:57:19:420] INFO [TraceId=${bc:bcTraceId}] [main] com.xxl.job.core.executor.XxlJobExecutor - >>>>>>>>>>> xxl-job register jobhandler success, name:stopPushStream, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7528089c[class com.bosscloud.live.task.AutoLiveTask$$EnhancerBySpringCGLIB$$8d8f4e7d#stopPushStream]
[2022-01-12 11:57:20:646] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.cloud.netflix.eureka.serviceregistry.EurekaServiceRegistry - Registering application BOSSCLOUD-LIVE-PROD with eureka with status UP
[2022-01-12 11:57:20:650] WARN [TraceId=${bc:bcTraceId}] [main] com.netflix.discovery.InstanceInfoReplicator - Ignoring onDemand update due to rate limiter
[2022-01-12 11:57:20:654] INFO [TraceId=${bc:bcTraceId}] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-58120"]
[2022-01-12 11:57:20:747] INFO [TraceId=${bc:bcTraceId}] [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 58120 (http) with context path ''
8条答案
按热度按时间muk1a3rh1#
没看到启动失败的日志信息呀,方便把错误日志贴详细一点吗,并附上版本号
ntjbwcob2#
没看到启动失败的日志信息呀,方便把错误日志贴详细一点吗,并附上版本号
我这边也刚出现服务器上无法启动问题
2022-01-21 05:36:05.912 WARN 71531 --- [ main] c.xxl.job.core.executor.XxlJobExecutor : >>>>>>>>>>> xxl-job accessToken is empty. To ensure system security, please set the accessToken.
2022-01-21 05:36:05.957 INFO 71531 --- [ main] c.l.bjxxk.tasks.BjxxkTaskApplication : Started BjxxkTaskApplication in 6.838 seconds (JVM running for 7.729)
启动成功!
2022-01-21 05:36:06.028 INFO 71531 --- [extShutdownHook] com.xxl.job.core.server.EmbedServer : >>>>>>>>>>> xxl-job remoting server destroy success.
2022-01-21 05:36:06.028 INFO 71531 --- [FileCleanThread] c.x.j.core.thread.JobLogFileCleanThread : >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destory.
2022-01-21 05:36:06.029 INFO 71531 --- [rCallbackThread] c.x.j.core.thread.TriggerCallbackThread : >>>>>>>>>>> xxl-job, executor callback thread destory.
2022-01-21 05:36:06.030 INFO 71531 --- [ Thread-4] c.x.j.core.thread.TriggerCallbackThread : >>>>>>>>>>> xxl-job, executor retry callback thread destory.
pbpqsu0x3#
没看到启动失败的日志信息呀,方便把错误日志贴详细一点吗,并附上版本号
2.3.0 版本,本地执行正常,服务器上没EmbedServer启动日志,直接就destory了,也没有错误日志出来
niwlg2el4#
@wulove 看你的启动日志好像项目刚启动就destroy了,说明项目可能启动有问题,可以看下tomcat的启动日志排查一下。方便说一下你们服务器的启动环境吗,docker的?还是war包启动的?我测试一下
5sxhfpxr5#
@wulove 看你的启动日志好像项目刚启动就destroy了,说明项目可能启动有问题,可以看下tomcat的启动日志排查一下。方便说一下你们服务器的启动环境吗,docker的?还是war包启动的?我测试一下
客户服务器,华为提供的云服务,是通过springboot 2.6.1集成无web服务的,java 命令执行打包好的jar包运行
jaxagkaj6#
@zhaoxinhu@wulove@xuxueli
环境
现象
hmae6n7t7#
@lang2hong 你的日志信息看起来EmbedServer确实没启动成功日志,但是没有任务异常信息,跟wulove还不一样,他的一看就是destroy了。我们是用的war包形式,我们用的xxl-core:2.3.0目前没遇到问题。我找时间试一下你这个版本的jar包形式吧
tzdcorbm8#
@lang2hong@wulove 你们可以先尝试升级一下xxl-core的版本,使用最新的如果没有问题的话,先用着