Hi
Here is the config.yaml hosts :
hosts:
- !localMatch
dummy: true
- !ipMatch
ip: www.camptocamp.org
- !dnsMatch
host: labs.metacarta.com
port: 80
- !dnsMatch
host: http://geoservices.brgm.fr/risques
but there are no changes. Any help ?
2012/2/3 Robert Buckley <[email protected]>
> Hi Gerome,
>
> Have you modified your config.yaml file? there is a section under
> hosts...that would be my first attempt at a solution...eg
>
> hosts:
> - !localMatch
> dummy: true
> - !ipMatch
> ip: 0.0.0.0
> mask: 0.0.0.0
> - !dnsMatch
> host: HTTP://YOUR_EXTERNAL_GEOSERVER_URL
>
>
> hope it helps,
>
> Rob
> ------------------------------
> *Von:* Gerome Bracquemont <[email protected]>
> *An:* [email protected]
> *Gesendet:* 9:59 Freitag, 3.Februar 2012
> *Betreff:* [Geoserver-users] Mapfish print - Printing from different WMS
> servers
>
> I all,
>
> I'm trying to print maps with data from my geoserver WMS and layers from
> an public WMS.
> I can print mapsonly if my map contains only data from my geoserver. If I
> try to print a map with data from my service and from an aother service I
> ahave an error 500 :
>
> 03 fÚvr. 09:37:44 ERROR [servlet.BaseMapServlet] - Error while generating
> PDF
> DocumentException:
> org.mapfish.print.InvalidJsonValueException: spec.layers[1].baseURL has an
> inval
> id value: http://geoservices.brgm.fr/risques? (spec.layers[1].baseURL has
> an inv
> alid value: http://geoservices.brgm.fr/risques?)
>
> I can see that the trouble comes from the baseURL for the other wms
> service.
> I use an xml in my geoserver that is the getcapabiliites of the service "
> http://geoservices.brgm.fr/risques?" to display the layers of the
> external service.
>
> I don't really know where does the error comes from and how to get this
> service printing working with serveral data sources.
>
> Thanks in advance for your help.
>
> gerome
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users