tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: other ways to change the Connector element in server.xml?
Date Thu, 03 Jan 2008 18:40:16 GMT
Doh ... sorry for being late to the game ...

Here's a small article that discusses this too ...

http://www.jroller.com/funkman/entry/let_properties_do_the_talking

-Tim

Anna Nhan wrote:
> Thanks Rainer and Chuck for your responses.
> 
> How does Tomcat know to associate org.myorg.myapp.node1.http.port to the
> Connector port?
> 
> Anna
> 
> On Jan 3, 2008 12:46 PM, Rainer Jung <rainer.jung@kippdata.de> wrote:
> 
>> Like Chuck said:
>>
>> you can freely choose names and values you like. Choose your names
>> carefully to prevent collisions with properties used by other
>> components, e.g. you can start the name with your internet domain name
>> or similar.
>>
>> Example
>>
>> Property -Dorg.myorg.myapp.node1.http.port=8001
>>
>> in server.xml:
>>
>> <Connector port="${org.myorg.myapp.node1.http.port}" ...
>>
>> Regards,
>>
>> Rainer
>>
>> Anna Nhan schrieb:
>>> Rainer,
>>>
>>> I've been searching the web for documented system properties to use to
>> set
>>> up Catalina, but I am confused.
>>>
>>> How do I know which system properties to use? And where can I find
>> proper
>>> documentation for it?
>>> Will setting these Catalina options be reflected in the server.xml?
>>>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message