正在运行示例Cordapp-Corda 4-运行节点重现无效/损坏的jar文件错误

时间:2019-04-17 03:38:37

标签: java kotlin jvm corda

在EC2实例Ubuntu 16.04上运行的Corda V4。 JVM v1.8.0_201

Corda由于类似以下错误而无法runnodes: 错误:jarfile无效或损坏/ home / ubuntu / DLT_POC / samples / cordapp-example / workflows-kotlin / build / nodes / Notary / corda.jar`

这些相同的.jar文件在我的其他实例上似乎工作正常,该实例仅包含PartyB的节点。

当我跑步时: $~/DLT_POC/samples/cordapp-example$ workflows-kotlin/build /nodes/runnodes

我得到以下输出:

Starting nodes in /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/ build/nodes Starting corda.jar in /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/Notary on debug port 5005 Node will expose jolokia monitoring port on 7005 Running command: /usr/lib/jvm/java-8-oracle/jre/bin/java -Dcapsule.jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -javaagent:drivers/jolokia-jvm-1.6.0-agent.jar=port=7005,logHandlerClass=net.corda.node.JolokiaSl f4jAdapter -Dname=Notary -jar /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/Notary/corda.jar Error: Invalid or corrupt jarfile /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/Notary/corda.jar No file corda.jar found in /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/.cache Starting corda.jar in /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/PartyA on debug port 5006 Node will expose jolokia monitoring port on 7006 Running command: /usr/lib/jvm/java-8-oracle/jre/bin/java -Dcapsule.jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006 -javaagent:drivers/jolokia-jvm-1.6.0-agent.jar=port=7006,logHandlerClass=net.corda.node.JolokiaSl f4jAdapter -Dname=PartyA -jar /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/PartyA/corda.jar Starting corda.jar in /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/PartyC on debug port 5007 Error: Invalid or corrupt jarfile /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/PartyA/corda.jar Node will expose jolokia monitoring port on 7007 Running command: /usr/lib/jvm/java-8-oracle/jre/bin/java -Dcapsule.jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5007 -javaagent:drivers/jolokia-jvm-1.6.0-agent.jar=port=7007,logHandlerClass=net.corda.node.JolokiaSl f4jAdapter -Dname=PartyC -jar /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/PartyC/corda.jar Started 3 processes Finished starting nodes Error: Invalid or corrupt jarfile /home/ubuntu/DLT_POC/samples/cordapp-example/workflows-kotlin/build/nodes/PartyC/corda.jar 谢谢您的帮助!

0 个答案:

没有答案