报错信息:
[ERROR][2017-10-28 17:32:42,331][net.nettime.mobileimsdk.server.bridge.MQProvider][IMMQ] - 【NO】getConnection()时出错了,原因是:Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.rabbitmq.client.impl.FrameHandlerFactory.create(FrameHandlerFactory.java:47)
at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:50)
at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init(AutorecoveringConnection.java:108)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:816)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:778)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:868)
at net.nettime.mobileimsdk.server.bridge.MQProvider.tryGetConnection(MQProvider.java:218)
at net.nettime.mobileimsdk.server.bridge.MQProvider.start(MQProvider.java:260)
at net.openmob.mobileimsdk.server.ServerCoreHandler.lazyStartupBridgeProcessor(ServerCoreHandler.java:105)
at net.openmob.mobileimsdk.server.ServerLauncher.startup(ServerLauncher.java:207)
at com.worfu.core.servlet.InitDataListener.init(InitDataListener.java:38)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1282)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1195)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1085)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5349)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5641)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[ERROR][2017-10-28 17:32:42,334][net.nettime.mobileimsdk.server.bridge.MQProvider][IMMQ-↑] - [start()中]【严重】connction还没有准备好,conn.createChannel()失败,start()没有继续!(原因:connction==null)【5秒后重新尝试start】