You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/04/13 16:43:41 UTC

[jira] [Created] (KARAF-5094) Remove -server option in Karaf scripts

Jean-Baptiste Onofré created KARAF-5094:
-------------------------------------------

             Summary: Remove -server option in Karaf scripts
                 Key: KARAF-5094
                 URL: https://issues.apache.org/jira/browse/KARAF-5094
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.2.0, 4.1.2, 4.0.10


If not explicitly defined, the vm option {{-server}} has been
automatically set since Java 5. The bar for it picking {{-server}} over
{{-client}} is pretty low by modern standards; 2 CPU and 2GB RAM.

http://docs.oracle.com/javase/8/docs/technotes/guides/vm/server-class.html

The Oracle ARMv7 HFP does not support {{-server}}. So when running on a
Raspberry Pi, one must either set JAVA_OPTS or regex replace the
relevant lines in launch scripts.

So, it makes sense to remove {{-server}} by default.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)