On Feb 7, 2007, at 10:14 PM, Manu George wrote:
Very Cool . Will be very useful. Will not need to specify a lot of
commandline properties
Yea I think it will be very neat. For the most part the openejb.conf
file format we've been using since back in 0.8.x is entirely
properties based -- it was modeled after the httpd.conf file (they
get credit for the idea :). But you can do more with the system
properties than you can in the openejb.conf, especially when you
throw in all the other libraries that have system properties to be
configured.
It's something I've been tempted to add for the longest time but
couldn't find an elegant way. I had only thought about it from an
OpenEJB perspective and it had always seemed odd considering the conf
file already is properties based. It wasn't till Dain asked me for
the feature and wanted to use it for OpenJPA and CORBA that it
occurred to me we could just go the opposite direction and call it
system.properties and open it wide up as a general way to add any
system property to the System.getProperties() instance, OpenEJB
specific or not.
-David
Regards
Manu
On 2/8/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
Very cool. It will give us a good place to put common system
properties like keystores and keystore passowords, not to mention the
billion properties CORBA needs.
-dain
On Feb 7, 2007, at 8:44 PM, David Blevins wrote:
> Ok, throwing out another idea. We've got a number of things that
> can be configured via system properties. What do people think
> about having a file called system.properties we put in the conf/
> directory where people can put any properties they want and we will
> read them in and add them to System.getProperties().
>
> This would be in addition to the ability people already have to
> properties added to the system properties via -D args. E.g.
>
> ./bin/openejb start -Dfoo=bar
>
> We'd probably want the -D args to be applied after we read in the
> system.properties file so anything on the command line would win.
>
> We have a ton of things we can do with system properties already.
> I started to write them into this email but moved it into a new
> confluence page as it was too big :)
>
> http://cwiki.apache.org/OPENEJB/system-properties.html
>
> See this related jira (OPENEJB-451)
>
> Not to mention people may want to add their own properties for
> their apps. See a related idea (OPENEJB-457)
>
> So what do people think? Thumbs up? Thumbs down? <Insert your
> thoughts here>
>
> -David
>
>
>