It's all about the answers!

Ask a question

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


Scott Guffey (11111) | asked Mar 06 '13, 3:32 p.m.

Hi,

I have Team Concert 4.0.0 setup. It works when using the startup and shutdown scripts. I have tried to set this up as a service so that it will start with the server on start up. I have gone through all the documents about how to set this up. I must be missing something, because I can not seem to get by this error: SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]. Has anyone seen this before and have a fix or know what I missed. Thank you for any help....

2013-03-06 15:25:19 Commons Daemon procrun stderr initialized
Mar 6, 2013 3:25:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\IBM\JazzTeamServer\server\jre\bin\compressedrefs;D:\Program Files\IBM\JazzTeamServer\server\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32\windowspowershell\v1.0\;c:\program files\mcafee\solidcore\;c:\program files\mcafee\solidcore\tools\scgetcerts;c:\program files\mcafee\solidcore\tools\gatherinfo;c:\program files\ibm\gsk8\lib64;c:\program files (x86)\ibm\gsk8\lib;D:\PROGRA~1\IBM\SQLLIB\BIN;D:\PROGRA~1\IBM\SQLLIB\FUNCTION;D:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;;.
Mar 6, 2013 3:25:21 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-9080"]
Mar 6, 2013 3:25:21 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-9443"]
Mar 6, 2013 3:25:22 PM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
Throwable occurred: java.io.IOException: ${jazz.connector.algorithm} KeyManagerFactory not available
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:475)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:158)
 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378)
 at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:554)
 at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:409)
 at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
 at org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
 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:781)
 at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:595)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:620)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:600)
 at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
Caused by: java.security.NoSuchAlgorithmException: ${jazz.connector.algorithm} KeyManagerFactory not available
 at sun.security.jca.GetInstance.getInstance(GetInstance.java:230)
 at javax.net.ssl.KeyManagerFactory.getInstance(KeyManagerFactory.java:19)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:571)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:505)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:449)
 ... 19 more
Mar 6, 2013 3:25:22 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.java:781)
 at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:595)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:620)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:600)
 at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
 at org.apache.catalina.connector.Connector.initInternal(Connector.java:958)
 at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
 ... 12 more
Caused by: java.io.IOException: ${jazz.connector.algorithm} KeyManagerFactory not available
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:475)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:158)
 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378)
 at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:554)
 at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:409)
 at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
 at org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
 ... 13 more
Caused by: java.security.NoSuchAlgorithmException: ${jazz.connector.algorithm} KeyManagerFactory not available
 at sun.security.jca.GetInstance.getInstance(GetInstance.java:230)
 at javax.net.ssl.KeyManagerFactory.getInstance(KeyManagerFactory.java:19)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:571)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:505)
 at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:449)
 ... 19 more
Mar 6, 2013 3:25:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-9009"]
Mar 6, 2013 3:25:22 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1793 ms
Mar 6, 2013 3:25:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina

3 answers



permanent link
Gaurav Tapadkar (2713) | answered Dec 18 '13, 10:02 a.m.
 Hi All,

I am getting the same error while starting Jazz as a windows service. User id has Full read/write access on the directory.

Server: Windows server 2008 R2
Jazz 4.0.4 version and I have installed CCM, RM and QM applications.

If I start Jazz instance from Jazz default installation directory (C:/JazzInstallationDirectory/server/server.startup.bat it starts without any issues. But if I start it from tomcat/bin/startup.bat or a as windows service it gives below errors.

I have followed the exact steps mentioned in below link.


Error Stack:

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
java.io.IOException: SSL_TLS SSLContext not available

org.apache.catalina.core.StandardService initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9443]]

SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9443]]
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.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.io.IOException: SSL_TLS SSLContext not available
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:475)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:158)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 13 more

permanent link
Scott Guffey (11111) | answered Mar 08 '13, 9:51 a.m.

Anthony,

Not a rights issue. What it turned out to be was missing java option on service.

-Djazz.connector.algorithm=Ibmx509

 

Thank you for your response.

Scott..


Comments
Anthony Kesterton commented Mar 08 '13, 10:10 a.m.
JAZZ DEVELOPER

Wow - I would never in a million years have thought of that!  Thanks for posting the answer, it adds to the knowledgebase.


permanent link
Anthony Kesterton (7.5k7180136) | answered Mar 06 '13, 3:37 p.m.
JAZZ DEVELOPER
edited Mar 06 '13, 3:38 p.m.
Hi Scott

I suspect the user id that runs the service does not have write or perhaps even read access to the directory where all the files are being stored.

Check which user is running the process and give that user permission to r/w the server subdirectory (and any nested directories) in your RTC installation. 

If that does not work - let us know here.

anthony

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.