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"] SSL_TLS SSLContext not available
at org.apache.coyote.AbstractProtocol.init(
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(
at org.apache.catalina.connector.Connector.initInternal(
at org.apache.catalina.util.LifecycleBase.init(
at org.apache.catalina.core.StandardService.initInternal(
at org.apache.catalina.util.LifecycleBase.init(
at org.apache.catalina.core.StandardServer.initInternal(
at org.apache.catalina.util.LifecycleBase.init(
at org.apache.catalina.startup.Catalina.load(
at org.apache.catalina.startup.Catalina.load(
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(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: SSL_TLS SSLContext not available
at Source)
at Source)
... 19 more

4 answers

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?

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.

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

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
Karl Weinert (2.0k52736) | answered Jun 29 '12, 8:24 a.m.
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
Looks like it could be missing  -Djazz.connector.sslProtocol=SSL_TLS in the Java Options section.

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

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.

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.