https://bz.apache.org/bugzilla/show_bug.cgi?id=60368

--- Comment #11 from Andy Wilkinson <awilkin...@pivotal.io> ---
Thanks, Violeta. I've tested the -5 snapshot and it hasn't completely fixed the
problem.

Our code currently does this:

tomcat.getService().addConnector(connector);
tomcat.setConnector(connector);

This worked fine in 8.5.6 and earlier.

With the latest snapshot we still end up with two connectors because adding the
connector to the service prevents setConnector from setting the
defaultConnectorCreated flag. So, strictly speaking, there's still a behaviour
change here.

That said, as far as I can tell there's no need to be add the Connector to the
Service and set it on the Tomcat instance so we can change our code to just do
this:

tomcat.setConnector(connector);

It should then work as it did with 8.5.6.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to