tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik Mailing Lists <devli...@hanik.com>
Subject Re: Current unit test behaviour for trunk using Java 7 on Solaris
Date Thu, 12 Jul 2012 20:59:49 GMT
and properly fixed in http://svn.apache.org/viewvc?view=revision&revision=1360929

----- Original Message -----
> From: "Filip Hanik (mailing lists)" <devlists@hanik.com>
> To: "Tomcat Developers List" <dev@tomcat.apache.org>
> Sent: Thursday, July 12, 2012 2:43:55 PM
> Subject: RE: Current unit test behaviour for trunk using Java 7 on Solaris
> 
> Fixed in
> http://svn.apache.org/viewvc?view=revision&revision=1360917
> 
> DBCP should compile as well as JDBC-POOL with 1.7 now too
> 
> > -----Original Message-----
> > From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> > Sent: Thursday, July 12, 2012 6:33 AM
> > To: Tomcat Developers List
> > Subject: Current unit test behaviour for trunk using Java 7 on
> > Solaris
> > 
> > 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(T
> > estWebSocket.java:343)
> >          at
> > org.apache.catalina.websocket.TestWebSocket.testSimple(TestWebSocket.jav
> > a: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(UpgradeN
> > ioProcessor.java:139)
> >      [junit]     at
> > org.apache.coyote.http11.upgrade.UpgradeNioProcessor.read(UpgradeNioProc
> > essor.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:11
> > 7)
> >      [junit]     at
> > org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(Upgrad
> > eProcessor.java:83)
> >      [junit]     at
> > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abs
> > tractProtocol.java:583)
> >      [junit]     at
> > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> > ss(Http11NioProtocol.java:223)
> >      [junit]     at
> > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
> > ava:1676)
> >      [junit]     at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> > a:1110)
> >      [junit]     at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> > va: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(UpgradeN
> > ioProcessor.java:139)
> >      [junit]     at
> > org.apache.coyote.http11.upgrade.UpgradeNioProcessor.read(UpgradeNioProc
> > essor.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(WsI
> > nputStream.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:6
> > 4)
> >      [junit]     at
> > org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.j
> > ava:186)
> >      [junit]     at
> > org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:13
> > 4)
> >      [junit]     at
> > org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(Upgrad
> > eProcessor.java:83)
> >      [junit]     at
> > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abs
> > tractProtocol.java:583)
> >      [junit]     at
> > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> > ss(Http11NioProtocol.java:223)
> >      [junit]     at
> > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
> > ava:1676)
> >      [junit]     at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> > a:1110)
> >      [junit]     at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> > va: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-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message