Bug 51811 - SSL configuration property name illegal
Summary: SSL configuration property name illegal
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 7.0.21
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 14:57 UTC by Roman Tsirulnikov
Modified: 2011-09-18 12:31 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Tsirulnikov 2011-09-14 14:57:22 UTC
server.xml configuration file. Connector properties.
org.apache.coyote.http11.Http11NioProtocol

property set: sslImplementationName="ru.yamoney.calypso.server.security.jsse.CalypsoSSLImplementation"

Causes an error during catalina startup:

[2011-09-14 18:42:16.299] [main WARN  commons.digester.Digester] - [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'sslImplementationName' to 'ru.yamoney.calypso.server.security.jsse.CalypsoSSLImplementation' did not find a matching property.


According documentation:
http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL%20Support

the property name is: sslImplementationName


see the source code:
org.apache.coyote.http11.AbstractHttp11JsseProtocol

line 107:

    public String getSslImplemenationName() { return sslImplemenationName; }
    public void setSslImplemenationName(String s) {
        this.sslImplemenationName = s;
    }


As you see, the property name is misspelled ("sslImplemenation").

When I set the connector property as:
sslImplemenationName="ru.yamoney.calypso.server.security.jsse.CalypsoSSLImplementation"

the catalina starts fine.

Versions affected: 7.0.20 and 7.0.21
Comment 1 Rainer Jung 2011-09-18 12:31:43 UTC
Thanks for reporting this.

It has been fixed in TC trunk (r1172269) and TC 7 (r1172271) and will be part of TC 7.0.22.