And, for anyone following along at home who knows as little as me about the 
ecosystem as I do, you can download that jar here:
https://mvnrepository.com/artifact/org.json/json/20080701

Shutdown your container/geoserver, delete the existing jar json-20180813.jar, 
and move that jar into your geoserver/WEB-INF/lib/ directory. In my case, that 
location is inside the tomcat webapps directory:
/opt/tomcat/webapps/geoserver/WEB-INF/lib/

And restart your container.

Like a gif of a cat at a keyboard, I attempted to patch the fix in here that 
builds with Maven:
https://github.com/smathermather/geoserver/blob/smathermather-json-patch/src/extension/printing/pom.xml

If it's worthy of a pull request, I will fill out the contributor covenant, tag 
it to the JIRA, and do a pull request. It's a modified copy from the Mapfish 
patch. If it is no better than a cat at a keyboard, then just consider it a 
little noise from a non-Java developer, and I'll see my way out.

Thanks All,
Nice to see the GeoServer community is still amazing and amazingly quick and 
supportive,
Best,
Steve



[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>



________________________________
From: Stephen V. Mather via Geoserver-users 
<geoserver-users@lists.sourceforge.net>
Sent: Saturday, April 10, 2021 2:29 PM
To: Mauro Bartolomeoli <mauro.bartolome...@geo-solutions.it>; GeoServer Mailing 
List List <geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Fwd: GeoServer printing module fails


WARNING: This email originated outside of Cleveland Metroparks. DO NOT CLICK 
links or attachments unless you recognize the sender and know the content is 
safe.

Awesome, thanks for the confirmation. I was just about to ask about whether I 
could just swap jars and it looks like Ian already answered in the JIRA:
> I can confirm that replacing json-20180813.jar with json-20080701.jar fixes 
> the issue in a 2.19.0 install

I'll do that for now.

Thanks!
Best,
Steve


[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>



________________________________
From: Mauro Bartolomeoli <mauro.bartolome...@geo-solutions.it>
Sent: Friday, April 9, 2021 5:19 AM
To: GeoServer Mailing List List <geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Fwd: GeoServer printing module fails


WARNING: This email originated outside of Cleveland Metroparks. DO NOT CLICK 
links or attachments unless you recognize the sender and know the content is 
safe.

Good morning Stephen,

Still an avid GeoServer user over here in Cleveland. It's been a long time 
since I've had a question. I've been lurking again for a few weeks, but know so 
little now that I haven't been able to be helpful again yet.


Glad to hear that!

I can confirm the issue with 2.19.0 and I have opened a jira ticket for it: 
https://osgeo-org.atlassian.net/browse/GEOS-10015

It should be related to a breaking change in json-20180813.jar. We used to 
depend on an older version.

--

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it<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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to