iportal二次开发时用Java application启动本地的iportal服务包错,有什么固定的问题才报错吗?
2017-5-18 17:05:11 - WARN - MonitorMQHelper.startReceiver.occurs.IOException:Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
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 com.supermap.server.impl.nodemonitor.EndPoint.<init>(SourceFile:49)
at com.supermap.server.impl.nodemonitor.MonitorMQReceiver.<init>(SourceFile:33)
at com.supermap.server.impl.nodemonitor.MonitorMQHelper.startReceiver(SourceFile:146)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.g(SourceFile:242)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.a(SourceFile:220)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.init(SourceFile:151)
at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:659)
at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:569)
at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:157)
at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:208)
at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:80)
at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:121)
at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:177)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
at com.supermap.server.host.webapp.ApplicationFilter.init(SourceFile:156)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:118)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:770)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at com.supermap.iportal.web.custom.server.IportalServer.start(IportalServer.java:48)
at com.supermap.iportal.web.custom.server.IportalServer.main(IportalServer.java:101)
iPortal服务启动成功:http://localhost:8091/iportal