Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 75331 invoked from network); 10 Mar 2008 20:11:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2008 20:11:27 -0000 Received: (qmail 99842 invoked by uid 500); 10 Mar 2008 20:11:18 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 99785 invoked by uid 500); 10 Mar 2008 20:11:18 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 99763 invoked by uid 99); 10 Mar 2008 20:11:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 13:11:18 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.63] (HELO smtp108.prem.mail.sp1.yahoo.com) (98.136.44.63) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Mar 2008 20:10:40 +0000 Received: (qmail 66345 invoked from network); 10 Mar 2008 20:10:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=CnBWpHAXdjKmkXav0+HgSijQSPX8zWiUBAC0laYGucrAm7YyRL1gWwsTqoB6uHcpfrXDNEoi4kVaZapkSfl6XfPAz96udGfclNCkgwzJOxRggxAospr3dFMqb1iGARr0iWhIfEBmrUl7CPyzP8T5dQV4BkpXVlRnopR+LIc+RKI= ; Received: from unknown (HELO ?192.168.1.103?) (david_jencks@67.102.173.8 with plain) by smtp108.prem.mail.sp1.yahoo.com with SMTP; 10 Mar 2008 20:10:50 -0000 X-YMail-OSG: zmRhcwQVM1n3voO3HJyOsuXsnUm2FhhJYPBq8pj5g5IohSPzt9gvulgaLd7Q6TMswka8mJbXtA-- X-Yahoo-Newman-Property: ymail-3 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <73a75e430803101252n390a7512x889b2f43f71ada46@mail.gmail.com> References: <73a75e430803101036i781b54a7ud19ce0f36f44b948@mail.gmail.com> <73a75e430803101252n390a7512x889b2f43f71ada46@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-31--760580799 Message-Id: From: David Jencks Subject: Re: Old Gshell sample causing issues with setting Java Memory options Date: Mon, 10 Mar 2008 13:11:25 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-31--760580799 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I use it every day to remind me how to set up debugging. I will be extremely unhappy if it goes away. I also think the server may not run well with a smaller heap. can you edit your settings into this file instead of removing it? I find that much more convenient than trying to remember a long command line. thanks david jencks On Mar 10, 2008, at 12:52 PM, Jason Warner wrote: > I found where the file is, but I'm not quite sure what to do about > it. My vote would go towards just removing it, but I'm sure it was > put there with a purpose to begin with. Anyone have objections to > removing it or any other ideas as to what to do with it? > > On Mon, Mar 10, 2008 at 1:36 PM, Jason Warner > wrote: > I've been getting strange errors when trying to change the amount > of memory available to my instance of geronimo that I have launched > through gshell. After some digging, I found that what I believe is > an old sample that was left in the etc/rc.d/ directory (start- > server,default.groovy) is setting the max heap size to 512m. This > causes issues as it overrides whatever the user provides on the > command line. Meaning if I try to issue the command "geronimo/ > start-server -J -Xmx1024m -J -Xms1024m" I would get an incompatible > initial and maximum heap size error because the rc.d file is > overwriting my command options and setting maximum heap size to > 512m. I fixed this by deleting the file in the rc.d directory. > Does anyone know where this file comes from? I assume it gets > added in somehow during build time. I'll have to look and see if I > can find where. In the meantime, I'll open an issue for this. > > -- > ~Jason Warner > > > > -- > ~Jason Warner --Apple-Mail-31--760580799 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 I use it every day to remind me how to set up debugging. =A0I will be = extremely unhappy if it goes away. =A0I also think the server may not = run well with a smaller heap.

can you edit your settings = into this file instead of removing it? =A0I find that much more = convenient than trying to remember a long command line.

thanks
david = jencks

On Mar 10, 2008, at 12:52 PM, Jason = Warner wrote:

I found where the file is, but I'm not quite sure what to = do about it.=A0 My vote would go towards just removing it, but I'm sure = it was put there with a purpose to begin with.=A0 Anyone have objections = to removing it or any other ideas as to what to do with it?

On Mon, Mar 10, 2008 at 1:36 PM, Jason Warner = <jaw981@gmail.com> = wrote:
I've been getting strange errors when trying to change the amount = of memory available to my instance of geronimo that I have launched = through gshell.=A0 After some digging, I found that what I believe is an = old sample that was left in the etc/rc.d/ directory = (start-server,default.groovy) is setting the max heap size to 512m.=A0 = This causes issues as it overrides whatever the user provides on the = command line.=A0 Meaning if I try to issue the command = "geronimo/start-server -J -Xmx1024m -J -Xms1024m" I would get an = incompatible initial and maximum heap size error because the rc.d file = is overwriting my command options and setting maximum heap size to = 512m.=A0 I fixed this by deleting the file in the rc.d directory.=A0 = Does anyone know where this file comes from?=A0 I assume it gets added = in somehow during build time.=A0 I'll have to look and see if I can find = where.=A0 In the meantime, I'll open an issue for this.
=
--
~Jason Warner =



--
~Jason = Warner

= --Apple-Mail-31--760580799--