[Geoserver-devel] wfs-v 2.0.1

Hey all,

I have been working on wfs-v and noticed a new version of the extension for download: geoserver-2.0.1-wfsv-plugin.zip, great! So I updated to the current stable version of GeoServer (previously using 2.0.0a) and get the following CNF error:

09 Feb 09:47:10 INFO [org.geoserver] -

java.lang.NoClassDefFoundError: org/geotools/data/postgis/fidmapper/PostGISAutoIncrementFIDMapper

at org.geotools.data.postgis.VersionedPostgisDataStore.(VersionedPostgisDataStore.java:120)

digging a little I find that gt-postgis-versioned-2.6.1.jar has been updated in the extension but we are missing some classes (or my DB config is incorrect, eek!).

I grabbed gt-postgis-2.6.1.jar from GeoTools and added this to the extension and that fixed the Class Not Found error but I don’t know if this has also broken other things.

Any ideas if my versioned DB is incorrectly setup or if this is actually an issue and if is there something I can do to help get it fixed?

I still have to move back to GS 2.0.0a as modify/insert on wfs is broken L.

Out of curiosity I installed my modified wfs-v extension (has to otherwise I get above CNF) into my GeoServer 1.6.2 (as its stated it works in anything above 1.6.X in the readme.txt) and get a different CNF error:

09 Feb 09:37:05 ERROR [context.ContextLoader] - Context initialization failed

org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name ‘wfsvXsd-1.1’ defined in URL [jar:file:/C:/Programs/Apache/tomcat-5.5.9/webapps/geoserver/WEB-INF/lib/wfsv-2.0.1.jar!/applicationContext.xml]: Class that bean class [org.geoserver.wfsv.xml.v1_1_0.WFSV] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/geotools/xml/XSD

java.lang.NoClassDefFoundError: org/geotools/xml/XSD

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1629)

at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)

Cheers for your time,

Johnathon Hudson
Software Engineer

LISAsoft Pty Ltd

john.hudson@anonymised.com
Level 1, 30 Currie Street
Adelaide SA 5000 AUSTRALIA
Ph: +61 8 8425 8050
Fax: +61 8 8425 8099
Mobile: +61 402 300 415
Website: www.lisasoft.com


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

John Hudson ha scritto:

Hey all,

I have been working on wfs-v and noticed a new version of the extension for download: geoserver-2.0.1-wfsv-plugin.zip, great! So I updated to the current stable version of GeoServer (previously using 2.0.0a) and get the following CNF error:

You're not getting extension versioning straight: each extension will
work only and exactly for the GeoServer version it was made for.
If you use WFS-V 2.0.1 you have to use GeoServer 2.0.1

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Thanks for replying,

I failed at explaining:

I run the 2.0.1 extension in GeoServer 2.0.1 and the error occurred.

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Tuesday, February 09, 2010 5:52 PM
To: John Hudson
Cc: geoserver-devel@lists.sourceforge.net; Scott Henderson
Subject: Re: [Geoserver-devel] wfs-v 2.0.1

John Hudson ha scritto:

Hey all,

I have been working on wfs-v and noticed a new version of the extension
for download: geoserver-2.0.1-wfsv-plugin.zip, great! So I updated to
the current stable version of GeoServer (previously using 2.0.0a) and
get the following CNF error:

You're not getting extension versioning straight: each extension will
work only and exactly for the GeoServer version it was made for.
If you use WFS-V 2.0.1 you have to use GeoServer 2.0.1

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

Hi John; can you continue explaining ....

When using 2.0.1 extension and GeoServer 2.0.1 *what* error occurred
(you8 ended up mentioning several and I at least am confused).

I would also ask if there are any test cases for the wfs-v 2.0.1
extension which could be used to verify functionality ...

Jody

On Wed, Feb 10, 2010 at 8:25 AM, John Hudson <John.Hudson@anonymised.com> wrote:

Thanks for replying,

I failed at explaining:

I run the 2.0.1 extension in GeoServer 2.0.1 and the error occurred.

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Tuesday, February 09, 2010 5:52 PM
To: John Hudson
Cc: geoserver-devel@lists.sourceforge.net; Scott Henderson
Subject: Re: [Geoserver-devel] wfs-v 2.0.1

John Hudson ha scritto:

Hey all,

I have been working on wfs-v and noticed a new version of the extension
for download: geoserver-2.0.1-wfsv-plugin.zip, great! So I updated to
the current stable version of GeoServer (previously using 2.0.0a) and
get the following CNF error:

You're not getting extension versioning straight: each extension will
work only and exactly for the GeoServer version it was made for.
If you use WFS-V 2.0.1 you have to use GeoServer 2.0.1

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Jody Garnett ha scritto:

Hi John; can you continue explaining ....

When using 2.0.1 extension and GeoServer 2.0.1 *what* error occurred
(you8 ended up mentioning several and I at least am confused).

I would also ask if there are any test cases for the wfs-v 2.0.1
extension which could be used to verify functionality ...

The ideal bug report contains elements to reproduce:
- data
- request
- response or stack trace

We are not sitting behind your desk, we can only see what
you include in the mail

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.