Re: Disable connector by property

2020-05-14 Thread T. Papke
Hello Mark, if an application is shipped with tomcat and a predefined server.xml, some configurations shall still be modified from "outside" without modifing the server.xml. The existing property placeholder approach is already flexible and allows the "extraction" of certain configurations to an e

RE: Disable connector by property

2020-05-13 Thread jonmcalexander
-Original Message- From: Mark Thomas Sent: Wednesday, May 13, 2020 5:28 PM To: users@tomcat.apache.org Subject: Re: Disable connector by property On 13/05/2020 20:16, T. Papke wrote: > Hello all, > > Currently adding or removing a connector requires changes to the XML >

Re: Disable connector by property

2020-05-13 Thread Mark Thomas
On 13/05/2020 20:16, T. Papke wrote: > Hello all, > > Currently adding or removing a connector requires changes to the XML > structure of the server.xml (at least 9.x) > > Is there any option to enable or disable a connector with a system > property? If not, does it make sense to add a "enabled"

Disable connector by property

2020-05-13 Thread T. Papke
Hello all, Currently adding or removing a connector requires changes to the XML structure of the server.xml (at least 9.x) Is there any option to enable or disable a connector with a system property? If not, does it make sense to add a "enabled" attribute to the connector or implicit interpret a