It's all about the answers!

Ask a question

Connector attribute SSLCertificateFile must be d efined when using SSL with APR


Girish Jangame (1118) | asked Nov 23 '16, 9:14 a.m.
converted to question Nov 23 '16, 8:16 p.m. by Donald Nong (14.5k514)
 hi Fran,
I am also facing same issue as below

Using CATALINA_BASE:   "C:\Users\A603577\Documents\SSC Project\newplugin\RTC50De
v2\install\JazzTeamServer\server\tomcat"
Using CATALINA_HOME:   "C:\Users\A603577\Documents\SSC Project\newplugin\RTC50De
v2\install\JazzTeamServer\server\tomcat"
Using CATALINA_TMPDIR: "C:\Users\A603577\Documents\SSC Project\newplugin\RTC50De
v2\install\JazzTeamServer\server\tomcat\temp"
Using JRE_HOME:        "C:\Users\A603577\Documents\SSC Project\newplugin\RTC50De
v2\install\JazzTeamServer\server\jre"
Using CLASSPATH:       "C:\Users\A603577\Documents\SSC Project\newplugin\RTC50De
v2\install\JazzTeamServer\server\tomcat\bin\bootstrap.jar;C:\Users\A603577\Docum
ents\SSC Project\newplugin\RTC50Dev2\install\JazzTeamServer\server\tomcat\bin\to
mcat-juli.jar"
Listening for transport dt_socket at address: 4500
23 Nov, 2016 7:09:52 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5
.1.
23 Nov, 2016 7:09:52 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
23 Nov, 2016 7:09:52 PM org.apache.catalina.core.AprLifecycleListener initialize
SSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
23 Nov, 2016 7:09:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-9080"]
23 Nov, 2016 7:09:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-9443"]
23 Nov, 2016 7:09:53 PM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-ap
r-9443"]
Throwable occurred: java.lang.Exception: Connector attribute SSLCertificateFile
must be defined when using SSL with APR
        at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:468)
        at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.jav
a:640)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
78)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.core.StandardService.initInternal(StandardService
.java:559)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.core.StandardServer.initInternal(StandardServer.j
ava:813)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:663)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)
23 Nov, 2016 7:09:53 PM org.apache.catalina.core.StandardService initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9443]]
Throwable occurred: org.apache.catalina.LifecycleException: Failed to initialize
 component [Connector[HTTP/1.1-9443]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
        at org.apache.catalina.core.StandardService.initInternal(StandardService
.java:559)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.core.StandardServer.initInternal(StandardServer.j
ava:813)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:663)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initializati
on failed
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
80)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 12 more
Caused by: java.lang.Exception: Connector attribute SSLCertificateFile must be d
efined when using SSL with APR
        at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:468)
        at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.jav
a:640)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
78)
        ... 13 more
23 Nov, 2016 7:09:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-9009"]
23 Nov, 2016 7:09:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1383 ms
23 Nov, 2016 7:09:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
23 Nov, 2016 7:09:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
23 Nov, 2016 7:09:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Users\A603577\Documents\SSC Project\n
ewplugin\RTC50Dev2\install\JazzTeamServer\server\tomcat\webapps\ccm.war
23 Nov, 2016 7:09:54 PM com.ibm.team.osgi.patch.PatchConfigurator addHooks
INFO: Patch service started
23 Nov, 2016 7:09:54 PM com.ibm.team.osgi.patch.PatchConfigurator addHooks
INFO: No patches found


please help me how can i resolve it.


Comments
Donald Nong commented Nov 23 '16, 8:17 p.m.

It's never a good idea to post your questions as an "answer" to an old post. I converted it to this question from
https://jazz.net/forum/questions/180076/how-fix-severe-failed-to-initialize-end-point-associated-with-protocolhandler-http-apr-9443

One answer



permanent link
Donald Nong (14.5k514) | answered Nov 23 '16, 8:21 p.m.
edited Nov 23 '16, 8:21 p.m.
Based on the old post that you saw, you should at least make sure the Tomcat is using the bundled IBM JRE.

Since you appear to be in a development environment, you will not worry about any potential issues. You can simply comment out the APR connector line to make it work, which is the most popular solution based on past discussions.
http://stackoverflow.com/questions/6306314/tomcat-7-ssl-failed
http://stackoverflow.com/questions/10545922/issue-in-tomcat-7-0-to-configure-tomcat-to-support-ssl
http://stackoverflow.com/questions/22665723/not-able-to-configure-ssl-with-tomcat-7

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.