qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Daněk (JIRA) <j...@apache.org>
Subject [jira] [Commented] (QPIDJMS-359) Hostname reported in connection error exception is formatted weirdly
Date Wed, 24 Jan 2018 16:16:00 GMT

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

Jiri Daněk commented on QPIDJMS-359:
------------------------------------

[~orpiske] Hey, do you have anything to add here by chance?

> Hostname reported in connection error exception is formatted weirdly
> --------------------------------------------------------------------
>
>                 Key: QPIDJMS-359
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-359
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.29.0
>            Reporter: Jiri Daněk
>            Priority: Minor
>
> I am connecting to the following connection URL, {{amqp://10.1.0.61:5672}}. There is
nothing on that URL (I forgot to start a broker), so I get an exception.
> {noformat}
> 16:27:04,062 ERROR syscall:getsockopt(..) failed: Connection refused: /10.1.0.61:5672
> javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /10.1.0.61:5672
>         at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86)
>         at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108)
>         at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168)
>         at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:203)
>         at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:190)
>         at com.redhat.mqe.jms.AacConnectionManager.<init>(AacConnectionManager.java:104)
>         at com.redhat.mqe.jms.AacConnectionManagerFactory.make(AacConnectionManagerFactory.java:30)
>         at com.redhat.mqe.jms.AacConnectionManagerFactory.make(AacConnectionManagerFactory.java:25)
>         at com.redhat.mqe.lib.CoreClient.createConnection(CoreClient.java:87)
>         at com.redhat.mqe.lib.SenderClient.startClient(SenderClient.java:73)
>         at com.redhat.mqe.lib.Main.main(Main.java:46)
>         at com.redhat.mqe.jms.Main.main(Main.java:28)
> Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..)
failed: Connection refused: /10.1.0.61:5672
>         at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source)
> Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..)
failed: Connection refused
>         ... 1 more
> {noformat}
> The URL in the exception is {{/10.1.0.61:5672}}. It made me thinking I mistyped the URL
in the beginning. It turns out I did not, it is just how it looks in the exception. Weird.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message