重新部署节点时出错

时间:2018-05-24 06:35:01

标签: corda

我仍在使用Corda 1.0版本。当我尝试使用现有数据重新部署节点时,在启动时获得低于错误但能够访问节点。如果我清除数据并重新部署节点,我没有遇到这些错误消息。

Logs can be found in                    : 
C:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\kotlin-
source\build\nodes\xxxxxxxx\logs
Database connection url is              : jdbc:h2:tcp://xxxxxxxxx/node
E 18:38:46+0530 [main] core.client.createConnection - AMQ214016: Failed to 
create netty connection
javax.net.ssl.SSLException: handshake timed out
at io.netty.handler.ssl.SslHandler.handshake(...)(Unknown Source) ~[netty 
all-4.1.9.Final.jar:4.1.9.Final]
Incoming connection address             : xxxxxxxxxxxx
Listening on port                       : 10014
RPC service listening on port           : 10015
Loaded CorDapps                         : corda-finance-1.0.0, kotlin-
source-0.1, corda-core-1.0.0
Node for "xxxxxxxxxxx" started up and registered in 213.08 sec


Welcome to the Corda interactive shell.
Useful commands include 'help' to see what is available, and 'bye' to shut 
down the node.

Wed May 23 18:39:20 IST 2018>>> E 18:39:24+0530 [Thread-6 (ActiveMQ-server-
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImp
l$3@4a532271)] core.client.createConnection - AMQ214016: Failed to create 
netty connection
javax.net.ssl.SSLException: handshake timed out
at io.netty.handler.ssl.SslHandler.handshake(...)(Unknown Source) ~[netty-
all-4.1.9.Final.jar:4.1.9.Final]

1 个答案:

答案 0 :(得分:0)

这似乎是Artemis无法连接到节点,这意味着该节点无法启动。

您应该查看日志,并查看是否有其他先前启动的Corda节点正在占用该节点。

如果有任何遗留的Corda节点尚未被杀死,请尝试ps -ef |grep java以查看是否还有其他Java仍然存在。尤其要查找端口号并检查它们是否重叠