On 25/09/2010 09:09, Martin Jensen wrote:
> I just checked. Everything is 2.1-beta1.:
>
> geoserver-2.1-beta1-war.
> geoserver-2.1-beta1-wps-plugin
> geoserver-2.1-beta1-wps-plugin

Odd... and the data is coming from... what? Postgis?

>> <ows:ExceptionText>
>> Process returned with an exception
>> java.lang.ClassCastException: org.geotools.jdbc.JDBCFeatureSource
>> cannot be cast to org.geotools.data.simple.SimpleFeatureStore
>> org.geotools.jdbc.JDBCFeatureSource cannot be cast to
>> org.geotools.data.simple.SimpleFeatureStore
>> </ows:ExceptionText>
>> </ows:Exception>
>> </ows:ExceptionReport>

Just checked, org.geotools.jdbc.JDBCFeatureSource extends
ContentFeatureSource which implements SimpleFeature and...
oh! SimpleFeatureStore!
Right, so I guess you're trying to import into a PostGIS database,
something I still haven't tried so far (only created local
shapefiles so far).

The fact you get a source means there is no primary key... I
guess JDBCDataStore.createSchema() is not doing that.
Not suprising, WPS is the first piece of code using that
method in years. I'll have a look.

Cheers
Andrea

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to