Versions
========
TC trunk r1360616 tested with Java 1.7.0_05 on Solaris 10 Sparc.
Compiled everything with the same JVM version using
compile.source=1.7
compile.target=1.7
except for DBCP which was compiled with Java 6.
Unit test failures
==================
One test failure, namely org.apache.catalina.websocket.TestWebSocket for
NIO:
Testcase: testKey took 4.628 sec
Testcase: testBug53339 took 0.262 sec
Testcase: testSimple took 0.585 sec
FAILED
junit.framework.AssertionFailedError:
at
org.apache.catalina.websocket.TestWebSocket$WebSocketClient.readMessage(TestWebSocket.java:419)
at
org.apache.catalina.websocket.TestWebSocket$WebSocketClient.access$300(TestWebSocket.java:343)
at
org.apache.catalina.websocket.TestWebSocket.testSimple(TestWebSocket.java:99)
Testcase: testNoConnection took 0.555 sec
Testcase: testNoUpgrade took 0.425 sec
Testcase: testDetectWrongVersion took 0.377 sec
possibly due to the following exception which is not happening for BIO
and APR (negative Timeout):
[junit] 12-Jul-2012 13:19:24.329 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio-127.0.0.1-auto-2-48250"]
[junit] 12-Jul-2012 13:19:24.330 SEVERE
[http-nio-127.0.0.1-auto-2-exec-1]
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process null
[junit] java.lang.IllegalArgumentException: Negative timeout
[junit] at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
[junit] at
org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:267)
[junit] at
org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:227)
[junit] at
org.apache.coyote.http11.upgrade.UpgradeNioProcessor.readSocket(UpgradeNioProcessor.java:139)
[junit] at
org.apache.coyote.http11.upgrade.UpgradeNioProcessor.read(UpgradeNioProcessor.java:112)
[junit] at
org.apache.catalina.websocket.WsFrame.nextFrame(WsFrame.java:213)
[junit] at
org.apache.catalina.websocket.WsInputStream.nextFrame(WsInputStream.java:68)
[junit] at
org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:117)
[junit] at
org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:83)
[junit] at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:583)
[junit] at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
[junit] at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1676)
[junit] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[junit] at java.lang.Thread.run(Thread.java:722)
[junit]
[junit] 12-Jul-2012 13:19:24.381 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
Tomcat
...
[junit] 12-Jul-2012 13:19:24.769 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-127.0.0.1-auto-3-48253"]
[junit] 12-Jul-2012 13:19:24.795 SEVERE
[http-nio-127.0.0.1-auto-3-exec-1]
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process null
[junit] java.lang.IllegalArgumentException: Negative timeout
[junit] at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
[junit] at
org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:267)
[junit] at
org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:227)
[junit] at
org.apache.coyote.http11.upgrade.UpgradeNioProcessor.readSocket(UpgradeNioProcessor.java:139)
[junit] at
org.apache.coyote.http11.upgrade.UpgradeNioProcessor.read(UpgradeNioProcessor.java:98)
[junit] at
org.apache.catalina.websocket.WsFrame.blockingRead(WsFrame.java:149)
[junit] at
org.apache.catalina.websocket.WsFrame.<init>(WsFrame.java:66)
[junit] at
org.apache.catalina.websocket.WsFrame.nextFrame(WsFrame.java:215)
[junit] at
org.apache.catalina.websocket.WsInputStream.nextFrame(WsInputStream.java:68)
[junit] at
org.apache.catalina.websocket.WsInputStream.makePayloadDataAvailable(WsInputStream.java:136)
[junit] at
org.apache.catalina.websocket.WsInputStream.read(WsInputStream.java:103)
[junit] at
sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
[junit] at
sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
[junit] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
[junit] at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:126)
[junit] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:112)
[junit] at
java.io.InputStreamReader.read(InputStreamReader.java:168)
[junit] at
websocket.echo.EchoStream$EchoStreamInbound.onTextData(EchoStream.java:64)
[junit] at
org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.java:186)
[junit] at
org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:134)
[junit] at
org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:83)
[junit] at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:583)
[junit] at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
[junit] at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1676)
[junit] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[junit] at java.lang.Thread.run(Thread.java:722)
[junit]
[junit] 12-Jul-2012 13:19:24.800 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio-127.0.0.1-auto-3-48253"]
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org