From user-return-15777-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Thu Oct 6 12:56:39 2011 Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55E057C02 for ; Thu, 6 Oct 2011 12:56:39 +0000 (UTC) Received: (qmail 93479 invoked by uid 500); 6 Oct 2011 12:56:39 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 93437 invoked by uid 500); 6 Oct 2011 12:56:38 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 93430 invoked by uid 99); 6 Oct 2011 12:56:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 12:56:38 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [62.128.201.248] (HELO asmtp1.iomartmail.com) (62.128.201.248) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 12:56:28 +0000 Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id p96Cu69N006857 for ; Thu, 6 Oct 2011 13:56:06 +0100 Received: from SAMSUNGLAPTOP (85-211-47-35.dynamic.dsl.as9105.com [85.211.47.35] (may be forged)) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id p96Cu33m006832 for ; Thu, 6 Oct 2011 13:56:05 +0100 From: "Steve Higham" To: Subject: GEP 2.2.1 and Geronimo 2.2.1 Issue Date: Thu, 6 Oct 2011 13:56:04 +0100 Message-ID: <000c01cc8427$4ff04880$efd0d980$@co.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01CC842F.B1B4B080" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcyEJ04pByVL1w5sQ9ukaXE31sS1IA== Content-Language: en-gb X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_000D_01CC842F.B1B4B080 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Not sure if this is the right list for a Geronimo Eclipse Plugin issue but I can't see any other lists mentioned in the online documentation. I have set up my Geronimo Run Configuration VM Arguments as follows: - -javaagent:"/usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/jpa.jar" -Djava.ext.dirs="/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/ext:/System/L ibrary/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext" -Djava.endorsed.dirs="/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/endorsed :/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endors ed" -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dorg.apache.geronimo.home.dir="/usr/local/geronimo-tomcat6-javaee5-2.2.1 Note that the -XX:MaxPermSize has been increased to 256m in an attempt to reduce PermGen memory errors during development. I can close eclipse down and reopen it and these settings are correctly persisted. If I start Geronimo from the Run Configurations dialog then the process starts correctly as follows (ps output): - steve 3918 0.0 7.2 3560544 301164 ?? S 1:01pm 0:31.63 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -javaagent:/usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/jpa.jar -Djava.ext.dirs=/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/ext:/System/Li brary/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext -Djava.endorsed.dirs=/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/endorsed: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorse d -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dorg.apache.geronimo.home.dir=/usr/local/geronimo-tomcat6-javaee5-2.2.1 -Dfile.encoding=MacRoman -classpath /usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/server.jar org.apache.geronimo.cli.daemon.DaemonCLI -long However if I start Geronimo from the "Start Button" the process starts incorrectly (MaxPermSize reset to 128m). Furthermore when I go into the Run Configurations dialog the MaxPermSize value has also been set back to 128m. steve 4558 176.1 3.6 3336080 151572 ?? R 1:53pm 0:07.67 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -javaagent:/usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/jpa.jar -Djava.ext.dirs=/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/ext:/System/Li brary/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext -Djava.endorsed.dirs=/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/endorsed: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorse d -Xms256m -Xmx512m -XX:MaxPermSize=128m -Dorg.apache.geronimo.home.dir=/usr/local/geronimo-tomcat6-javaee5-2.2.1 -Dfile.encoding=MacRoman -classpath /usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/server.jar org.apache.geronimo.cli.daemon.DaemonCLI --long I'm running on an Apple iMac under OSX 10.6.8. Does anyone know what's causing this behaviour? Many Thanks, Steve Steve Higham ------=_NextPart_000_000D_01CC842F.B1B4B080 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Not sure if = this is the right list for a Geronimo Eclipse Plugin issue but I = can’t see any other lists mentioned in the online = documentation.

 

I have set = up my Geronimo Run Configuration VM Arguments as follows: = -

 

-javaagent:"/usr/local/geronimo-tomcat6-javaee5-2.= 2.1/bin/jpa.jar" = -Djava.ext.dirs=3D"/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/ext= :/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext= " = -Djava.endorsed.dirs=3D"/usr/local/geronimo-tomcat6-javaee5-2.2.1/li= b/endorsed:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Ho= me/lib/endorsed" -Xms256m -Xmx512m -XX:MaxPermSize=3D256m = -Dorg.apache.geronimo.home.dir=3D"/usr/local/geronimo-tomcat6-javaee= 5-2.2.1

 

Note that the –XX:MaxPermSize has been increased = to 256m in an attempt to reduce PermGen memory errors during = development. I can close eclipse down and reopen it and these settings = are correctly persisted.

 

If I start = Geronimo from the Run Configurations dialog then the process starts = correctly as follows (ps output): -

 

steve     3918   = 0.0  7.2  3560544 301164   ??  = S     1:01pm   0:31.63 = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java= -javaagent:/usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/jpa.jar = -Djava.ext.dirs=3D/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/ext:/Syst= em/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext = -Djava.endorsed.dirs=3D/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/endo= rsed:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib= /endorsed -Xms256m -Xmx512m -XX:MaxPermSize=3D256m = -Dorg.apache.geronimo.home.dir=3D/usr/local/geronimo-tomcat6-javaee5-2.2.= 1 -Dfile.encoding=3DMacRoman -classpath = /usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/server.jar = org.apache.geronimo.cli.daemon.DaemonCLI –long

 

However if I = start Geronimo from the “Start Button” the process starts = incorrectly (MaxPermSize reset to 128m). Furthermore when I go into the = Run Configurations dialog the MaxPermSize value has also been set back = to 128m.

 

steve     4558 176.1  = 3.6  3336080 151572   ??  R     = 1:53pm   0:07.67 = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java= -javaagent:/usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/jpa.jar = -Djava.ext.dirs=3D/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/ext:/Syst= em/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext = -Djava.endorsed.dirs=3D/usr/local/geronimo-tomcat6-javaee5-2.2.1/lib/endo= rsed:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib= /endorsed -Xms256m -Xmx512m -XX:MaxPermSize=3D128m = -Dorg.apache.geronimo.home.dir=3D/usr/local/geronimo-tomcat6-javaee5-2.2.= 1 -Dfile.encoding=3DMacRoman -classpath = /usr/local/geronimo-tomcat6-javaee5-2.2.1/bin/server.jar = org.apache.geronimo.cli.daemon.DaemonCLI --long

 

I’m = running on an Apple iMac under OSX 10.6.8. Does anyone know what’s = causing this behaviour?

 

Many = Thanks,

 

Steve

 

Steve = Higham

 

 

------=_NextPart_000_000D_01CC842F.B1B4B080--