It's all about the answers!

Ask a question

How fix SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-9443"]


0
1
Fran Burgos (12312352) | asked Apr 30 '15, 5:57 a.m.
edited May 04 '15, 3:38 a.m.
 I have just downloaded RTC 5.0.2 (Jazz Team Server and the CCM Application, and Trial licenses for Rational Team Concert) from Plain. zip Files section (https://jazz.net/downloads/rational-team-concert/releases/5.0.2?p=allDownloads) but when I run server.startup.bat script I get the following error:

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-9443"]
Throwable occurred: java.lang.Exception: The attribute connector SSLCertificateFile must be defined for SSL with APR
        at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:468)
        at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:640)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)
        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.java: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(DelegatingMethodAccessorImpl.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)
30-abr-2015 11:43:48 org.apache.catalina.core.StandardService initInternal
SEVERE: No pude inicializar el conector [Connector[HTTP/1.1-9443]]
Throwable occurred: org.apache.catalina.LifecycleException: Failed to initialize component [Connecto
r[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.java: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(DelegatingMethodAccessorImpl.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: Falló la inicialización del manejador de protocol
o
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:980)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 12 more
Caused by: java.lang.Exception: The attribute connector SSLCertificateFile must be defined for SSL with APR
        at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:468)
        at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:640)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)
        ... 13 more

After this the server startups normally, but I cannot access to https://localhost:9443/jts/setup or any other url.

UPDATE:

The part of server.xml where SSL connector is defined is:

 <Connector port="9443"
               connectionTimeout="20000"
               maxHttpHeaderSize="8192"
               maxThreads="150"
               minSpareThreads="25"
               enableLookups="false"
               disableUploadTimeout="true"
               acceptCount="100"
               scheme="https"
               secure="true"
               clientAuth="false"
               keystoreFile="ibm-team-ssl.keystore"
               keystorePass="ibm-team"
      protocol="HTTP/1.1"
      SSLEnabled="true"
               sslProtocol="${jazz.connector.sslProtocol}" 
               algorithm="${jazz.connector.algorithm}"
               URIEncoding="UTF-8" 
               ciphers="SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA" />

3 answers



permanent link
Martha (Ruby) Andrews (3.0k44351) | answered Apr 30 '15, 1:35 p.m.
JAZZ DEVELOPER
There is a problem with your server.xml file for Tomcat. Did you edit it to enable use of certificates? 

This entry in Stack Overflow describes the Tomcat error and causes: 
https://jazz.net/forum/questions/180076/how-fix-severe-failed-to-initialize-end-point-associated-with-protocolhandler-http-apr-9443

Martha (Ruby) Andrews
Jazz Foundation L3 Development Team Lead

Comments
Fran Burgos commented May 04 '15, 3:27 a.m.

I didn't edit anything because I understand that if you download this RTC version from official jazz repository should working without modifications. About the Stack Overflow entry, could you check it if the url is right?


permanent link
Ralph Schoon (63.5k33646) | answered May 04 '15, 7:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Another option might be that there is another process listening to that port already. I think the error message should be different, but maybe not. I have this issue when developing, because I put some other tool on the port.

permanent link
Mallikarjuna Manoj Kandala (1161121) | answered Jun 13 '16, 9:40 a.m.
I have ensured to map the JRE to ../JazzTeamServer/server/jre/bin/java and after that it started working without any issues. Earlier I was trying to point to external IBM JRE.

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.