[
https://issues.apache.org/jira/browse/AMQ-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoi Lam resolved AMQ-4086.
--------------------------
Resolution: Not A Problem
> 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