activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-287) Weird errors with SSL + Java 7
Date Fri, 05 Apr 2013 07:28:15 GMT

    [ https://issues.apache.org/jira/browse/APLO-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623434#comment-13623434
] 

Lionel Cons commented on APLO-287:
----------------------------------

After a few more attempts and 1.5GB of logs, I've reproduced the "invalid padding" error and
got:

hawtdispatch-DEFAULT-1, fatal error: 40: Invalid Padding length: 158
javax.crypto.BadPaddingException: Invalid Padding length: 158
%% Invalidated:  [Session-257, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA]
hawtdispatch-DEFAULT-1, fatal: engine already closed.  Rethrowing javax.net.ssl.SSLHandshakeException:
Invalid Padding length: 158

So this indeed looks a lot like the OTN link you gave. If indeed the problem is on the Java
side, how can we help bug fixing on the Oracle side?
                
> Weird errors with SSL + Java 7
> ------------------------------
>
>                 Key: APLO-287
>                 URL: https://issues.apache.org/jira/browse/APLO-287
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20130115.031918-158
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>
> When running simple functionality tests (that use STOMP+SSL) against apollo-99-trunk-20130115.031918-158,
everything works fine when the broker runs on top of a Java 6 JVM.
> However, the exact same tests again the exact same version of Apollo fail randomly when
the broker runs on top of a Java 7 JVM. For the record, we use: Java HotSpot(TM) 64-Bit Server
VM 1.7.0_10 (Oracle Corporation).
> Here is what the broker logs:
> 2013-01-17 11:09:09,663 Shutting connection 'null'  down due to: java.io.EOFException:
Peer disconnected
> 2013-01-17 11:09:09,764 Shutting connection 'null'  down due to: javax.net.ssl.SSLHandshakeException:
General SSLEngine problem
> 2013-01-17 11:11:16,110 Shutting connection 'null'  down due to: javax.net.ssl.SSLHandshakeException:
Invalid padding
> 2013-01-17 11:13:54,671 Shutting connection 'null'  down due to: javax.net.ssl.SSLHandshakeException:
Invalid padding
> [...]
> First of all, is Apollo supported on Java 7?
> If yes, any idea what could cause these failures on Java 7?

--
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

Mime
View raw message