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, -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
