Corda节点AMQ119007:无法连接到服务器。尝试了所有可用的服务器

时间:2019-01-29 07:29:05

标签: corda cordite

对于我的开发环境,我正在运行一个https://gitlab.com/cordite/network-map-service,我向其注册了corda节点。问题在于它无法从以下错误开始。

 org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ119007: Cannot connect to server(s). Tried with all available servers.
        at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:787) ~[artemis-core-client-2.2.0.jar:2.2.0]
        at net.corda.nodeapi.internal.ArtemisMessagingClient.start(ArtemisMessagingClient.kt:39) ~[corda-node-api-3.2-corda.jar:?]
        at net.corda.node.services.messaging.RPCMessagingClient.start(RPCMessagingClient.kt:19) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.Node.startMessagingService(Node.kt:306) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.AbstractNode$start$4.invoke(AbstractNode.kt:255) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.AbstractNode$start$4.invoke(AbstractNode.kt:105) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.AbstractNode$initialiseDatabasePersistence$2.invoke(AbstractNode.kt:685) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.AbstractNode$initialiseDatabasePersistence$2.invoke(AbstractNode.kt:105) ~[corda-node-3.2-corda.jar:?]
        at net.corda.nodeapi.internal.persistence.CordaPersistence.inTopLevelTransaction(CordaPersistence.kt:152) ~[corda-node-api-3.2-corda.jar:?]
        at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:138) ~[corda-node-api-3.2-corda.jar:?]
        at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:124) ~[corda-node-api-3.2-corda.jar:?]
        at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:131) ~[corda-node-api-3.2-corda.jar:?]
        at net.corda.node.internal.AbstractNode.initialiseDatabasePersistence(AbstractNode.kt:684) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.Node.initialiseDatabasePersistence(Node.kt:345) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.AbstractNode.start(AbstractNode.kt:206) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.Node.start(Node.kt:359) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.NodeStartup.startNode(NodeStartup.kt:145) ~[corda-node-3.2-corda.jar:?]
        at net.corda.node.internal.NodeStartup.run(NodeStartup.kt:115) [corda-node-3.2-corda.jar:?]
        at net.corda.node.Corda.main(Corda.kt:13) [corda-node-3.2-corda.jar:?]

我不太确定它所指向的服务器,因为显然网络图中还没有其他服务器。看起来它可能在内部与artemis amq有关,但我不确定。 关于如何解决这个问题有什么想法吗? -_-

1 个答案:

答案 0 :(得分:1)

这可能是由僵尸Java进程引起的。尝试使用此处列出的命令(https://stackoverflow.com/a/49425918/4620025)杀死它们,然后再次运行网络地图服务器。