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

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条回答 默认 最新

相关推荐 更多相似问题