qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yong Deng (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 10:20:20 GMT

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

Yong Deng commented on QPID-6031:
---------------------------------

The BETA client has bugs for SSL transport.

Caused by: javax.jms.JMSException: java.net.SocketException: Socket Closed
        at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.connect(ConnectionImpl.java:173)
        at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:224)
        at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:210)
        at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:40)
        at com.vitria.test.common.jms.ConnectionLib.createSession(ConnectionLib.java:83)
        at com.vitria.test.client.jms.DestinationReciever.connect(DestinationReciever.java:280)
        at com.vitria.test.client.jms.DestinationReciever.start(DestinationReciever.java:218)
        at com.vitria.test.client.framework.Worker.start(Worker.java:24)
        ... 6 more
Caused by: org.apache.qpid.amqp_1_0.client.ConnectionException: java.net.SocketException:
Socket Closed
        at org.apache.qpid.amqp_1_0.client.TCPTransportProvier.connect(TCPTransportProvier.java:176)
        at org.apache.qpid.amqp_1_0.client.Connection.<init>(Connection.java:258)
        at org.apache.qpid.amqp_1_0.client.Connection.<init>(Connection.java:152)
        at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.connect(ConnectionImpl.java:164)
        ... 13 more
Caused by: java.net.SocketException: Socket Closed
        at java.net.AbstractPlainSocketImpl.setOption(AbstractPlainSocketImpl.java:206)
        at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:176)
        at java.net.Socket.setSoTimeout(Socket.java:1105)
        at sun.security.ssl.SSLSocketImpl.setSoTimeout(SSLSocketImpl.java:2414)
        at org.apache.qpid.amqp_1_0.client.TCPTransportProvier.connect(TCPTransportProvier.java:88)
        ... 16 more


> 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
(v6.3.4#6332)

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


Mime
View raw message