Repository: nifi-minifi
Updated Branches:
  refs/heads/master f0211edab -> 7ecf80e47


MINIFI-251 - Added explicit Java runtime argument to default bootstrap.conf to 
avoid blocking on VM deployment.

This closes #78.

Signed-off-by: Aldrin Piri <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi/commit/7ecf80e4
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi/tree/7ecf80e4
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi/diff/7ecf80e4

Branch: refs/heads/master
Commit: 7ecf80e474b211cb3fbd06609134087ec8850d0c
Parents: f0211ed
Author: Andre F de Miranda <[email protected]>
Authored: Sat Mar 25 17:04:39 2017 +1100
Committer: Aldrin Piri <[email protected]>
Committed: Wed Mar 29 10:42:09 2017 -0400

----------------------------------------------------------------------
 .../minifi-resources/src/main/resources/conf/bootstrap.conf    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/7ecf80e4/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf
----------------------------------------------------------------------
diff --git 
a/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf
 
b/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf
index 2525d43..537536e 100644
--- 
a/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf
+++ 
b/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf
@@ -85,9 +85,13 @@ java.arg.4=-Djava.net.preferIPv4Stack=true
 java.arg.5=-Dsun.net.http.allowRestrictedHeaders=true
 java.arg.6=-Djava.protocol.handler.pkgs=sun.net.www.protocol
 
+# Sets the provider of SecureRandom to /dev/urandom to prevent blocking on VMs
+java.arg.7=-Djava.security.egd=file:/dev/urandom
+
+
 # The G1GC is still considered experimental but has proven to be very 
advantageous in providing great
 # performance without significant "stop-the-world" delays.
 #java.arg.13=-XX:+UseG1GC
 
 #Set headless mode by default
-java.arg.14=-Djava.awt.headless=true
\ No newline at end of file
+java.arg.14=-Djava.awt.headless=true

Reply via email to