使用Tomcat服務器8.5.4作爲獨立服務(tomcat8w.exe),我在'logs/tomcat8-stderr.YYYY- MM-DD.txt」當我停止服務器:
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)
我的連接器如下:
你有什麼可能是錯誤的,任何解釋?
Apache團隊回覆我的bugzilla報告並將其標記爲錯誤[60030](https://bz.apache.org/bugzilla/show_bug.cgi?id=60030)的副本,解釋是一個錯誤對於Apache Tomcat版本8.0.x,它已在8.5.5及以上版本中解決。該問題與服務器名稱指示(SNI)的支持有關。 馬克托馬斯與Apache團隊的決議引述如下:「這已在下列分支中得到修復: - 9.0.x 9.0.0.M10以上 - 8.5.x 8.5.5以上 8.0.x及更早版本不受影響,因爲它們不支持SNI。「 – hesparza