qq_45483068
语者心也 已结题
采纳率66.7% 2022-03-09

springboot项目启动,控制台一直循环日志,无法启动服务器

日志如下

2022 - 03 - 09 15 : 50 : 32.462 DEBUG 2398 --- [ main] o .s .c .support .DefaultLifecycleProcessor : Starting bean 'org.springframework.jms.config.internalJmsListenerEndpointRegistry' of type [class org.springframework.jms.config.JmsListenerEndpointRegistry] 2022 - 03 - 09 15 : 50 : 32.471 DEBUG 2398 --- [ main] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 2 a50b32d [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.472 DEBUG 2398 --- [ main] o .a .a .t .failover .FailoverTransport : Reconnect was triggered but transport is not started yet. Wait for start to connect the transport. 2022 - 03 - 09 15 : 50 : 32.521 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 82 2022 - 03 - 09 15 : 50 : 32.521 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "[Ljava.rmi.server.ObjID;" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.server.ObjID" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.server.UID" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.dgc.Lease" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.dgc.VMID" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 32.522 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "[B" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 32.523 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 84 2022 - 03 - 09 15 : 50 : 32.523 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 32.523 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 32.524 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "javax.management.ObjectName" , codebase = "" 2022 - 03 - 09 15 : 50 : 32.526 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 32.579 DEBUG 2398 --- [ main] o .a .a .t .failover .FailoverTransport : Started unconnected 2022 - 03 - 09 15 : 50 : 32.579 DEBUG 2398 --- [ main] o .a .a .t .failover .FailoverTransport : Waking up reconnect task 2022 - 03 - 09 15 : 50 : 32.579 DEBUG 2398 --- [ main] o .s .j .l .DefaultMessageListenerContainer : Established shared JMS Connection 2022 - 03 - 09 15 : 50 : 32.579 DEBUG 2398 --- [ main] o .s .j .l .DefaultMessageListenerContainer : Resumed paused task: org .springframework .jms .listener .DefaultMessageListenerContainer $AsyncMessageListenerInvoker @ 5 f61371d 2022 - 03 - 09 15 : 50 : 32.580 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : urlList connectionList: [tcp://localhost:61616] , from: [tcp://localhost:61616] 2022 - 03 - 09 15 : 50 : 32.616 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Attempting 0 th connect to: tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.616 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Connect fail to: tcp: //localhost:61616, reason: java.net.ConnectException: Connection refused (Connection refused) 2022 - 03 - 09 15 : 50 : 32.616 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Stopping transport tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.617 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 4 c496a0f [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.617 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Closed socket Socket [unconnected] 2022 - 03 - 09 15 : 50 : 32.618 DEBUG 2398 --- [ActiveMQ Task-1] o .apache .activemq .util .ThreadPoolUtils : Forcing shutdown of ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 4 c496a0f [Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1] 2022 - 03 - 09 15 : 50 : 32.618 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Waiting 10 ms before attempting connection 2022 - 03 - 09 15 : 50 : 32.630 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : urlList connectionList: [tcp://localhost:61616] , from: [tcp://localhost:61616] 2022 - 03 - 09 15 : 50 : 32.630 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Attempting 1 th connect to: tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.630 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Connect fail to: tcp: //localhost:61616, reason: java.net.ConnectException: Connection refused (Connection refused) 2022 - 03 - 09 15 : 50 : 32.630 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Stopping transport tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.630 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 6742 db1 [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.631 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Closed socket Socket [unconnected] 2022 - 03 - 09 15 : 50 : 32.631 DEBUG 2398 --- [ActiveMQ Task-1] o .apache .activemq .util .ThreadPoolUtils : Forcing shutdown of ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 6742 db1 [Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1] 2022 - 03 - 09 15 : 50 : 32.631 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Waiting 20 ms before attempting connection 2022 - 03 - 09 15 : 50 : 32.652 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : urlList connectionList: [tcp://localhost:61616] , from: [tcp://localhost:61616] 2022 - 03 - 09 15 : 50 : 32.652 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Attempting 2 th connect to: tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.652 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Connect fail to: tcp: //localhost:61616, reason: java.net.ConnectException: Connection refused (Connection refused) 2022 - 03 - 09 15 : 50 : 32.652 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Stopping transport tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.652 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 28165692 [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.652 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Closed socket Socket [unconnected] 2022 - 03 - 09 15 : 50 : 32.653 DEBUG 2398 --- [ActiveMQ Task-1] o .apache .activemq .util .ThreadPoolUtils : Forcing shutdown of ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 28165692 [Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1] 2022 - 03 - 09 15 : 50 : 32.653 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Waiting 40 ms before attempting connection 2022 - 03 - 09 15 : 50 : 32.698 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : urlList connectionList: [tcp://localhost:61616] , from: [tcp://localhost:61616] 2022 - 03 - 09 15 : 50 : 32.698 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Attempting 3 th connect to: tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.698 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Connect fail to: tcp: //localhost:61616, reason: java.net.ConnectException: Connection refused (Connection refused) 2022 - 03 - 09 15 : 50 : 32.698 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Stopping transport tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.698 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 5 fa69028 [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.699 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Closed socket Socket [unconnected] 2022 - 03 - 09 15 : 50 : 32.699 DEBUG 2398 --- [ActiveMQ Task-1] o .apache .activemq .util .ThreadPoolUtils : Forcing shutdown of ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 5 fa69028 [Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1] 2022 - 03 - 09 15 : 50 : 32.699 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Waiting 80 ms before attempting connection 2022 - 03 - 09 15 : 50 : 32.784 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : urlList connectionList: [tcp://localhost:61616] , from: [tcp://localhost:61616] 2022 - 03 - 09 15 : 50 : 32.784 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Attempting 4 th connect to: tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.784 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Connect fail to: tcp: //localhost:61616, reason: java.net.ConnectException: Connection refused (Connection refused) 2022 - 03 - 09 15 : 50 : 32.785 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Stopping transport tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.785 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 4773720 b [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.785 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Closed socket Socket [unconnected] 2022 - 03 - 09 15 : 50 : 32.785 DEBUG 2398 --- [ActiveMQ Task-1] o .apache .activemq .util .ThreadPoolUtils : Forcing shutdown of ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 4773720 b [Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1] 2022 - 03 - 09 15 : 50 : 32.785 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Waiting 160 ms before attempting connection 2022 - 03 - 09 15 : 50 : 32.950 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : urlList connectionList: [tcp://localhost:61616] , from: [tcp://localhost:61616] 2022 - 03 - 09 15 : 50 : 32.950 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Attempting 5 th connect to: tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.951 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Connect fail to: tcp: //localhost:61616, reason: java.net.ConnectException: Connection refused (Connection refused) 2022 - 03 - 09 15 : 50 : 32.951 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Stopping transport tcp: //localhost:61616 2022 - 03 - 09 15 : 50 : 32.951 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .thread .TaskRunnerFactory : Initialized TaskRunnerFactory [ActiveMQ Task] using ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 15074820 [Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 2022 - 03 - 09 15 : 50 : 32.951 DEBUG 2398 --- [ActiveMQ Task-1] o .a .activemq .transport .tcp .TcpTransport : Closed socket Socket [unconnected] 2022 - 03 - 09 15 : 50 : 32.951 DEBUG 2398 --- [ActiveMQ Task-1] o .apache .activemq .util .ThreadPoolUtils : Forcing shutdown of ExecutorService: java .util .concurrent .ThreadPoolExecutor@ 15074820 [Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1] 2022 - 03 - 09 15 : 50 : 32.951 DEBUG 2398 --- [ActiveMQ Task-1] o .a .a .t .failover .FailoverTransport : Waiting 320 ms before attempting connection 2022 - 03 - 09 15 : 50 : 33.027 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 82 2022 - 03 - 09 15 : 50 : 33.028 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 33.029 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 33.029 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "[Ljava.rmi.server.ObjID;" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 33.029 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.server.ObjID" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 33.029 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.server.UID" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 33.029 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.dgc.Lease" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 33.029 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "java.rmi.dgc.VMID" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 33.030 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .loader : RMI TCP Connection( 7 )- 127.0 . 0.1 : name = "[B" , codebase = "" , defaultLoader = sun .misc .Launcher $ExtClassLoader @ 6 e8dacdf 2022 - 03 - 09 15 : 50 : 33.030 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 84 2022 - 03 - 09 15 : 50 : 33.030 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80 2022 - 03 - 09 15 : 50 : 33.030 DEBUG 2398 --- [on(7)-127.0.0.1] sun .rmi .transport .tcp : RMI TCP Connection( 7 )- 127.0 . 0.1 : (port 59008 ) op = 80

网上有人说是端口占用了,但是我把虚拟机查了下并没有占用,防火墙也都关了。就很头疼。

  • 更多

1 条回答 默认 最新

  • u010290208
    燕_青
    2022-03-09
    专家已采纳 最佳回答

    看样子像是你服务启动时取链接activeMQ服务,但是一直没连上吧,你本地的mq服务启动了吗

    采纳该答案 专家已采纳 已采纳该答案
    登录 后可回复...

相关推荐 更多相似问题