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

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

 

 

 

 

<<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