语者心也 2022-03-09 16:54 采纳率: 66.7%
浏览 230
已结题

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@2a50b32d[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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@5f61371d
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  0th  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@4c496a0f[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@4c496a0f[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  1th  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@6742db1[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@6742db1[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  2th  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  3th  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@5fa69028[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@5fa69028[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  4th  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@4773720b[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@4773720b[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  5th  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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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@6e8dacdf
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条回答 默认 最新

  • 燕_青 2022-03-09 17:30
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 3月18日
  • 已采纳回答 3月10日
  • 创建了问题 3月9日

悬赏问题

  • ¥15 如何删除这个虚拟音频
  • ¥50 hyper默认的default switch
  • ¥15 网站打不开,提示502 Bad Gateway
  • ¥20 基于MATLAB的绝热压缩空气储能系统代码咨询
  • ¥15 R语言建立随机森林模型出现的问题
  • ¥20 unity内置语言切换的按钮设置
  • ¥15 中级微观经济学,生产可能性边界问题
  • ¥15 TCP传输时不同网卡传输用时差异过大
  • ¥15 请各位看看我写的属于什么算法,或者有更正确的写法?
  • ¥15 html5 qrcode 扫描器