Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: services: ovirt-engine: set all jvm properties at 
config
......................................................................

packaging: services: ovirt-engine: set all jvm properties at config

Change-Id: I69f4d1f9ff33b7637d28071b2c38b8a5b4111385
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M packaging/services/ovirt-engine/ovirt-engine.conf.in
M packaging/services/ovirt-engine/ovirt-engine.py
2 files changed, 3 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/44/38944/1

diff --git a/packaging/services/ovirt-engine/ovirt-engine.conf.in 
b/packaging/services/ovirt-engine/ovirt-engine.conf.in
index 0a47fcd..863db03 100644
--- a/packaging/services/ovirt-engine/ovirt-engine.conf.in
+++ b/packaging/services/ovirt-engine/ovirt-engine.conf.in
@@ -108,6 +108,9 @@
 #   -Dmy.param=my.value -Dmy.flag -Dyour.param=your.value
 #
 ENGINE_PROPERTIES=""
+ENGINE_PROPERTIES="${ENGINE_PROPERTIES} java.awt.headless=true"
+ENGINE_PROPERTIES="${ENGINE_PROPERTIES} java.net.preferIPv4Stack=true"
+ENGINE_PROPERTIES="${ENGINE_PROPERTIES} sun.rmi.dgc.client.gcInterval=3600000 
sun.rmi.dgc.server.gcInterval=3600000"
 ENGINE_PROPERTIES="${ENGINE_PROPERTIES} jsse.enableSNIExtension=false"
 ENGINE_PROPERTIES="${ENGINE_PROPERTIES} 
\"java.security.krb5.conf=${ENGINE_ETC}/krb5.conf\""
 
diff --git a/packaging/services/ovirt-engine/ovirt-engine.py 
b/packaging/services/ovirt-engine/ovirt-engine.py
index 502a40f..16a1e01 100755
--- a/packaging/services/ovirt-engine/ovirt-engine.py
+++ b/packaging/services/ovirt-engine/ovirt-engine.py
@@ -314,10 +314,6 @@
             '-XX:MaxPermSize=%s' % self._config.get(
                 'ENGINE_PERM_MAX'
             ),
-            '-Djava.net.preferIPv4Stack=true',
-            '-Dsun.rmi.dgc.client.gcInterval=3600000',
-            '-Dsun.rmi.dgc.server.gcInterval=3600000',
-            '-Djava.awt.headless=true',
         ])
 
         # Add extra system properties provided in the configuration:


-- 
To view, visit https://gerrit.ovirt.org/38944
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69f4d1f9ff33b7637d28071b2c38b8a5b4111385
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to