On Sep 11, 2009, at 9:52 AM, Quintin Beukes wrote:

Hey,

How do I start geronimo with more permgen.

I tried editing setjavaenv.sh and adding a JAVA_OPTS="...", but this
only gives it to the bootstrap loader, and not the server itself, as
can be seen from these processes:

19571 pts/12   Sl     0:02 /opt/kms/java/jdk5/jre/bin/java -Xmx1024m
-XX:MaxPermSize=256m -jar
/opt/kms/server/geronimo/lib/boot/gshell-bootstrap.jar -c
geronimo/start-server --logfile '/opt/kms/server/geron
19637 pts/12   Sl     0:36  \_
/opt/kms/java/sun-jdk1.5.0_17/jre/bin/java -Xmx512m
-javaagent:/opt/kms/server/geronimo-2.2-20090908/bin/jpa.jar
-Dorg.apache.geronimo.home.dir=/opt/kms/server/geronimo-2.2-200

See 
http://cwiki.apache.org/confluence/display/GMOxDOC22/Runtime+issues#Runtimeissues-JVMarguments

You need to update /etc/rc.d/start-server,default.groovy or add a -J parameter.

We could probably do with a bin/README / comments in the .bat/.sh files to assist with these issues.

--kevan

Reply via email to