[Geoserver-devel] Class not found issues with mod proxy

Hey all,

I just grabbed the latest from master to do some QA of the wfs-ng work and I can’t get the WFS to work. Every GetFeature i do results in:

org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.wfs.WFSInfo$Version

at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166)

at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193)

at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81)

at org.geoserver.catalog.impl.ModificationProxyCloner.clone(ModificationProxyCloner.java:117)

at org.geoserver.catalog.impl.ModificationProxyCloner.cloneMap(ModificationProxyCloner.java:220)

at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:122)

at com.sun.proxy.$Proxy37.getGML(Unknown Source)

at org.geoserver.wfs.xml.GML3OutputFormat.write(GML3OutputFormat.java:186)

at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:190)

Wondering if anyone else is seeing this or it is just my environment?

-Justin

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive

On Tue, Jun 10, 2014 at 5:14 PM, Justin Deoliveira <
jdeolive@anonymised.com> wrote:

Hey all,

I just grabbed the latest from master to do some QA of the wfs-ng work and
I can't get the WFS to work. Every GetFeature i do results in:

org.apache.commons.lang.SerializationException:
java.lang.ClassNotFoundException: org.geoserver.wfs.WFSInfo$Version

Haven't seen it.
Seems a build/compiler/classpath issue?

Cheers
Andrea

--

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

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

-------------------------------------------------------

On Tue, Jun 10, 2014 at 9:28 AM, Andrea Aime <andrea.aime@anonymised.com>
wrote:

On Tue, Jun 10, 2014 at 5:14 PM, Justin Deoliveira <
jdeolive@anonymised.com> wrote:

Hey all,

I just grabbed the latest from master to do some QA of the wfs-ng work
and I can't get the WFS to work. Every GetFeature i do results in:

org.apache.commons.lang.SerializationException:
java.lang.ClassNotFoundException: org.geoserver.wfs.WFSInfo$Version

Haven't seen it.
Seems a build/compiler/classpath issue?

Indeed, just not sure how... I build geotools/geoserver/geowebcache all
from latest master and got the error while running in two different
IDE's... maybe it's an osx thing. Hopefully someone on OSX can try it out.

Cheers
Andrea

--

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

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

-------------------------------------------------------

--
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive <https://twitter.com/j_deolive&gt;

I see it when running http://ares.boundlessgeo.com/geoserver/master/geoserver-master-2014-06-14-bin.zip under OSX - json GetFeature output works but GML2/3 doesn’t.

Rob :slight_smile:

$ java -version
java version “1.7.0_55”
Java™ SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot™ 64-Bit Server VM (build 24.55-b03, mixed mode)

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.2
BuildVersion: 13C1021

···

On Wed, Jun 11, 2014 at 3:50 AM, Justin Deoliveira <jdeolive@anonymised.com> wrote:


HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Koordinates
PO Box 1604, Shortland St, Auckland 1140, New Zealand
Phone +64-9-966 0433 koordinates.com

On Tue, Jun 10, 2014 at 9:28 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Indeed, just not sure how… I build geotools/geoserver/geowebcache all from latest master and got the error while running in two different IDE’s… maybe it’s an osx thing. Hopefully someone on OSX can try it out.

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive

On Tue, Jun 10, 2014 at 5:14 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hey all,

I just grabbed the latest from master to do some QA of the wfs-ng work and I can’t get the WFS to work. Every GetFeature i do results in:

org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.geoserver.wfs.WFSInfo$Version

Haven’t seen it.
Seems a build/compiler/classpath issue?

Cheers
Andrea

==

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

==

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


I am running into this too while trying to build gt-script-core. The
org.geoserver.script.function.ScriptFunctionIntTest is failing with the
exact same error.

os x 10.9.3
java 1.7.0_45

Jared

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Class-not-found-issues-with-mod-proxy-tp5145100p5145890.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

On Sat, Jun 14, 2014 at 5:29 PM, jerickson <jared.erickson@anonymised.com> wrote:

I am running into this too while trying to build gt-script-core. The
org.geoserver.script.function.ScriptFunctionIntTest is failing with the
exact same error.

os x 10.9.3
java 1.7.0_45

This is really weird. I've just made a clean build of GeoTools master,
followed
by a build of of GeoServer with -Prelease,script,script-groovy, and it
succeeded.
Ubuntu 12.04 64 bits, Oracle jdk 1.7.0_51

May it be platform specific? Or... have you tried making a clean build of
everything?
(Wondering if we have corrupted snapshot jars in the online repo)

Cheers
Andrea

--

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

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

-------------------------------------------------------

I just pulled down the latest changes and did a clean/install for both
geotools and geoserver and still get the same error. So I guess this is a
mac specific thing.

Jared

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Class-not-found-issues-with-mod-proxy-tp5145100p5145904.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.