You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Katz, Adi" <Ad...@easa.aeat.com> on 2002/09/25 14:38:46 UTC

referncing enviorenment variable in server.xml

Hello,

Is it possible to use enviorenment variables in server.xml in a similar manner to ANT?
For example if i want the port number to be taken from the enviorenment variable PORT_NUMBER
can i do something like this:

<Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="{$PORT_NUMBER}" debug="0" connectionTimeout="60000"/>


???

By the way, this example did not work so i am looking for the right way to do it.

Any suggestions??
Adi