You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lauria Giuseppe <gi...@axa-winterthur.ch> on 2018/02/07 08:41:44 UTC

Migration from Tomcat 8.0.37 to 8.5.24 , changes to protocol at Http11NioProtocol , from http-nio to https-jsse-nio

Hi tomcat users.


We are in transition from Tomcat 8.0.37 to 8.5.24.

We checked Tomcat docs and FAQ and searched in google for this topic but did not find an explanation.

Question:

Even we did not change server.xml for the connector , now the 'protocol' in the log changed to different value; from 'http-nio' to 'https-jsse-nio'.

Definition im server.xml :
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="200" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLSv1"



log from v8.0.37:

25-Jan-2018 10:34:40.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.37
25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Sep 1 2016 10:01:52 UTC
25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.37.0
25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            2.6.32-696.18.7.el6.x86_64
25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
25-Jan-2018 10:34:40.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/jet/java/jdk-x64/jdk1.8.0_152/jre
25-Jan-2018 10:34:40.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_152-b16
25-Jan-2018 10:34:40.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
.
.
25-Jan-2018 10:34:40.271 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8443"]


Log from v8.5.24:

25-Jan-2018 14:04:54.226 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.24
25-Jan-2018 14:04:54.228 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Nov 27 2017 13:05:30 UTC
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.24.0
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            2.6.32-696.18.7.el6.x86_64
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/jet/java/jdk-x64/jdk1.8.0_152/jre
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_152-b16
25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
.
.
25-Jan-2018 14:04:54.388 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-8443"]


What is the meaning of this ? Is this just naming change ?
Or did functionality change ? If yes, what is different between http-nio and https-jsse-nio ?


Thank you very much.

Kind Regards.

Giuseppe Lauria

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


Re: Migration from Tomcat 8.0.37 to 8.5.24 , changes to protocol at Http11NioProtocol , from http-nio to https-jsse-nio

Posted by Marek Czernek <mc...@redhat.com>.
Hi Lauria,

This seems like everything is the same for you on both Tomcat 8 and 8.5; 
what changed is that the SSL implementation gets displayed in the console.

JSSE means you're using Java runtime JSSE implementation. There's the 
possibility to use OpenSSL implementation as well. See the docs [1 
<https://tomcat.apache.org/tomcat-8.5-doc/ssl-howto.html#Edit_the_Tomcat_Configuration_File>] 
for further details on the SSL implementation with regards to your 
connector settings.

Someone please do correct me if I'm wrong, but the bottom line seems to 
be that nothing functional has changed in this case.

HTH!

[1] 
https://tomcat.apache.org/tomcat-8.5-doc/ssl-howto.html#Edit_the_Tomcat_Configuration_File

On 02/07/2018 09:41 AM, Lauria Giuseppe wrote:
> Hi tomcat users.
>
>
> We are in transition from Tomcat 8.0.37 to 8.5.24.
>
> We checked Tomcat docs and FAQ and searched in google for this topic but did not find an explanation.
>
> Question:
>
> Even we did not change server.xml for the connector , now the 'protocol' in the log changed to different value; from 'http-nio' to 'https-jsse-nio'.
>
> Definition im server.xml :
> <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
>                 maxThreads="200" SSLEnabled="true" scheme="https" secure="true"
>                 clientAuth="false" sslProtocol="TLSv1"
>
>
>
> log from v8.0.37:
>
> 25-Jan-2018 10:34:40.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.37
> 25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Sep 1 2016 10:01:52 UTC
> 25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.37.0
> 25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
> 25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            2.6.32-696.18.7.el6.x86_64
> 25-Jan-2018 10:34:40.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
> 25-Jan-2018 10:34:40.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/jet/java/jdk-x64/jdk1.8.0_152/jre
> 25-Jan-2018 10:34:40.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_152-b16
> 25-Jan-2018 10:34:40.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
> .
> .
> 25-Jan-2018 10:34:40.271 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8443"]
>
>
> Log from v8.5.24:
>
> 25-Jan-2018 14:04:54.226 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.24
> 25-Jan-2018 14:04:54.228 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Nov 27 2017 13:05:30 UTC
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.24.0
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            2.6.32-696.18.7.el6.x86_64
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/jet/java/jdk-x64/jdk1.8.0_152/jre
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_152-b16
> 25-Jan-2018 14:04:54.229 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
> .
> .
> 25-Jan-2018 14:04:54.388 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-8443"]
>
>
> What is the meaning of this ? Is this just naming change ?
> Or did functionality change ? If yes, what is different between http-nio and https-jsse-nio ?
>
>
> Thank you very much.
>
> Kind Regards.
>
> Giuseppe Lauria
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

-- 

Marek Czernek

Associate Quality Engineer


AW: [EXTERNAL] Re: Migration from Tomcat 8.0.37 to 8.5.24 , changes to protocol at Http11NioProtocol , from http-nio to https-jsse-nio

Posted by Lauria Giuseppe <gi...@axa-winterthur.ch>.
Hi Marek, Hi Mark.
Thank you very much.

Best regards
G

-----Ursprüngliche Nachricht-----
Von: Mark Thomas [mailto:markt@apache.org] 
Gesendet: Mittwoch, 7. Februar 2018 09:51
An: Tomcat Users List <us...@tomcat.apache.org>
Betreff: [EXTERNAL] Re: Migration from Tomcat 8.0.37 to 8.5.24 , changes to protocol at Http11NioProtocol , from http-nio to https-jsse-nio

On 07/02/18 08:41, Lauria Giuseppe wrote:
> Hi tomcat users.
> 
> 
> We are in transition from Tomcat 8.0.37 to 8.5.24.

<snip/>

> What is the meaning of this ? Is this just naming change ?
> Or did functionality change ? If yes, what is different between http-nio and https-jsse-nio ?

8.0.x only supports JSSE for TLS with NIO (and NIO2) HTTP connectors.

8.5.x supports JSSE or OpenSSL for TLS with NIO (and NIO2) HTTP connectors.

Therefore, the protocol name in 8.5.x was extended to indicate which TLS implementation is in use.

http-nio in 8.0.x is equivalent to http-jsse-nio in 8.5.x.

Mark

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


Re: Migration from Tomcat 8.0.37 to 8.5.24 , changes to protocol at Http11NioProtocol , from http-nio to https-jsse-nio

Posted by Mark Thomas <ma...@apache.org>.
On 07/02/18 08:41, Lauria Giuseppe wrote:
> Hi tomcat users.
> 
> 
> We are in transition from Tomcat 8.0.37 to 8.5.24.

<snip/>

> What is the meaning of this ? Is this just naming change ?
> Or did functionality change ? If yes, what is different between http-nio and https-jsse-nio ?

8.0.x only supports JSSE for TLS with NIO (and NIO2) HTTP connectors.

8.5.x supports JSSE or OpenSSL for TLS with NIO (and NIO2) HTTP connectors.

Therefore, the protocol name in 8.5.x was extended to indicate which TLS
implementation is in use.

http-nio in 8.0.x is equivalent to http-jsse-nio in 8.5.x.

Mark

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