SSLContext not available after JTS 4.0.3 server rename
Hello,
I am working on creating a testing environment that is an exact copy of my production env on standard Windows 2012 Server. I have successfully renamed my JTS 4.0.3 from x.domain-name.com to y.domain-name.com in the testing env. However, when I start Tomact 7 to execute the next step (running https://y.domain-name.com:9445/jts/serverRenameStatus), I get the following exception from Catalina:
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9445"]
java.io.IOException: ${jazz.connector.sslProtocol} 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)
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: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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: java.security.NoSuchAlgorithmException: ${jazz.connector.sslProtocol} SSLContext not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
Any help?
Thanks,.
Comments
Lily Wang
Jan 29 '14, 1:19 a.m.Hi Mamadou,
If the Tomcat is started as a Windows service, please see technote http://www-01.ibm.com/support/docview.wss?uid=swg21460726.
Otherwise, please check in <Jazz_Home>/server/server.startup.bat, if there's java options:
set JAVA_OPTS=%JAVA_OPTS% -Djazz.connector.sslProtocol=SSL_TLS
Mamadou Diallo
Jan 29 '14, 10:36 a.m.Thanks. It's working now.