corda

why http://localhost:10007/web/example/ is giving empty response in Corda?

六眼飞鱼酱① 提交于 2019-12-24 09:16:07
问题 I Started with cordapp set up. I am able to build corapp-example as in the set up instruction. To test when I opened above link its not working? Should I do any other set up 回答1: This is a bug in the docs that is being addressed. When running via IntelliJ, the webports for the nodes are http://localhost:10009/, http://localhost:10012/ and http://localhost:10015/. 来源: https://stackoverflow.com/questions/50228037/why-http-localhost10007-web-example-is-giving-empty-response-in-corda

Running corda nodes in different machines

烈酒焚心 提交于 2019-12-24 09:06:38
问题 I have the problem in Corda regarding performing IOU from Party A to Party B. Below is configuration detail: 3 node.conf [Party A, Party B, and Notary ]. Hosting application in AWS, So in node config file instead of "localhost", I gave the IP of the machines. I gave the same IP for Notary & Party A, different for Party B. Network Bootstrapping was successful and moved the newly created node folders respective EC2 instances and started run nodes. But when performed the IOU from Party A to

Corda 3 deployNodes - Node in Notary exited with 1 when generating its node-info

佐手、 提交于 2019-12-24 09:05:23
问题 I am trying to run the Example CorDapp (https://github.com/corda/cordapp-example) on Corda 3. When I try to run the ./gradlew deployNodes step, I get the following error: Execution failed for task ':java-source:deployNodes'. > Node in Notary exited with 1 when generating its node-info - see logs in [REDACTED]/cordapp-example/java-source/build/nodes/Notary/logs * Try: Run with --info and --debug option to get more log output. * Exception is: org.gradle.api.tasks.TaskExecutionException:

Corda Flow Participants How To Add & Remove

依然范特西╮ 提交于 2019-12-24 08:55:58
问题 Can we add/remove participant in the subsequent transaction if the original transaction does not have it. I have party A which has created one transaction and added a participant Party B. The state created in the transaction is shared with Party B. There are state properties like FirstName, LastName and Status. Party B changes the status to green and then the transaction is completed and recorded to vault of Party B and Party A. The same process is followed between Party A and Party C. The

Replacing h2 database with some other relational database in Corda

烂漫一生 提交于 2019-12-24 08:55:25
问题 I have been using H2 database in Corda demo application, I would like to know, if we can plug-in some other relatioal database such as Oracle, Sybase etc instead of H2 database. If yes, please share relevent link to do the same. Thanks 回答1: Yes it is possible to use other databases - for example we have accepted and merged a community contribution to use PostgreSQL: https://github.com/corda/corda/pull/1525 . However, at this stage, we are only supporting other relational databases in the

CAPSULE EXCEPTION while deployNodes task

你。 提交于 2019-12-24 06:09:10
问题 I am trying to deploy IRS demo application on windows server, I have installed java already: C:\Users\Administrator>java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) Client VM (build 25.181-b13, mixed mode) I am getting following exception for node: CAPSULE EXCEPTION: Could not find Java installation for requested version [Min. Java version: 1.8.0 JavaVersion: null Min. update version: {1.8=171}] (JDK required: false). You can

Flow Exception in CollectSignaturesFlow

谁都会走 提交于 2019-12-24 02:17:44
问题 I am creating a flow to fetch signatures from CollectSignaturesFlow of other party and I am facing the below issue in log. @InitiatingFlow @StartableByRPC public static class BGInitiator extends FlowLogic<SignedTransaction> { private final Party manufacturer; private final Party regulator; private final String bgData; public BGInitiator(Party manufacturer,Party regulator, String bgData) { this.manufacturer = manufacturer; this.regulator = regulator; this.bgData = bgData; } private final Step

How does a non-validating notary knows if a participant is allowed to consume a state?

爷,独闯天下 提交于 2019-12-24 02:16:31
问题 Since non-validating notaries in Corda are not performing input/output state validation of a transaction, how does a notary service know that a transaction initiator is allowed to consume specific input states? For instance, in this simple cash example: State0{} -issueCashTX-> State1{owner:issuer, amount: 1000} -transferTX-> State2{owner:issuer, amount: 500} State3{owner:CompanyA, amount: 500} Smart Contract Rules validate that transfer transactions are only valid, if input state is owner by

net.corda.core.flows.UnexpectedFlowEndException: Tried to access ended session SessionId(toLong=8223329095323268472) with empty buffer

只愿长相守 提交于 2019-12-24 01:33:07
问题 i*m using Corda 4.0 RC1 and have a clone of the cash-issuer repository; there i have a Corda-ResponderFlow which should do a business test; currently it throws an exception; the flow is programmed in this way class ReceiveBankAccount(val otherSession: FlowSession) : FlowLogic<Unit>() { @Suspendable override fun call() { logger.info("Starting ReceiveBankAccount flow...") val signedTransactionFlow = object : SignTransactionFlow(otherSession) { @Suspendable override fun checkTransaction(stx:

Getting Exception while fetching data from database in the flow

六眼飞鱼酱① 提交于 2019-12-23 05:27:39
问题 I am getting the error below: Step 1: serviceHub.jdbcSession().prepareStatement("Query") Step 2: I have executed the step1. Step 3: I am getting the data I needed. but also I am getting the below exception also. com.esotericsoftware.kryo.KryoException: java.lang.UnsupportedOperationException: com.zaxxer.hikari.pool.HikariProxyPreparedStatement, which is a closeable resource, has been detected during flow checkpointing. Restoring such resources across node restarts is not supported. Make sure