geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quintin Beukes <quin...@skywalk.co.za>
Subject Re: Starting Geronimo with More PermGen
Date Fri, 11 Sep 2009 15:56:59 GMT
Had I had a README I would have read them... well I have the .sh files
but they don't mention it either.

ls bin/
client.bat  cxf-tools.bat  deploy.bat    geronimo.bat    gsh
 jaxws-tools.bat  jpa.jar         setjavaenv.sh  shutdown.sh
startup.bat  stop-server.bat
client.jar  cxf-tools.jar  deployer.jar  geronimo.sh     gsh.bat
 jaxws-tools.jar  server.jar      shutdown.bat   start-server
startup.sh
client.sh   cxf-tools.sh   deploy.sh     gserviceReg.sh  isdeployed.sh
 jaxws-tools.sh   setjavaenv.bat  shutdown.jar   start-server.bat
stop-server

Beyond that I have another question. Inside the .groovy file, how can
I reference environment variables? I'm hoping to only update
setjavaenv.sh to make upgrading easier.

Q

On Fri, Sep 11, 2009 at 5:50 PM, Kevan Miller <kevan.miller@gmail.com> wrote:
>
> 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
>



-- 
Quintin Beukes

Mime
View raw message