activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregg Saffell (JIRA)" <>
Subject [jira] Commented: (AMQ-2598) Configuring HTTP <networkConnector> with proxyHost, proxyPort results in "Invalid connect parameters: {proxyPort=nn)}" error
Date Wed, 10 Feb 2010 22:43:32 GMT


Gregg Saffell commented on AMQ-2598:

I did some debugging and the problem seems to be caused by
method where it calls "connectUri = URISupport.applyParameters(connectUri, parameters);" 

Note in the output included in the description of this issue, the "INFO | Establishing network
connection" reports the query parameters twice and inccludes ")" at the end.  That duplication
and the addition of the ")" to the end of the last parameter is caused by the applyParameters()
call. I found that if I comment that call out, every thing works fine. (Commenting out that
code is probably not the correct solution.  Maybe the problem is with what ever code populated
the "parameters" HashMap that is being passed to the applyParameters() method? At any rate,
I just wanted to note what I've found so far.)

> Configuring HTTP <networkConnector> with proxyHost, proxyPort results in "Invalid
connect parameters: {proxyPort=nn)}" error
> ----------------------------------------------------------------------------------------------------------------------------
>                 Key: AMQ-2598
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.3.0
>         Environment: Windows XP
>            Reporter: Gregg Saffell
>            Priority: Minor
> I'm trying to set up a forwarding bridge that will connect through an http proxy (where
the proxy happens to be running on the same machine as the destination ApacheMQ instance).
Per AMQ-1099, the following should work: 
> <networkConnector name="gstest-252" uri="static://(http://gstest-252:61617?proxyHost=gstest-252&amp;proxyPort=80)"
> But it results in the following error at start up:
>  INFO | Establishing network connection from vm://localhost to http://gstest-252
> :61617?proxyHost=gstest-252&proxyPort=80&proxyHost=gstest-252&proxyPort=80)
>  WARN | Could not connect to remote URI: http://gstest-252:61617?proxyHost=gstes
> t-252&proxyPort=80&proxyHost=gstest-252&proxyPort=80): Invalid connect parameter
> s: {proxyPort=80)}
>  INFO | Network Connector gstest-252 Started

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message