geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <jason.dil...@gmail.com>
Subject Re: Can gshell give geronimo system properties?
Date Mon, 15 Sep 2008 06:33:09 GMT
I implemented that stuff for you David... remember?

:-P

--jason


On Sep 15, 2008, at 9:21 AM, Jason Warner wrote:

> Hi David,
>
> I'm not sure how useful this will be, but here's the GShell  
> documentation from the wiki, http://cwiki.apache.org/GMOxDOC22/gshell.html#GShell-StartingandStoppingGeronimoinGshell

>  .  I believe you can pass properties to the server using the -G  
> command.  This is used for geronimo properites of the type  
> org.apache.geronimo only, I believe.  From my understanding of how  
> it works, if you were to want to pass  
> org.apache.geronimo.server.name when starting the server you would  
> do "geronimo/start-server -G server.name=servername".  Note that the  
> org.apache.geronimo portion is not used.  Hopefully this is what  
> you're looking for.
>
> On Sun, Sep 14, 2008 at 7:56 PM, David Jencks  
> <david_jencks@yahoo.com> wrote:
> I've been looking at passing some system properties to geronimo via  
> gshell as if on the command line with -Dproperty=value and haven't  
> figured out any way to do it.  Am i terminally dumb or is this not  
> yet implemented?
>
> e.g. in the gshell console...
> >geronimo/start-server -Dproperty=value
>
> More specifically I am thinking about supplying some overrides for  
> some config-substitution.properties values and wonder if we should  
> have a shorthand
>
> geronimo/start-server --config-substitution key=value or something  
> similar.  Is it possible to have a multivalued option?
>
> I already hacked in locally support for setting the server name:  -s  
> servername  which is equivalent to - 
> Dorg.apache.geronimo.server.name=servername
>
> thanks
> david jencks
>
>
>
> -- 
> ~Jason Warner


Mime
View raw message