Hello again.

First, I would like to thank Mauro that helped me to solve my issue.

Then, I would like to share a summary of the explanation.

So, my generated PDF from Mapfish print module of Geoserver gave me an error
like "java.io.IOException: The byte array is not a recognized imageformat.".
It was because the response from the http request was not an image, but an
XML response as Mauro mentionned.
To have the details, you have to go to the log file of Geoserver :
{GeoServer directory}\logs\wrapper.log
In the logs, I had more details of the called request and what was wrong. In
my case, it was "WMS server error. Image size out of range, WIDTH and HEIGHT
must be between 1 and 2048 pixels". The external WMS that I was calling was
coming from MapServer. I edited the map file an set the MAXSIZE parameter at
4096. Then, the error disapperead.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f3819232.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to