Error enabling SSL Communication with JasperReports
search cancel

Error enabling SSL Communication with JasperReports

book

Article ID: 369839

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Portal CA Identity Manager CA Identity Governance

Issue/Introduction

After following documentation to enable SSL Communication with JasperReports Server
14.4 Documentation
14.5 Documentation

we see errors in Jasper logs:

SEVERE [main] org.apache.catalina.connector.Connector.<init> Protocol handler instantiation failed
        java.lang.ClassNotFoundException: org.apache.coyote.http11.Http11Protocol

when opening main page of Jasper server it shows 404 error or that site can't be reached.

In Network tab of Chrome Dev tools (F12) there is a status - (canceled), (failed) net::ERR_CONNECTION_REFUSED.

 

Environment

Any environment using Apache Tomcat 8 or higher.

 

Cause

Class:org.apache.coyote.http11.Http11Protocol was depreciated in Apache 8 and removed in Apache 9.

Class Http11Protocol Documentation

Resolution

Change

<Connector protocol="org.apache.coyote.http11.Http11Protocol "

to

<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"

<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol" port="8443" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="<Change to Your KeyStore file Path>" keystorePass="<Change to Your KeyStore file password>" clientAuth="false" sslProtocol="TLS"/>

Additional Information