Re: tomcat 8.5.35 warning using NIO 2 (or NIO) connector w APR: An unknown setting with identifier [2147483647] and value [2] was ignored

2018-12-20 Thread Rémy Maucherat
On Thu, Dec 20, 2018 at 9:37 PM John Palmer  wrote:

> I'm working with tomcat 8.5.35 to configure SSL
> (current system is tomcat 7.5 using JKS keystore and truststore)..
>
> I finally have the certificate parts working with the default (commented
> out) APR connector..
> it bothers me (doesn't seem intuitive) that the logging shows
> "useAprConnector [false]" as in:
> INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
> APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
>
> so I'm experimenting with changing the protocol section from:
>  protocol="org.apache.coyote.http11.Http11AprProtocol"
> to
>  protocol="org.apache.coyote.http11.Http11NioProtocol"
> (or
>  protocol="org.apache.coyote.http11.Http11Nio2Protocol"
> )
> since those are what are actually being used.
> but with either of those selected, each time a browser accesses the system,
> the catalina log shows:
> org.apache.coyote.http2.ConnectionSettingsBase.set Connection [0], An
> unknown setting with identifier [2147483647] and value [2] was ignored
> (this doesn't happen when the APR protocol is selected).
> Any idea what setting this refers to?
>

It means there was an unknown setting in the settings frame, and it's a non
fatal warning. The logging is not good because it logs the constant rather
than the unknown id, but then it's only an int.

Rémy


tomcat 8.5.35 warning using NIO 2 (or NIO) connector w APR: An unknown setting with identifier [2147483647] and value [2] was ignored

2018-12-20 Thread John Palmer
I'm working with tomcat 8.5.35 to configure SSL
(current system is tomcat 7.5 using JKS keystore and truststore)..

I finally have the certificate parts working with the default (commented
out) APR connector..
it bothers me (doesn't seem intuitive) that the logging shows
"useAprConnector [false]" as in:
INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]

so I'm experimenting with changing the protocol section from: