activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4086) Cannot connect to broker running on server with name ending with a dash
Date Mon, 01 Oct 2012 19:29:07 GMT

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

Timothy Bish commented on AMQ-4086:
-----------------------------------

The reason it doesn't work is that the URI cannot have a host-name that ends in a hyphen or
a dot as specified in RFC-952. http://tools.ietf.org/html/rfc952
                
> Cannot connect to broker running on server with name ending with a dash
> -----------------------------------------------------------------------
>
>                 Key: AMQ-4086
>                 URL: https://issues.apache.org/jira/browse/AMQ-4086
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.1
>         Environment: Windows Server 2008
>            Reporter: Hoi Lam
>
> When our QA was testing our system that employs ActiveMQ, he has the broker running on
a server with name ending with a dash: "WinSvr1-".  With this server name, the JMS receiver
encounters the following JMS exception when connecting to the Broker:
> javax.jms.JMSException: Could not connect to broker URL: tcp://WinSvr1-:61616?soTimeout=1000&connectionTimeout=1000.
Reason: java.lang.IllegalArgumentException: port out of range:-1

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