On 4/3/2017 10:39 AM, Konstantin Kolinko wrote:

3. This getter has a side-effect.
It callsAbstractHttp11Protocol.registerDefaultSSLHostConfig()

Note that this happens when Tomcat is already running. The call is
from a web application.

This results in NPE trying to read a key file. I guess that this
connector is configured to use plain HTTP, not HTTPS.

A getter method should not have such side-effect.

Fixed in 9.0.x and 8.5.x for the next release of each.

Mark

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

Reply via email to