[Geoserver-users] Document how to set proxy for cascading WMS

Hi,

Manual page for cascading WFS gives advice about how to set outgoing http(s) traffic to go through a proxy server http://docs.geoserver.org/stable/en/user/data/cascaded/wfs.html but this information is missing from cascaded WMS http://docs.geoserver.org/stable/en/user/data/cascaded/wms.html.

It would be good to copy or link the advice for setting the proxy to the WMS page as well. An example about how to edit startup.bat would not harm either
I could make it work by editing this line
if "%JAVA_OPTS%" == "" (set JAVA_OPTS=-XX:MaxPermSize=128m)
into
if "%JAVA_OPTS%" == "" (set JAVA_OPTS="-XX:MaxPermSize=128m -Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy.com -Dhttps.proxyPort=80")

On the WFS page the http.proxySet=true parameter is said to be required. Perhaps it is in the wrapper file but I did not need to set that in the startup.bat file.

-Jukka Rahkonen-

Agreed. Please open a ticket for this.
A pull request to go with it would be appreciated, but not required :wink:

Cheers
Andrea

···

On Wed, Sep 17, 2014 at 11:52 AM, Rahkonen Jukka (Tike) <jukka.rahkonen@anonymised.com> wrote:

Hi,

Manual page for cascading WFS gives advice about how to set outgoing http(s) traffic to go through a proxy server http://docs.geoserver.org/stable/en/user/data/cascaded/wfs.html but this information is missing from cascaded WMS http://docs.geoserver.org/stable/en/user/data/cascaded/wms.html.

It would be good to copy or link the advice for setting the proxy to the WMS page as well. An example about how to edit startup.bat would not harm either
I could make it work by editing this line
if “%JAVA_OPTS%” == “” (set JAVA_OPTS=-XX:MaxPermSize=128m)
into
if “%JAVA_OPTS%” == “” (set JAVA_OPTS=“-XX:MaxPermSize=128m -Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy.com -Dhttps.proxyPort=80”)

On the WFS page the http.proxySet=true parameter is said to be required. Perhaps it is in the wrapper file but I did not need to set that in the startup.bat file.

-Jukka Rahkonen-


Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it