2015-11-06 16:11 GMT+02:00 Mark Thomas <ma...@apache.org>: > > On 06/11/2015 13:09, Violeta Georgieva wrote: > > Hi, > > > > 2015-11-04 22:15 GMT+02:00 Mark Thomas <ma...@apache.org>: > >> > >> OK. Here we go again :) > >> > >> Thanks to everyone who has helped test 1.2.x so far. I'm hopeful that > >> this one will be good enough for the 9.0.0 RCs and - fingers crossed - > >> to replace 1.1.x as well. > >> > >> Version 1.2.2 includes the following changes: > >> - Forward port some OpenSSL I/O changes from 1.1.x that fixed a > >> number of unit tests failures > >> > >> The proposed release artefacts can be found at [1], > >> and the build was done using tag [2]. > >> > >> The Apache Tomcat Native 1.2.2 is > >> [ ] Stable, go ahead and release > >> [ ] Broken because of ... > > > > Websocket examples are not working: > > https://localhost:8443/examples/websocket/index.xhtml > > > > Stockticker never ends > > https://localhost:8443/examples/async/stockticker > > > > If I access them through *http* everything is OK. > > > > Windows 8, jdk 1.8.0_66, Tomcat 9 trunk > > Hmm. I've just run the 8.0.x unit test on Windows with native 1.2.2 and > they all passed. > > If you disable HTTP/2 do the above examples work? > > Looking at the strak traces below these look more like issues with > HTTP/2 than with native 1.2.2. >
I disabled HTTP/2 and everything is OK So +1 Regards, Violeta > Mark > > > > Loaded APR based Apache Tomcat Native library 1.2.2 using APR version 1.5.1. > > OpenSSL successfully initialized (OpenSSL 1.0.2d 9 Jul 2015) > > > > <Connector port="8443" > > protocol="org.apache.coyote.http11.Http11AprProtocol" > > maxThreads="150" SSLEnabled="true" > > > <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" > > /> > > <SSLHostConfig honorCipherOrder="false" > > > <Certificate certificateKeyFile="conf/localhost-key.pem" > > certificateFile="conf/localhost-cert.pem" > > type="RSA" /> > > </SSLHostConfig> > > </Connector> > > > > localhost-key.pem, localhost-cert.pem copied from tests. > > > > > > Also I experience the exceptions below while testing examples. > > > > 06-Nov-2015 14:55:57.469 SEVERE [https-apr-8443-exec-2] > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process Error > > reading request, ignored > > java.lang.IllegalStateException > > at > > org.apache.coyote.http2.Http2UpgradeHandler.fill(Http2UpgradeHandler.java:1064) > > at > > org.apache.coyote.http2.Http2Parser$Input.fill(Http2Parser.java:565) > > at > > org.apache.coyote.http2.Http2Parser.readConnectionPreface(Http2Parser.java:519) > > at > > org.apache.coyote.http2.Http2UpgradeHandler.init(Http2UpgradeHandler.java:233) > > at > > org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:281) > > at > > org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:55) > > at > > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:56) > > at > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:738) > > at > > org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2296) > > 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) > > > > 06-Nov-2015 15:00:47.252 INFO [Ticker Thread] > > org.apache.coyote.AbstractProcessor.setErrorState An error occurred in > > processing while on a non-container thread. > > The connection will be closed immediately > > java.io.IOException: Connection [1], Stream [51], This stream is not > > writable > > at > > org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:669) > > at > > org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:495) > > at > > org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:462) > > at org.apache.coyote.http2.Stream.flushData(Stream.java:266) > > at > > org.apache.coyote.http2.StreamProcessor.action(StreamProcessor.java:131) > > at org.apache.coyote.Response.action(Response.java:167) > > at > > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:334) > > at > > org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:302) > > at > > org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:94) > > at async.AsyncStockServlet.writeStock(AsyncStockServlet.java:96) > > at async.AsyncStockServlet.tick(AsyncStockServlet.java:76) > > at async.Stockticker.run(Stockticker.java:84) > > at java.lang.Thread.run(Thread.java:745) > > > > 06-Nov-2015 15:00:49.152 SEVERE [https-apr-8443-exec-4] > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process Error > > reading request, ignored > > java.lang.IllegalStateException > > at > > org.apache.coyote.http2.Http2UpgradeHandler.fill(Http2UpgradeHandler.java:1064) > > at > > org.apache.coyote.http2.Http2Parser$Input.fill(Http2Parser.java:565) > > at > > org.apache.coyote.http2.Http2Parser.readConnectionPreface(Http2Parser.java:519) > > at > > org.apache.coyote.http2.Http2UpgradeHandler.init(Http2UpgradeHandler.java:233) > > at > > org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:281) > > at > > org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:55) > > at > > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:56) > > at > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:738) > > at > > org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2296) > > 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) > > > > > > Regards, > > Violeta > > > >> Thanks, > >> > >> Mark > >> > >> > >> [1] > >> > > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/1.2.2/ > >> [2] > > https://svn.apache.org/repos/asf/tomcat/native/tags/TOMCAT_NATIVE_1_2_2 > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: dev-h...@tomcat.apache.org > >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org >