I think your protocol line needs to include "Nio" or "apr", depending on which 
one you use:
protocol="org.apache.coyote.http11.Http11NioProtocol"
or
protocol="org.apache.coyote.http11.Http11AprProtocol"
see documentation here https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html



-----Original Message-----
From: James H. H. Lampert <jam...@touchtonecorp.com.INVALID> 
Sent: Monday, March 6, 2023 6:58 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Connector definitions, Re: Tomcat 8 impending EOL -- what's the 
minimum Java for Tomcat 9?

On 03/03/2023 17:44, I wrote:

>> Ok, another question: will Tomcat 9 accept a "legacy" connector 
>> definition in the form as shown below?
>> 
>> <Connector port="443" 
>> protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150"
>>  SSLEnabled="true" scheme="https" secure="true" 
>> keystoreFile="/foo/tomcat/bar.ks" keyAlias="baz" clientAuth="false"
>>  sslProtocol="TLS" />

To which Mark Thomas replied:

> Yes.

This afternoon, I realized that I had a guinea pig available for testing our 
webapp under Tomcat 9, on an IBM Midrange box.

With a connector defined according to the above form, I tried launching, and 
got this:
> 06-Mar-2023 18:42:08.677 SEVERE [main] 
> org.apache.catalina.connector.Connector.<init> Protocol handler instantiation 
> failed 
> java.lang.ClassNotFoundException: org.apache.coyote.http11.Http11Protocol     
>                                               
> at java.lang.Class.forNameImpl(Native Method)                                
>                                               
> at java.lang.Class.forName(Class.java:339)                                   
>                                               
> at org.apache.coyote.ProtocolHandler.create(ProtocolHandler.java:260)        
>                                               
. . .

So I'm guessing I need to change the class given in the protocol clause. 
To what?

--
JHHL


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


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

Reply via email to