forked from Qortal/qortal
Symptoms are: * AutoUpdate trying to run new ApplyUpdate process, but nothing appears in log-apply-update.?.txt * Main qortal.jar process continues to run without updating * Last AutoUpdate line in log.txt.? is: 2022-06-18 15:42:46 INFO AutoUpdate:258 - Applying update with: /usr/local/openjdk11/bin/java -Djava.net.preferIPv4Stack=false -Xss256k -Xmx1024m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:5005 -cp new-qortal.jar org.qortal.ApplyUpdate Changes are: * child process now inherits parent's stdout / stderr (was piped from parent) * child process is given a fresh stdin, which is immediately closed * AutoUpdate now converts -agentlib JVM arg to -DQORTAL_agentlib * ApplyUpdate converts -DQORTAL_agentlib to -agentlib The latter two changes are to prevent a conflict where two processes try to reuse the same JVM debugging port number.
Qortal Project - Official Repo
Build / run
- Requires Java 11. OpenJDK 11 recommended over Java SE.
- Install Maven
- Use Maven to fetch dependencies and build:
mvn clean package
- Built JAR should be something like
target/qortal-1.0.jar
- Create basic settings.json file:
echo '{}' > settings.json
- Run JAR in same working directory as settings.json:
java -jar target/qortal-1.0.jar
- Wrap in shell script, add JVM flags, redirection, backgrounding, etc. as necessary.
- Or use supplied example shell script: start.sh
Description
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
Languages
Java
98.2%
Shell
0.5%
HTML
0.5%
JavaScript
0.4%
Perl
0.3%