iportal的二次开发问题

0 投票
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
5月 18, 2017 分类:  223次浏览 | 用户: 990914093 初出茅庐 (32 分)

1个回答

0 投票
 
已采纳
这个是个警告信息,你说有开启监控配置吗,监控配置需要安装rabbitmq server,如果你安装了,看一下服务是否有开启以及iportal的监控配置是否相符 这个你可以参考iportal的帮助文档里面搜索“监控服务器”
5月 19, 2017 用户: 刘美玲 名扬四海 (1,322 分)
采纳于 5月 19, 2017 用户:990914093
...