我在使用corda-tools-network-bootstrapper-3.1.jar引导开发网络时遇到一些麻烦。
我已经将我的PartyA / PartyB / Notary节点conf和两个CorDapps放在同一文件夹中,但是当我运行引导程序时,出现错误,并且在新创建的节点文件夹中没有日志关联:
C:\Corda Enterprise 3\Bootstrapper>java -jar "C:\Corda Enterprise 3\Bootstrapper\corda-tools-network-bootstrapper-3.1.jar" --verbose --dir="C:\network-bootstrap"
Bootstrapping local test network in C:\network-bootstrap
Found the following CorDapps: [corda-training-solutions-master-0.1.jar, corda-finance-3.1.jar]
Generating node directory for partyA
Generating node directory for partyB
Generating node directory for notary
Nodes found in the following sub-directories: [partyA, partyB, notary]
Copying CorDapp JARs into node directories
Waiting for all nodes to generate their node-info files...
... still waiting. If this is taking longer than usual, check the node logs.
java.lang.IllegalStateException: Error while generating node info file. Please check the logs in C:\network-bootstrap\notary\logs.
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.generateNodeInfo(NetworkBootstrapper.kt:112)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.access$generateNodeInfo(NetworkBootstrapper.kt:71)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:95)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:71)
at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:140)
at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt)
at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:152)
at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Suppressed: java.lang.IllegalStateException: Error while generating node info file. Please check the logs in C:\network-bootstrap\partyA\logs.
... 11 more
Suppressed: java.lang.IllegalStateException: Error while generating node info file. Please check the logs in C:\network-bootstrap\partyB\logs.
... 11 more
有人遇到类似问题吗?我该如何解决?
我正在使用Corda Enterprise的引导程序,并且将双方的node.conf设置为使用bridge + float组件(如果需要特别注意的话)。