qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6031) JMS client will hang when SSL handshake fail as remote host is not trusted
Date Mon, 01 Sep 2014 13:26:21 GMT

    [ https://issues.apache.org/jira/browse/QPID-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117415#comment-14117415

Rob Godfrey commented on QPID-6031:

OK - I tried this out myself by attempting to connect on an SSL connection where the server
certificate is not trusted, and I got the error you see.  This seems to be because Oracle's
JRE / Runtime libraries don't through a very helpful error message in this situation.

By changing the connection code a bit to explicitly ask it to start the initial SSL handshake
I can provoke it to give a more useful exception instead... but I wouldn't consider this a
bug in the client - more a bug in the JRE.  I don't think it's a blocker for 0.30 (it's better
to fail than to hang forever as it used to).  But I shall try to get the change to provide
a better error message in to the first release candidate

> JMS client will hang when SSL handshake fail as remote host is not trusted
> --------------------------------------------------------------------------
>                 Key: QPID-6031
>                 URL: https://issues.apache.org/jira/browse/QPID-6031
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS AMQP 1.0 Client
>    Affects Versions: 0.28
>         Environment: AMQP JMS 1.0 client: AMQP 0.28
> AMQP broker: windows server service bus 1.1 
> JDK: 1.7
>            Reporter: Yong Deng
>         Attachments: deadlock_threaddump.txt, log_exception.log
> 1. The azure service bus on premise is installed on windows server 2008 R2 and uses a
self signed SSL certificate. The SSL certificate is not trusted by JAVA by default
> 2. Write a JMS client following the guide with URL http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/
> 3. The JMS connection will hang. During the precedure, you will see an exception log
print on console. Also I dump the JVM thread dump. You can refer to the attachments.

This message was sent by Atlassian JIRA

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

View raw message