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

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 09:30
    关注

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

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

报告相同问题?

问题事件

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

悬赏问题

  • ¥15 STS/eclipse导入gradle项目时报错如下
  • ¥15 centos7.6进不去系统,卡在数字7界面
  • ¥15 Tensorflow采用interpreter.allocate_tensors()分配内存出现ValueError: vector too long报错
  • ¥15 使用CGenFF在线生成血红素辅基拓扑结构遇到问题
  • ¥15 在fragment使用okhttp同步上传文件,能不能在fragment销毁后还可以继续上传文件?
  • ¥20 matlab代码实现可达矩阵形成骨骼矩阵
  • ¥15 关于地板的木纹和图库中的匹配的
  • ¥30 机器学习预测疾病模型流程疑问
  • ¥50 2048Python实现
  • ¥15 使用ads进行低噪放仿真没有结果且不报错
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部