Hi all,
I’ve found 2 different json-lib version into the lib dir of geoserver 2.2.x:
net.sf.json-lib:json-lib:jar:jdk13:2.1:compile
net.sf.json-lib:json-lib:jar:jdk15:2.2.3:compile
This is causing some problem in parsing a JSON NULL value which result different in windows (probably due to a different jar loading order).
The old json-lib appear to come from GWC.
[INFO] ± org.geowebcache:gwc-rest:jar:1.3-RC5:compile
[INFO] | ± org.restlet:org.restlet:jar:1.0.8:compile
[INFO] | ± com.noelios.restlet:com.noelios.restlet:jar:1.0.8:compile
[INFO] | ± com.noelios.restlet:com.noelios.restlet.ext.simple:jar:1.0.8:compile
[INFO] | | - org.simpleframework:org.simpleframework:jar:3.1.3:compile
[INFO] | ± org.restlet:org.restlet.ext.freemarker:jar:1.0.8:compile
[INFO] | ± org.restlet:org.restlet.ext.spring:jar:1.0.8:compile
[INFO] | ± org.restlet:org.restlet.ext.json:jar:1.0.8:compile
[INFO] | | - org.json:org.json:jar:2.0:compile
[INFO] | ± com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.0.8:compile
[INFO] | - net.sf.json-lib:json-lib:jar:jdk13:2.1:compile
Is it possible to update it to the 2.2.3 classifier jdk15 ?
Cheers,
Carlo Cancellieri - GeoSolutions SAS
On Fri, Jan 18, 2013 at 11:13 AM, Carlo Cancellieri <ccancellieri@anonymised.com1…> wrote:
Hi all,
I’ve found 2 different json-lib version into the lib dir of geoserver 2.2.x:
net.sf.json-lib:json-lib:jar:jdk13:2.1:compile
net.sf.json-lib:json-lib:jar:jdk15:2.2.3:compile
This is causing some problem in parsing a JSON NULL value which result different in windows (probably due to a different jar loading order).
The old json-lib appear to come from GWC.
[INFO] ± org.geowebcache:gwc-rest:jar:1.3-RC5:compile
[INFO] | ± org.restlet:org.restlet:jar:1.0.8:compile
[INFO] | ± com.noelios.restlet:com.noelios.restlet:jar:1.0.8:compile
[INFO] | ± com.noelios.restlet:com.noelios.restlet.ext.simple:jar:1.0.8:compile
[INFO] | | - org.simpleframework:org.simpleframework:jar:3.1.3:compile
[INFO] | ± org.restlet:org.restlet.ext.freemarker:jar:1.0.8:compile
[INFO] | ± org.restlet:org.restlet.ext.spring:jar:1.0.8:compile
[INFO] | ± org.restlet:org.restlet.ext.json:jar:1.0.8:compile
[INFO] | | - org.json:org.json:jar:2.0:compile
[INFO] | ± com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.0.8:compile
[INFO] | - net.sf.json-lib:json-lib:jar:jdk13:2.1:compile
Is it possible to update it to the 2.2.3 classifier jdk15 ?
Reviewing the GeoServer trunk commits I’ve found this one, believe it’s relevant:
commit 6602f6090769e1b8801ff85441e78563d324909c
Author: Jared Erickson <jared.erickson@anonymised.com>
Date: Tue Nov 6 12:55:27 2012 -0800
Exclude old json-lib version from GWC
https://github.com/geoserver/geoserver/commit/6602f6090769e1b8801ff85441e78563d324909c
Cheers
Andrea
–
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it