I assume there is another way to specify it within the mapfish
configuration, correct?  Is specifying it in the whitelist sufficient (I
know, I know-that's a mapfish not GeoServer question)?

 

Steve

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

[email protected]
 <http://www.clemetparks.com/> clevelandmetroparks.com

 

 

 

 

From: David Winslow [mailto:[email protected]] 
Sent: Thursday, June 30, 2011 11:09 AM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: Re: [Geoserver-users] Proxying problem (maybe)-- MapFish and
GeoServer

 

The Mapfish portion of the Mapfish printing module will need to be modified
before it can support the proxy_base_url option. See discussion on
http://jira.codehaus.org/browse/GEOS-4574

 

--

David Winslow

OpenGeo - http://opengeo.org/

On Thu, Jun 30, 2011 at 11:05 AM, Ariel Nunez <[email protected]>
wrote:

Stephen,

Have you added 192.168.168.153 to the white list in
DATA_DIR/printing/config.yaml ?

Ariel

On Thu, Jun 30, 2011 at 10:59 AM, Stephen V. Mather
<[email protected]> wrote:

Hi All,

                It seems to be a proxying week on the GeoServer list, so
I'll throw my hat in the ring too.  I have a proxied GeoServer instance with
a printing web app that works in all respects until I use the MapFish print
client, in which case I get the following error:

 

2011-06-30 10:54:06,632 ERROR [servlet.BaseMapServlet] - Error while
generating PDF

org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an
invalid value: http://192.168.168.153/geoserver/wms? (spec.layers[0].baseURL
has an invalid value: http://192.168.168.153/geoserver/wms?)

                at
org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java
:64)

                at
org.mapfish.print.map.readers.HTTPMapReader.<init>(HTTPMapReader.java:55)

                at
org.mapfish.print.map.readers.TileableMapReader.<init>(TileableMapReader.jav
a:40)

                at
org.mapfish.print.map.readers.WMSMapReader.<init>(WMSMapReader.java:50)

                at
org.mapfish.print.map.readers.WMSMapReader.create(WMSMapReader.java:104)

 

etc. etc.. 

 

                at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

                at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:588)

                at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

                at java.lang.Thread.run(Unknown Source)

Caused by: org.mapfish.print.InvalidJsonValueException:
spec.layers[0].baseURL has an invalid value:
http://192.168.168.153/geoserver/wms?

                at
org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java
:61)

                ... 139 more

 

I have set the Proxy Base URL in the Global settings to the proxied address,
i.e.

 

http://192.168.168.153/geoserver <http://192.168.100.153/geoserver> 

 

BTW, when I go to the unproxied address, I have no problems. .

 

Any thoughts?

Thanks,

Steve

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243 <tel:%28216%29%20635-3243> 

[email protected]
 <http://www.clemetparks.com/> clevelandmetroparks.com

 

 

 

 

 

----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 

<<image001.png>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to