it is on trunk, for earlier versions the workaround is to add something started before setting the correct system properties (tomcat Listener, openejb hook, a simple jar with a singleton deployed through <Deployements/> in tomee.xml...)
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/11 mauro2java2011 <[email protected]> > i have think that it is not possible read the variables environment only > with > : > ${NAME_OF_VARIABLE_ENVIRONMENT} > > > OTher question: > > 2) how i can add variables environments at TOMEE startup? a esample for > > add > > a variable ????? > > for example : i would add a variable environment named $MYMESSAGE=Hi to > > all > > user of TOMEE > > how i can declare for TOMEE ? > > tank you very much > > Mauro > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/how-set-system-properties-for-datasource-into-resources-xml-from-variables-environments-tp4664217p4664219.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
