[
https://issues.apache.org/jira/browse/AMQ-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-3270.
-----------------------------
Resolution: Invalid
Incorrect usage of the URISupport tools is at fault here.
> URISupport.parseComposite broken for IPV6
> -----------------------------------------
>
> Key: AMQ-3270
> URL: https://issues.apache.org/jira/browse/AMQ-3270
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.5.0
> Reporter: Gary D. Gregory
>
> For example:
> {code:java}
> @Test
> public void testParseComposite() throws URISyntaxException {
> URISupport.parseComposite(new
> URI("vm://[0:0:0:0:0:0:0:1]?broker.persistent=false"));
> }
> {code}
> fails with:
> {noformat}
> java.net.URISyntaxException: Illegal character in scheme name at index 0:
> [0:0:0:0:0:0:0:1]?broker.persistent=false
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.checkChars(URI.java:2982)
> at java.net.URI$Parser.checkChar(URI.java:2992)
> at java.net.URI$Parser.parse(URI.java:3008)
> at java.net.URI.<init>(URI.java:578)
> at
> org.apache.activemq.util.URISupport.parseComposite(URISupport.java:258)
> at
> org.apache.activemq.util.URISupport.parseComposite(URISupport.java:202)
> ...
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira