It's all about the answers!

Ask a question

When starting tomcat7 with jts 4.0,port 9443 cannot open


Cheng Li (633) | asked Jun 29 '12, 5:05 a.m.
I installed JTS 4.0 on windows server 2008 R2 x86-64 platform, vmware 8.0.
But when I try to start tomcat7 with server. startup.bat, it report an error about unable to connect port 9443.
And netstat command show that 9443 is not open, but 9080, 9009 are open.
tomcat service is running at last, and http://localhost:9080 can be accessed, but https://localhost:9443/jts/setup is off.
Related error log in  ..\tomcat\logs\catalina.2012-06-29.log is:
*********************************
Fatal: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
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: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(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:449)
Caused by: java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at javax.net.ssl.SSLContext.getInstance(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSSLContext(JSSESocketFactory.java:488)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:448)
... 19 more
************************************************

4 answers



permanent link
Karl Weinert (2.0k52736) | answered Jun 29 '12, 8:24 a.m.
JAZZ DEVELOPER
It looks like you fixed your first problem and have set up tomcat to run as a Windows service?

If so checkout  out this technote
http://www-01.ibm.com/support/docview.wss?uid=swg21460726
Looks like it could be missing  -Djazz.connector.sslProtocol=SSL_TLS in the Java Options section.

Comments
Matt Lennon commented Jun 29 '12, 10:29 a.m.
JAZZ DEVELOPER

And be sure to check out the links at the bottom of that technote which have the full instructions for setting up Tomcat to run as a Windows service.


permanent link
Arne Bister (2.6k12832) | answered Jun 29 '12, 8:29 a.m.
JAZZ DEVELOPER
Hi,

I can ascertain you that this is not a general issue with Tomcat7 or JTS 4.0 on Windows Server 2008 R2. I installed that exact setup last week and successfully started JTS on port 9443. But ... the Windows firewall asked if I wanted to allow traffic on this port. You might need to check if a local firewall is running on the server and whether it has rules for in- and outbound traffic to allow access to port 9443.

Even if that is not the cause, I would keep checking along the lines of what process is blocking that port on your server.

- Arne

permanent link
Cheng Li (633) | answered Jul 12 '12, 11:42 p.m.
Thank you for all!
It really seems like that it is not a general issue. I tried another version of windows server 2008 R2 64 bit OS. And that is ok for no that problem.
I guess the OS somewhere has contrain or something not usual.

But still now, I have some problem with tomcat7 as a service on win 2008 64 bit. I followed the online help of jazz 4.0. I'll try later to figure it. Thank you for the help.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/index.jsp?topic=/com.ibm.jazz.install.doc/topics/t_run_rqm64_win_service.html

permanent link
Stefan Groß (1611) | answered Jun 02 '14, 3:50 a.m.
I am having exactly the same issue after upgrading from RTC 4.0.4 to 4.0.6.

Have you been successfull in solving the problem?

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.