Hi Brandon!

TomEE’s conf/system.properties are _not_ intended for end users.

If you like to configure something in your own project then please take a look 
at the DeltaSpike configuration system [1].
The basic idea is to have different ‚ConfigSources‘ (some property files, 
environment, -D java params, etc) which each have their own ‚ordinal‘. The 
higher the ordinal value, the more important it’s configured values. That way 
you can provide a default configuration within some jar, override it later in 
your WAR or even use a totally different value on each of your servers.

LieGrue,
strub

[1] http://deltaspike.apache.org/documentation/configuration.html


> Am 05.04.2015 um 08:52 schrieb brandonlamb <[email protected]>:
> 
> Wow, so ~1.5 hours, finally stumbled upon System.getProperty().
> 
> Putting a system.properties into src/main/tomee/conf did the trick, I was
> able to fetch my setting.
> 
> Now it would still be nice to figure out how to load some other separate
> config file, but I will settle for this for now.
> 
> :)
> 
> 
> 
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Total-noob-question-system-properties-tp4674263p4674266.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to