r3conclave / cordacon-conclave-tutorial Goto Github PK
View Code? Open in Web Editor NEWSource code of CordaCon 2020 Conclave tutorial
License: Apache License 2.0
Source code of CordaCon 2020 Conclave tutorial
License: Apache License 2.0
I am using Standard DC1s_v2 (1 vcpus, 4 GiB memory) VM on AZURE with Linux (ubuntu 20.04) Gen 2 (pro-20_04-lts-gen2) image.
Following steps were performed in order:
Commands
git clone https://github.com/R3Conclave/cordacon-conclave-tutorial.git
./gradlew clean
./gradlew host:shadowJar
cp host/build/libs/host-all.jar /opt
chmod 777 -R host-all.jar
java -jar host-all.jar 8080
dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1
dlopen failed: /usr/lib/x86_64-linux-gnu/libdcap_quoteprov.so.1
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fa650f8f300, pid=27865, tid=27866
JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
Problematic frame:
C [libjvm_host.so+0x25300] r3::conclave::dcap::QuotingAPI::~QuotingAPI()+0x26
Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/blockadmin/core.27865)
An error report file with more information is saved as:
/home/blockadmin/hs_err_pid27865.log
If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Aborted (core dumped)
@shamsasari : Does the SGX VM need any further configuration before we can use it? Like SGX build or installation etc?
Request your help with the same.
Build failed while trying to setup the project over Ubuntu 18.04.
Java Version:
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~18.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)
Kotlin version 1.4.30-release-302 (JRE 1.8.0_282-8u282-b08-0ubuntu1~18.04-b08)
(failed with 1.4.10 as well)
Following error was received:
root@cloudvm:/opt/cordacon-conclave-tutorial# gradle host:shadowJar
Task :conclave-grpc:compileKotlin
e: /opt/cordacon-conclave-tutorial/conclave-grpc/src/main/kotlin/com/r3/conclave/grpc/ConclaveGRPCMethods.kt: (28, 54): Unresolved reference: readAllBytes
e: /opt/cordacon-conclave-tutorial/conclave-grpc/src/main/kotlin/com/r3/conclave/grpc/ConclaveGRPCMethods.kt: (33, 86): Unresolved reference: readAllBytes
e: /opt/cordacon-conclave-tutorial/conclave-grpc/src/main/kotlin/com/r3/conclave/grpc/ConclaveGRPCMethods.kt: (37, 65): Unresolved reference: nullInputStream
Task :conclave-grpc:compileKotlin FAILED
FAILURE: Build failed with an exception.
Compilation error. See log for more details
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 24s
1 actionable task: 1 executed
root@ticketing:/opt/cordacon-con
Any help appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.