重新部署节点时出现错误 [英] Getting error while redeploying nodes

查看:120
本文介绍了重新部署节点时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am still using Corda 1.0 version. when i try to redeploy nodes with existing data, getting below error while start-up but able to access the nodes . If i clear the data and redeploy the nodes, i didn't face these error message.

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]

推荐答案

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

This looks like the Artemis failed to connect to the node which means the node fails to start.

您应该查看日志,以及是否有其他先前启动的Corda节点启动并占用了该节点.

You should look at the log and if there are any other previous Corda node started which occupy the node.

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

If there are any legacy Corda nodes that have not been killed, try ps -ef |grep java to see if there is any other java still alive. Especially look for the port number and check if they are overlapped

这篇关于重新部署节点时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆