geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Collins <Russell.Coll...@mclaneat.com>
Subject RE: Starting Geronimo with More PermGen
Date Sat, 12 Sep 2009 21:26:55 GMT
Unless you are tied into Hotspot (Sun JVM), BEA/Oracle's JRockit does not have a perm size
issue and it will work with Geronimo as a service.


Russell Collins
Sr. Software Engineer
McLane Advanced Technology

"Do or do not, there is no try." - Yoda

-----Original Message-----
From: Quintin Beukes [mailto:quintin@skywalk.co.za] 
Sent: Friday, September 11, 2009 10:57 AM
To: user@geronimo.apache.org
Subject: Re: Starting Geronimo with More PermGen

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