https://bz.apache.org/bugzilla/show_bug.cgi?id=61089
Bug ID: 61089
Summary: Http11NioProtocol doesn't work when using port 20443
Product: Tomcat 8
Version: 8.5.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
When using protocol Http11NioProtocol with port 20443 and a keystore PKCS12,
tomcat looks to be running at the beginning but after some seconds I can see
the processor working too hard, it keeps like that until I shut down tomcat.
If I wait more like that, I can see the next exception stacktrace being
repeated indefinitely in catalina.out:
12-May-2017 11:14:22.153 SEVERE [https-jsse-nio-20443-exec-27]
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading
request, ignored
java.lang.NullPointerException
at
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSslSupport(NioEndpoint.java:1349)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:775)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:830)
at
org.apache.tomcat.util.net.NioEndpoint$Poller.add(NioEndpoint.java:669)
at
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.registerReadInterest(NioEndpoint.java:1264)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1433)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
It fixes if I change to port 8443 or if I change to use protocol
Http11Nio2Protocol
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]