【发布时间】:2018-05-29 21:39:43
【问题描述】:
我正在尝试在 AWS 上设置 Corda,节点分布在两台机器上。我一直按照这里的说明进行操作: https://docs.corda.net/tutorial-cordapp.html#running-nodes-across-machines
我使用来自 AWS Marketplace https://docs.corda.net/aws-vm.html 的 Corda VM 在 AWS 上设置了两台服务器
我注意到这似乎是 Corda v1.0
我已经下载了引导工具。我找不到 v1.0 的那个所以我下载了 v3.0 的那个。
当我运行它时,我收到以下错误:
Bootstrapping local network in /home/ubuntu/dev/cordapp-example/kotlin-source/build/nodes
Nodes found in the following sub-directories: [PartyB, PartyA, Controller, PartyC]
Waiting for all nodes to generate their node-info files...
Exception in thread "main" java.lang.IllegalStateException: Node in PartyB exited with 1 when generating its node-info - see logs in /home/ubuntu/dev/cordapp-example/kotlin-source/build/nodes/PartyB/logs
at net.corda.nodeapi.internal.network.NetworkBootstrapper$gatherNodeInfoFiles$future$1.invoke(NetworkBootstrapper.kt:136)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$gatherNodeInfoFiles$future$1.invoke(NetworkBootstrapper.kt:44)
at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:107)
at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt)
at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:119)
at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
日志文件显示如下:
Invalid command line arguments: just-generate-node-info is not a recognized option
Option Description
------ -----------
--base-directory The node working directory where all
the files are kept (default: .)
--config-file The path to the config file (default:
node.conf)
--help
--initial-registration Start initial node registration with
Corda network to obtain certificate
from the permissioning server.
--log-to-console If set, prints logging to the console
as well as to a file.
--logging-level <[ERROR,WARN,INFO, Enable logging at this level and
DEBUG,TRACE]> higher (default: INFO)
--no-local-shell Do not start the embedded shell
locally.
--sshd Enables SSHD server for node
administration.
--version Print the version and exit
请您帮忙。谢谢
【问题讨论】:
标签: corda