I think we should think about 2 different plans:
1. Short term: fix the printing plugin including old jts jars in the
extension build
2. Medium / long: decide what to do with mapfish dependency. Try switching
to mapfish 3 or commit patches to 2.1.x (official repo)?

Il giorno lun 3 dic 2018, 01:53 Andrea Aime <[email protected]>
ha scritto:

> Hi,
> can that be made into a release that we can depend on?
> I also see there has been a recent fix here done on the official version:
> https://osgeo-org.atlassian.net/browse/GEOS-8968
> So if we switch, we'd have to port over also the missing fixes that went
> into the official version... seems like they diverged some time ago:
> https://github.com/mapfish/mapfish-print/commits/release/2.1.3
>
> Cheers
> Andrea
>
>
> On Mon, Dec 3, 2018 at 9:38 AM Alessio Fabiani <
> [email protected]> wrote:
>
>> The following branch (2.1.3) [1] of the library, fixes the JTS
>> dependencies.
>>
>> The jars are also available through the GeoSolutions Maven Repository.
>>
>> [1] - https://github.com/geosolutions-it/mapfish-print/tree/2.1.3
>>
>>
>> Il giorno ven 30 nov 2018 alle ore 19:30 Andrea Aime <
>> [email protected]> ha scritto:
>>
>>> Hi Paul,
>>> this smells like a result of the JTS upgrade, unfortunately GeoServer is
>>> using an old version of
>>> mapfish (with no funds in sight to upgrade to the latest, I'm afraid,
>>> I've been told it's not an easy switch).
>>>
>>> My guess is that you might get that to work by dropping an older version
>>> of JTS in GeoServe in parallel
>>> with the current one, the new and the old ones are using different
>>> package names, so they should
>>> not conflict with each other
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I’m getting two errors with the mapFish printing plugin on version
>>>> 2.14.1. Here are bits of the stack traces (I can send the rest if needed):
>>>>
>>>>
>>>>
>>>> ERROR: The remote server returned an error: (500) Internal Server Error.
>>>>
>>>> CONTENT: Error while generating PDF:
>>>>
>>>> java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry
>>>>
>>>> at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)
>>>>
>>>> For this one, could it be linked to the message here (
>>>> https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?
>>>>
>>>>
>>>>
>>>> Second error reads:
>>>>
>>>> ERROR: The remote server returned an error: (500) Internal Server Error.
>>>>
>>>> CONTENT: Error while generating PDF:
>>>>
>>>> java.lang.NoClassDefFoundError: Could not initialize class
>>>> org.mapfish.print.map.renderers.TileRenderer
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)
>>>>
>>>> at
>>>> org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)
>>>>
>>>>
>>>>
>>>> Do these look like bugs with that plugin or have I missed a
>>>> configuration step whilst upgrading?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Paul
>>>> "This e-mail is intended for the named addressee(s) only and may
>>>> contain information about individuals or other sensitive information and
>>>> should be handled accordingly. Unless you are the named addressee (or
>>>> authorised to receive it for the addressee) you may not copy or use it, or
>>>> disclose it to anyone else. If you have received this email in error,
>>>> kindly disregard the content of the message and notify the sender
>>>> immediately. Please be aware that all email may be subject to recording
>>>> and/or monitoring in accordance with relevant legislation."
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>>
>>>> Please make sure you read the following two resources before posting to
>>>> this list:
>>>> - Earning your support instead of buying it, but Ian Turton:
>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>> - The GeoServer user list posting guidelines:
>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>
>>>> If you want to request a feature or an improvement, also see this:
>>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>>
>>>>
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>
>>>
>>> --
>>>
>>> Regards, Andrea Aime == GeoServer Professional Services from the
>>> experts! Visit http://goo.gl/it488V for more information. == Ing.
>>> Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito
>>> 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob:
>>> +39 339 8844549 http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>> ------------------------------------------------------- *Con
>>> riferimento alla normativa sul trattamento dei dati personali (Reg. UE
>>> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>>> precisa che ogni circostanza inerente alla presente email (il suo
>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>> This email is intended only for the person or entity to which it is
>>> addressed and may contain information that is privileged, confidential or
>>> otherwise protected from disclosure. We remind that - as provided by
>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>>> e-mail or the information herein by anyone other than the intended
>>> recipient is prohibited. If you have received this email by mistake, please
>>> notify us immediately by telephone or e-mail.*
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>> Ing. Alessio Fabiani
>>
>> @alfa7691
>> Founder/Technical Lead
>>
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
>> phone: +39 0584 962313
>> fax:     +39 0584 1660272
>> mob:   +39 331 6233686
>>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to