You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jarek Gawor <jg...@gmail.com> on 2008/12/01 23:33:19 UTC

GERONIMO-4229

Hi,

I was looking at GERONIMO-4229 today (please see the bug and my
comments for details). There is a remaining issue with the
GERONIMO_BASE property and what it does. The Java system property that
it sets is not used anywhere in the code and therefore that property
is useless.  I have a couple of ideas what we can do with it or how to
fix it:

1) Totally get rid off GERONIMO_BASE in the shell scripts. It doesn't
do anything right now anyway and it just confuses people. People that
want to use multiple server instances will need to pass
"org.apache.geronimo.server.dir" or "org.apache.geronimo.server.name"
property using the GERONIMO_OPTS env. property (as it is documented
today).

or

2) Keep GERONIMO_BASE but only pass "org.apache.geronimo.server.dir"
property (to the java process) if the user has set the GERONIMO_BASE
env. property explicitly. That is, do not set GERONIMO_BASE property
automatically within the script as it is done now. If it would be
automatically set, the "org.apache.geronimo.server.name" property
(passed via GERONIMO_OPTS) would always be ignored.

Thoughts?

Jarek

Re: GERONIMO-4229

Posted by "Jay D. McHugh" <ja...@gmail.com>.
+1 to getting rid of GERONIMO_BASE

Jay

Jarek Gawor wrote:
> Hi,
> 
> I was looking at GERONIMO-4229 today (please see the bug and my
> comments for details). There is a remaining issue with the
> GERONIMO_BASE property and what it does. The Java system property that
> it sets is not used anywhere in the code and therefore that property
> is useless.  I have a couple of ideas what we can do with it or how to
> fix it:
> 
> 1) Totally get rid off GERONIMO_BASE in the shell scripts. It doesn't
> do anything right now anyway and it just confuses people. People that
> want to use multiple server instances will need to pass
> "org.apache.geronimo.server.dir" or "org.apache.geronimo.server.name"
> property using the GERONIMO_OPTS env. property (as it is documented
> today).
> 
> or
> 
> 2) Keep GERONIMO_BASE but only pass "org.apache.geronimo.server.dir"
> property (to the java process) if the user has set the GERONIMO_BASE
> env. property explicitly. That is, do not set GERONIMO_BASE property
> automatically within the script as it is done now. If it would be
> automatically set, the "org.apache.geronimo.server.name" property
> (passed via GERONIMO_OPTS) would always be ignored.
> 
> Thoughts?
> 
> Jarek

Re: GERONIMO-4229

Posted by Kevan Miller <ke...@gmail.com>.
On Dec 1, 2008, at 5:33 PM, Jarek Gawor wrote:

> Hi,
>
> I was looking at GERONIMO-4229 today (please see the bug and my
> comments for details). There is a remaining issue with the
> GERONIMO_BASE property and what it does. The Java system property that
> it sets is not used anywhere in the code and therefore that property
> is useless.  I have a couple of ideas what we can do with it or how to
> fix it:
>
> 1) Totally get rid off GERONIMO_BASE in the shell scripts. It doesn't
> do anything right now anyway and it just confuses people. People that
> want to use multiple server instances will need to pass
> "org.apache.geronimo.server.dir" or "org.apache.geronimo.server.name"
> property using the GERONIMO_OPTS env. property (as it is documented
> today).

Sounds good to me.

--kevan

Re: GERONIMO-4229

Posted by Joe Bohn <jo...@earthlink.net>.
I agree

Joe

Donald Woods wrote:
> If it is no longer used, then #1 sounds like the right approach.
> 
> 
> -Donald
> 
> 
> Jarek Gawor wrote:
>> Hi,
>>
>> I was looking at GERONIMO-4229 today (please see the bug and my
>> comments for details). There is a remaining issue with the
>> GERONIMO_BASE property and what it does. The Java system property that
>> it sets is not used anywhere in the code and therefore that property
>> is useless.  I have a couple of ideas what we can do with it or how to
>> fix it:
>>
>> 1) Totally get rid off GERONIMO_BASE in the shell scripts. It doesn't
>> do anything right now anyway and it just confuses people. People that
>> want to use multiple server instances will need to pass
>> "org.apache.geronimo.server.dir" or "org.apache.geronimo.server.name"
>> property using the GERONIMO_OPTS env. property (as it is documented
>> today).
>>
>> or
>>
>> 2) Keep GERONIMO_BASE but only pass "org.apache.geronimo.server.dir"
>> property (to the java process) if the user has set the GERONIMO_BASE
>> env. property explicitly. That is, do not set GERONIMO_BASE property
>> automatically within the script as it is done now. If it would be
>> automatically set, the "org.apache.geronimo.server.name" property
>> (passed via GERONIMO_OPTS) would always be ignored.
>>
>> Thoughts?
>>
>> Jarek
>>
> 


Re: GERONIMO-4229

Posted by Donald Woods <dw...@apache.org>.
If it is no longer used, then #1 sounds like the right approach.


-Donald


Jarek Gawor wrote:
> Hi,
> 
> I was looking at GERONIMO-4229 today (please see the bug and my
> comments for details). There is a remaining issue with the
> GERONIMO_BASE property and what it does. The Java system property that
> it sets is not used anywhere in the code and therefore that property
> is useless.  I have a couple of ideas what we can do with it or how to
> fix it:
> 
> 1) Totally get rid off GERONIMO_BASE in the shell scripts. It doesn't
> do anything right now anyway and it just confuses people. People that
> want to use multiple server instances will need to pass
> "org.apache.geronimo.server.dir" or "org.apache.geronimo.server.name"
> property using the GERONIMO_OPTS env. property (as it is documented
> today).
> 
> or
> 
> 2) Keep GERONIMO_BASE but only pass "org.apache.geronimo.server.dir"
> property (to the java process) if the user has set the GERONIMO_BASE
> env. property explicitly. That is, do not set GERONIMO_BASE property
> automatically within the script as it is done now. If it would be
> automatically set, the "org.apache.geronimo.server.name" property
> (passed via GERONIMO_OPTS) would always be ignored.
> 
> Thoughts?
> 
> Jarek
> 

Re: GERONIMO-4229

Posted by Anita Kulshreshtha <a_...@yahoo.com>.
comments inline...

--- On Mon, 12/1/08, Jarek Gawor <jg...@gmail.com> wrote:
From: Jarek Gawor <jg...@gmail.com>
Subject: GERONIMO-4229
To: "Geronimo Dev" <de...@geronimo.apache.org>
Date: Monday, December 1, 2008, 5:33 PM

Hi,

I was looking at GERONIMO-4229 today (please see the bug and my
comments for details). There is a remaining issue with the
GERONIMO_BASE property and what it does. The Java system property that
it sets is not used anywhere in the code and therefore that property
is useless.  I have a couple of ideas what we can do with it or how to
fix it:

1) Totally get rid off GERONIMO_BASE in the shell scripts. It doesn't
do anything right now anyway and it just confuses people. People that
want to use multiple server instances will need to pass
"org.apache.geronimo.server.dir" or
"org.apache.geronimo.server.name"
property using the GERONIMO_OPTS env. property (as it is documented
today).

+1 

Thanks
Anita

or

2) Keep GERONIMO_BASE but only pass "org.apache.geronimo.server.dir"
property (to the java process) if the user has set the GERONIMO_BASE
env. property explicitly. That is, do not set GERONIMO_BASE property
automatically within the script as it is done now. If it would be
automatically set, the "org.apache.geronimo.server.name" property
(passed via GERONIMO_OPTS) would always be ignored.

Thoughts?

Jarek