On 09/06/2017 17:34, Romain Manni-Bucau wrote:
> @Mark: guess you are thinking to server.xml?

Yes.

> then it would have placeholder
> support so still a system property somehow no?

It would have placeholder support (as do all attributes in server.xml)
so yes, system properties could be used - with a small edit to
server.xml. It would have to be on Server.

Mark

> 
> +1 anyway, sounds very useful!
> 
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
> 
> 2017-06-09 18:32 GMT+02:00 Mark Thomas <ma...@apache.org>:
> 
>> On 09/06/2017 16:31, Coty Sutherland wrote:
>>> Hi all,
>>>
>>> I was just doing some testing and got had an idea for spinning up new
>>> instances of tomcat. JBoss has this system property
>>> "-Djboss.socket.binding.port-offset" that I think would be useful for
>>> tomcat. As en example, setting the property to 100 on startup would
>>> add "100" to all port bindings on the server (e.g. with a vanilla
>>> install it would cause tomcat to run on 8105, 8180, and 8109). This
>>> prevents uses from having to use a fancy sed (or whatever Windows has)
>>> to update the port bindings for every new install. Does anyone else
>>> see any value to adding this feature?
>>
>> I like the idea a lot - apart from the system property part. Would this
>> still be as useful if it wasn't a system property?
>>
>> Mark
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to