karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Admin script issue (java mem)
Date Fri, 09 Aug 2013 13:06:48 GMT
Hi Charles,

let me take a look on that (maybe related to the usage of setenv).

Regards
JB

On 08/09/2013 09:40 AM, Charles Moulliard wrote:
> Hi,
>
> I think that we have an issue with the admin bash script of Karaf (2.3.x).
> The -Xms, -XX:PermSize -XX:MaxPermSize options are not added as parameters
> to the process started when we launch the bash script './admin start root'
> command -->
>
> ./admin start root
> [org.apache.karaf.admin.internal.AdminServiceImpl] : Starting instance
> root with command:
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java"
> -server -Xmx512M -Dcom.sun.management.jmxremote
> -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass
> -Djava.util.logging.config.file="/Users/chmoulli/Fuse/servers/XXXXXX/etc/java.util.logging.properties"
> -Djava.endorsed.dirs="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib/endorsed:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed:/Users/chmoulli/Fuse/servers/XXXXXXX/lib/endorsed"
> -Djava.ext.dirs="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib/ext:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext:/Users/chmoulli/Fuse/servers/XXXXXXX/lib/ext"
> -Dkaraf.home="/Users/chmoulli/Fuse/servers/XXXXXXX"
> -Dkaraf.base="/Users/chmoulli/Fuse/servers/XXXXXXX"
> -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true
> -classpath /Users/chmoulli/Fuse/servers/XXXXXXX/lib/esb-version.jar:/Users/chmoulli/Fuse/servers/XXXXXXX/lib/karaf-jaas-boot.jar:/Users/chmoulli/Fuse/servers/XXXXXXX/lib/karaf.jar:/Users/chmoulli/Fuse/servers/XXXXXXX/lib/org.apache.servicemix.specs.activator-2.0.0.redhat-60024.jar
> org.apache.karaf.main.Main
>
> The code of 'admin' bash script is really similar to 'karaf' excepted that
> I see that in one case we use jre and not with the other one. What could be
> the reason why such parameters are not added ?
>
> Test done on MacBook Pro, JDK 1.6
>
> Regards,
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message