You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by exabrial12 <ex...@gmail.com> on 2019/06/21 15:53:24 UTC

TomEE 7.0.6 - env variable substitution in tomee.xml possibly not working

Hey guys,

We have our broker defined in tomee.xml as:

<Resource
		id="ra/activemq"
		type="ActiveMQResourceAdapter">
	BrokerXmlConfig=
	ServerUrl=${ACTIVEMQ_URL}
	maximumRedeliveries=0
</Resource>

In TomEE 7.0.5, it would read the ${ACTIVEMQ_URL} property from the
Environment, which we set in our systemd unit. 


Can someone else try and reproduce? 



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: TomEE 7.0.6 - env variable substitution in tomee.xml possibly not working

Posted by exabrial12 <ex...@gmail.com>.
We were seeing it work locally, and the environment variables were definitely
set for TomEE, yet the substitution was not happening. We finally booted the
box, and it started working when it came back up. I guess the lesson is, if
in doubt, restart. 



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html