以下の設定を使用してNotary Clusterを構築し、起動します。私はこの種のスクリプトのようにV14版に使っていました。 V1ではそのエラーをポップアップ表示します。確認してください。Corda V1.0 Gradleで公証データベースを設定する
タスクdeployNodesRAFT(タイプ:net.corda.plugins.Cordform、DEPENDSON:[ 'ジャー']){
directory "./build/nodes"
networkMap "C=CH,L=Zurich,O=NotaryService0"
node {
name "C=CH,L=Zurich,O=NotaryService0"
advertisedServices = ["corda.notary.validating.raft|C=CH,L=Zurich,O=Raft,CN=corda.notary.validating.raft"]
p2pPort 10002
rpcPort 10003
notaryNodePort 10001
cordapps = []
}
node {
name "C=CH,L=Zurich,O=NotaryService1"
advertisedServices = ["corda.notary.validating.raft|C=CH,L=Zurich,O=Raft,CN=corda.notary.validating.raft"]
p2pPort 10091
rpcPort 10092
cordapps = []
notaryNodePort 10093
notaryClusterAddresses = ["localhost:10001"]
}
node {
name "C=CH,L=Zurich,O=NotaryService2"
advertisedServices = ["corda.notary.validating.raft|C=CH,L=Zurich,O=Raft,CN=corda.notary.validating.raft"]
p2pPort 10094
rpcPort 10095
cordapps = []
notaryNodePort 10096
notaryClusterAddresses = ["localhost:10001"]
}
ログ: [ERROR] 2017-10-17T05:42:31,180Z [ [エラー] 2017-10-17T05:42:31,181Z [メイン] identity.PersistentIdentityService.verifyAndRegisterIdentity - パス= [エラー] 2017-10-17T05:42:31,181 Z [main] identity.PersistentIdentityService.verifyAndRegisterIdentity - CN = CordaノードのルートCA、O = R3、OU = corda、L = London、C = UK [エラー] 2017-10-17T05:42:31,182Z [main] identity .Persistent IDService.verifyAndRegisterIdentity - CN = Cordaノードの中間CA、O = R3、OU = corda、L =ロンドン、C = UK [エラー] 2017-10-17T05:42:31,184Z [メイン] identity.PersistentIdentityService.verifyAndRegisterIdentity - C = CH、L = Zurich、O = NotaryService0、CN = CordaクライアントCA証明書 [エラー] 2017-10-17T05:42:31,185Z [メイン] identity.PersistentIdentityService.verifyAndRegisterIdentity -C = CH、L =チューリッヒ、O =いかだ、CN = corda.notary.validating.raft [ERROR] 2017-10-17T05:42:31,189Z [メイン] internal.Node.run - ノードの起動時に例外 rx.exceptions.OnErrorNotImplementedException:名前制約が をチェックに失敗しましたrx.internal.util.InternalObservableUtils $ ErrorNotImplementedAction.call(InternalObservableUtils.java:386)〜[rxjava-1.2.4.jar:1.2.4] at rx.internal.util.InternalObservableUtils $ ErrorNotImplementedAction.call(Interna lxserver.java:383)〜[rxjava-1.2.4.jar:1.2.4] at rx.internal.util.ActionSubscriber.onError(ActionSubscriber.java:44)〜[rxjava-1.2.4.jar:1.2。 4] rx.observers.SafeSubscriber.onError(SafeSubscriber.java:153)〜[rxjava-1.2.4.jar:1.2.4] at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:115)〜[ rxjava-1.2.4.jar:1.2.4] (rx.exceptions.Exceptions.throwOrReport(Exceptions.java:216)〜[rxjava-1.2.4.jar:1.2.4] 、rx.observers.SafeSubscriber)。 onNext(SafeSubscriber.java:139)〜[rxjava-1.2.4.jar:1.2.4] at rx.observers.Subscribers $ 5.onNext(Subscribers.java:235)〜[rxjava-1.2.4.jar:1.2 .4] at net.corda.node.utilities.DatabaseTransactionWrappingSubscriber $ onNext $ 1.invoke(CordaPersistence.kt:159)〜[corda-node-1.0.0.jar :?] at net.co rda.node.utilities.DatabaseTransactionWrappingSubscriber $ onNext $ 1.invoke(CordaPersistence.kt:143)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities.DatabaseTransactionWrappingSubscriber $ forEachSubscriberWithDbTx $ 1.invoke CordaPersistence.kt:150)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities.DatabaseTransactionWrappingSubscriber $ forEachSubscriberWithDbTx $ 1.invoke(CordaPersistence.kt:143)〜[corda-node-1.0 .0.jar :?] at net.corda.node.utilities.CodeaPersistence.inTopLevelTransaction(CordaPersistence.kt:84)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities .CordaPersistence.transaction(CordaPersistence.kt:75)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities.CordaPersistence.transaction(CordaPersistence.kt:65)〜[コードノード-1.0.0.jar :?] at net.corda.node.utilities.DatabaseTransac tionWrappingSubscriber.forEachSubscriberWithDbTx(CordaPersistence.kt:148)〜[コルダノード-1.0.0.jar :?] net.corda.node.utilities.DatabaseTransactionWrappingSubscriber.onNext(CordaPersistence.kt:159)で 〜[コルダ、リンパ節転移1.0.0.jar :?] at rx.subjects.PublishSubject $ PublishSubjectProducer.onNext(PublishSubject.java:304)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects.PublishSubject $ PublishSubjectState。 onNext(PublishSubject.java:219)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects.PublishSubject.onNext(PublishSubject.java:72)〜[rxjava-1.2.4.jar:1.2。4] rx.internal.util.ObserverSubscriber.onNext(ObserverSubscriber.java:34)〜[rxjava-1.2.4.jar:1.2.4] at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:134) 〜[rxjava-1.2.4.jar:1.2.4] rx.observers.Subscribersの $ 5.onNext(Subscribers.java:235)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects .UnicastSubject $ State.replay(UnicastSubject.java:295)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects.UnicastSubject $ State.request(UnicastSubject.java:237)〜[rxjava-1.2 .x:1.2.4] at rx.Subscriber.setProducer(Subscriber.java:209)〜[rxjava-1.2.4.jar:1.2.4] at rx.Subscriber.setProducer(Subscriber.java:205) )〜[rxjava-1.2.4.jar:1.2.4] at rx.Subscriber.setProducer(Subscriber.java:205)〜[rxjava-1.2.4.jar:1.2.4] at rx.sub (UnicastSubject.java:252)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects.UnicastSubject $ State.call(UnicastSubject.java:115)〜[rxjava- 1.2.4.jar:1.2.4] at rx.Observable.unsafeSubscribe(Observable.java:10142)〜[rxjava-1.2.4.jar:1.2.4] at rx.internal.operators.OnSubscribeDelaySubscriptionその他1. $完了(OnSubscribeDelaySubscriptionOther.java:74)〜[rxjava-1.2.4.jar:1.2.4] (rx.internal.operators.OnSubscribeDelaySubscriptionその他)$ 1.onNext(OnSubscribeDelaySubscriptionOther.java:53)〜[rxjava-1.2.4.jar: 1.2.4] のrx.internal.producers.SingleProducer.request(SingleProducer.java:65)〜[rxjava-1.2.4.jar:1.2.4] at rx.Subscriber.setProducer(Subscriber.java:209) 〜[rxjava-1.2.4.jar:1.2.4] at rx.internal.operators.OperatorSingle $ ParentSubscriber.on完了(OperatorSingle.java:110)〜[rxjava-1.2.4.jar:1.2.4] rx.internal.operators.OperatorTake $ 1.onNext(OperatorTake.java:80)〜[rxjava-1.2.4.jar :1.2.4] at rx.internal.operators.OnSubscribeFilter $ FilterSubscriber.onNext(OnSubscribeFilter.java:76)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects.PublishSubject $ PublishSubjectProducer.onNext (PublishSubject.java:304)〜[rxjava-1.2.4.jar:1.2.4] at rx.subjects.PublishSubject $ PublishSubjectState.onNext(PublishSubject.java:219)〜[rxjava-1.2.4.jar:1.2 .4] at rx.subjects.PublishSubject.onNext(PublishSubject.java:72)〜[rxjava-1.2.4.jar:1.2.4] at rx.observers.SerializedObserver.onNext(SerializedObserver.java:91)〜 [rxjava-1.2.4.jar:1.2.4] at rx.subjects.SerializedSubject.onNext(SerializedSubject.java:67)〜[rxjava-1.2.4.jar:1.2.4 ] at net.corda.node.utilities.DatabaseTransaction.close(DatabaseTransactionManager.kt:60)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities.CordaPersistence.inTopLevelTransaction(CordaPersistence (コード番号:100)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities.CordaPersistence.transaction(CordaPersistence.kt:75)〜[corda-node-1.0.0.jar :?] at net.corda.node.utilities.CordaPersistence.transaction(CordaPersistence.kt:65)〜[corda-node-1.0.0.jar :?] at net.corda.node.services.network.PersistentNetworkMapCache .addNode(PersistentNetworkMapCache.kt:163)〜[corda-node-1.0.0.jar :?] at net.corda.node.internal.AbstractNode.registerWithNetworkMapIfConfigured(AbstractNode.kt:511)〜[corda-node-1.0 .0.jar :?] at net.corda.node.internal.AbstractNode.start(AbstractNode.kt:220)〜[c (ノード.kt:312)〜[corda-node-1.0.0.jar :?] at net。 net.corda.node.internal.NodeStartup.run(NodeStartup.kt:74)のコード番号。ノード.internal.NodeStartup.startNode(NodeStartup.kt:95)〜[corda-node-1.0.0.jar :?] [corda-node-1.0.0.jar :?] at net.corda.node.Corda.main(Corda.kt:11)[corda-node-1.0.0.jar :?] 原因:java。 security.cert.CertPathValidatorException:名前制約のチェックに失敗しました
私はこの部分がCordX500Nameを生成すると思います。 (O、L、C) – Hart
私はdistributedService.jksを生成する方法を見落としていました。将来、あなたはそれを関与させる方法がありますか?私たち自身の実装なしで内部に? – Hart