Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9051DD744 for ; Thu, 14 Feb 2013 22:19:14 +0000 (UTC) Received: (qmail 95527 invoked by uid 500); 14 Feb 2013 22:19:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95495 invoked by uid 500); 14 Feb 2013 22:19:14 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 95486 invoked by uid 99); 14 Feb 2013 22:19:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 22:19:14 +0000 Date: Thu, 14 Feb 2013 22:19:14 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4135) Bug in stomp+nio+ssl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578745#comment-13578745 ] Timothy Bish commented on AMQ-4135: ----------------------------------- Ran the failing STOMP NIO test on both my machines for awhile and don't see the problem anymore so this looks to be sorted now. > Bug in stomp+nio+ssl > -------------------- > > Key: AMQ-4135 > URL: https://issues.apache.org/jira/browse/AMQ-4135 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.6.0, 5.7.0, 5.8.0 > Reporter: Massimo Paladin > Assignee: Timothy Bish > Fix For: 5.9.0 > > Attachments: StompLoadTest.diff > > > We have seen a new bug in the stomp+nio+ssl connector (reproducible), the same error has been seen with stomp+ssl as well (not reproducible for now). > Setup: > - one producer send ~10000 as N messages of different sizes to a queue > - different sequential consumers (> 3) consume 1/Nth of the messages from the queue > The unit test provided add a test to StompLoadTest, with this new test: > - StompLoadTest always succeed > - StompSSLLoadTest succeeded but we noticed {{bad record MAC}} error in a deployed broker > - StompNIOSSLLoadTest always fails with one of the two exceptions reported below > {noformat} > testStompSlice(org.apache.activemq.transport.stomp.StompNIOSSLLoadTest) Time elapsed: 13.551 sec <<< ERROR! > javax.net.ssl.SSLException: Invalid padding > at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) > at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1902) > at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:981) > at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884) > at sun.security.ssl.AppInputStream.read(AppInputStream.java:102) > at sun.security.ssl.AppInputStream.read(AppInputStream.java:69) > at java.io.DataInputStream.readByte(DataInputStream.java:265) > at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:123) > at org.apache.activemq.transport.stomp.StompConnection.receive(StompConnection.java:77) > at org.apache.activemq.transport.stomp.StompLoadTest.testStompSlice(StompLoadTest.java:261) > {noformat} > {noformat} > testStompSlice(org.apache.activemq.transport.stomp.StompNIOSSLLoadTest) Time elapsed: 14.86 sec <<< ERROR! > javax.net.ssl.SSLException: bad record MAC > at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) > at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1902) > at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1855) > at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:988) > at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884) > at sun.security.ssl.AppInputStream.read(AppInputStream.java:102) > at sun.security.ssl.AppInputStream.read(AppInputStream.java:69) > at java.io.DataInputStream.readByte(DataInputStream.java:265) > at org.apache.activemq.transport.stomp.StompWireFormat.readHeaderLine(StompWireFormat.java:155) > at org.apache.activemq.transport.stomp.StompWireFormat.readLine(StompWireFormat.java:148) > at org.apache.activemq.transport.stomp.StompWireFormat.parseAction(StompWireFormat.java:170) > at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:98) > at org.apache.activemq.transport.stomp.StompConnection.receive(StompConnection.java:77) > at org.apache.activemq.transport.stomp.StompLoadTest.testStompSlice(StompLoadTest.java:261) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira