On Fri, Jun 9, 2017 at 12:32 PM, Mark Thomas <ma...@apache.org> wrote:
> 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?

Yeah, sure. I think the biggest benefit is not having to manually
configure all the ports, so it could be an env var in the startup
script or some other setting somewhere. JBoss has a sysprop, so I'm
used to starting it that way, but if you like another method let me
know, I'll open an enhancement request and give it a shot.

> 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