You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2007/01/12 09:21:27 UTC

[jira] Created: (QPID-282) AMQConnection does support IP addresses

AMQConnection does support IP addresses
---------------------------------------

                 Key: QPID-282
                 URL: https://issues.apache.org/jira/browse/QPID-282
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M1
         Environment: Any
            Reporter: Robert Greig
         Assigned To: Martin Ritchie


Trying to construct AMQConnection with e.g. "127.0.0.1:5672" causes the stack trace below. "localhost:5672" does work. You can easily try this using the ServiceProvidingClient performance test.

Attempting to

127.0.0.1:5672
^
Illegal character in scheme name between indicies 0 and 1 
127.0.0.1:5672
^
	at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:146)
	at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:141)
	at org.apache.qpid.client.AMQBrokerDetails.<init>(AMQBrokerDetails.java:173)
	at org.apache.qpid.client.AMQConnectionURL.processOptions(AMQConnectionURL.java:204)
	at org.apache.qpid.client.AMQConnectionURL.<init>(AMQConnectionURL.java:138)
	at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:148)
	at org.apache.qpid.requestreply.ServiceRequestingClient.createConnection(ServiceRequestingClient.java:274)
	at org.apache.qpid.requestreply.ServiceRequestingClient.<init>(ServiceRequestingClient.java:192)
	at org.apache.qpid.requestreply.ServiceRequestingClient.main(ServiceRequestingClient.java:296)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-282) AMQConnection does not support IP addresses

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Greig updated QPID-282:
------------------------------

    Summary: AMQConnection does not support IP addresses  (was: AMQConnection does support IP addresses)

> AMQConnection does not support IP addresses
> -------------------------------------------
>
>                 Key: QPID-282
>                 URL: https://issues.apache.org/jira/browse/QPID-282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M1
>         Environment: Any
>            Reporter: Robert Greig
>         Assigned To: Martin Ritchie
>
> Trying to construct AMQConnection with e.g. "127.0.0.1:5672" causes the stack trace below. "localhost:5672" does work. You can easily try this using the ServiceProvidingClient performance test.
> Attempting to
> 127.0.0.1:5672
> ^
> Illegal character in scheme name between indicies 0 and 1 
> 127.0.0.1:5672
> ^
> 	at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:146)
> 	at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:141)
> 	at org.apache.qpid.client.AMQBrokerDetails.<init>(AMQBrokerDetails.java:173)
> 	at org.apache.qpid.client.AMQConnectionURL.processOptions(AMQConnectionURL.java:204)
> 	at org.apache.qpid.client.AMQConnectionURL.<init>(AMQConnectionURL.java:138)
> 	at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:148)
> 	at org.apache.qpid.requestreply.ServiceRequestingClient.createConnection(ServiceRequestingClient.java:274)
> 	at org.apache.qpid.requestreply.ServiceRequestingClient.<init>(ServiceRequestingClient.java:192)
> 	at org.apache.qpid.requestreply.ServiceRequestingClient.main(ServiceRequestingClient.java:296)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (QPID-282) AMQConnection does not support IP addresses

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie resolved QPID-282.
---------------------------------

    Resolution: Fixed

Updated to revision 495517.


> AMQConnection does not support IP addresses
> -------------------------------------------
>
>                 Key: QPID-282
>                 URL: https://issues.apache.org/jira/browse/QPID-282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M1
>         Environment: Any
>            Reporter: Robert Greig
>         Assigned To: Martin Ritchie
>
> Trying to construct AMQConnection with e.g. "127.0.0.1:5672" causes the stack trace below. "localhost:5672" does work. You can easily try this using the ServiceProvidingClient performance test.
> Attempting to
> 127.0.0.1:5672
> ^
> Illegal character in scheme name between indicies 0 and 1 
> 127.0.0.1:5672
> ^
> 	at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:146)
> 	at org.apache.qpid.url.URLHelper.parseError(URLHelper.java:141)
> 	at org.apache.qpid.client.AMQBrokerDetails.<init>(AMQBrokerDetails.java:173)
> 	at org.apache.qpid.client.AMQConnectionURL.processOptions(AMQConnectionURL.java:204)
> 	at org.apache.qpid.client.AMQConnectionURL.<init>(AMQConnectionURL.java:138)
> 	at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:148)
> 	at org.apache.qpid.requestreply.ServiceRequestingClient.createConnection(ServiceRequestingClient.java:274)
> 	at org.apache.qpid.requestreply.ServiceRequestingClient.<init>(ServiceRequestingClient.java:192)
> 	at org.apache.qpid.requestreply.ServiceRequestingClient.main(ServiceRequestingClient.java:296)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira