You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hoi Lam (JIRA)" <ji...@apache.org> on 2012/10/01 19:31:08 UTC
[jira] [Created] (AMQ-4086) Cannot connect to broker running on
server with name ending with a dash
Hoi Lam created AMQ-4086:
----------------------------
Summary: 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
[jira] [Commented] (AMQ-4086) Cannot connect to broker running on
server with name ending with a dash
Posted by "Hoi Lam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467130#comment-13467130 ]
Hoi Lam commented on AMQ-4086:
------------------------------
Thanks for pointing that out, Tim. I will go ahead and close this bug then.
> 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
[jira] [Commented] (AMQ-4086) Cannot connect to broker running on
server with name ending with a dash
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (AMQ-4086) Cannot connect to broker running on
server with name ending with a dash
Posted by "Hoi Lam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoi Lam closed AMQ-4086.
------------------------
> 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
[jira] [Resolved] (AMQ-4086) Cannot connect to broker running on
server with name ending with a dash
Posted by "Hoi Lam (JIRA)" <ji...@apache.org>.
[ 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