Hi all

I've been using GeoServer for developing a geospatial application, and up
to
now I've been storing my data in a "directory of shapefiles". I've found
that when I add features to the shapefiles, the id returned is not correct,
and so I have no idea how to read back the feature later on.

I found this in the archives, which seems to say that it cannot work:
http://permalink.gmane.org/gmane.comp.gis.geoserver.user/10631

I thought I could solve this by using SpatiaLite, so I tried to get it
working in GeoServer 2.1.4.

I found these instructions:
http://docs.geoserver.org/stable/en/user/community/spatialite/index.html

The first issue I encountered was that the link provided
(http://gridlock.opengeo.org/geoserver/trunk/community-latestO/) does not
contain a spatialite plugin. I navigated my way to this link, which does:
http://gridlock.opengeo.org/geoserver/2.1.x/community-latest/

However, I am also supposed to install the GEOS and PROJ repositories
separately. The link provided for GEOS has itself a link to OSGeo4W
which can install 150 different libraries. The PROJ link is dead.

I tried to use OSGeo4W to install the libs, but I can't figure out how
to get spatialite plugin to find them.

When I simply copy the spatialite plugin jars to GeoServer, and try to
create a Spatialite datastore, I get the exception below on the console.

Any help would be appreciated.
-Harold Ship

java.lang.UnsatisfiedLinkError: C:\Users\harold\AppData\Local\Temp
\sqlite-unknown-sqlitejdbc.dll (JVMPORT015E Unable to resolve shared
library references - a prerequisite shared library may be missing)
org.ibex.nestedvm.Runtime$FaultException:
java.lang.ArrayIndexOutOfBoundsException at (unknown)
        at org.sqlite.SQLite._execute(target/build/SQLite.mips)
        at org.ibex.nestedvm.Runtime.__execute(Runtime.java:506)
        at org.ibex.nestedvm.Runtime.call(Runtime.java:678)
        at org.ibex.nestedvm.Runtime.call(Runtime.java:647)
        at org.sqlite.NestedDB.call(NestedDB.java:574)
        at org.sqlite.NestedDB.call(NestedDB.java:560)
        at org.sqlite.NestedDB._open(NestedDB.java:73)
        at org.sqlite.DB.open(DB.java:88)
        at org.sqlite.Conn.open(Conn.java:145)
        at org.sqlite.Conn.<init>(Conn.java:57)
        at org.sqlite.JDBC.createConnection(JDBC.java:77)
        at org.sqlite.JDBC.connect(JDBC.java:64)
        at org.apache.commons.dbcp.DriverConnectionFactory.createConnection
(DriverConnectionFactory.java:38)
        at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject
(PoolableConnectionFactory.java:582)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject
(GenericObjectPool.java:1148)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection
(PoolingDataSource.java:106)
        at org.apache.commons.dbcp.BasicDataSource.getConnection
(BasicDataSource.java:1044)
        at
org.geotools.data.spatialite.SpatiaLiteDataStoreFactory.initializeDataSource
(SpatiaLiteDataStoreFactory.java:158)
        at
org.geotools.data.spatialite.SpatiaLiteDataStoreFactory.createDataSource
(SpatiaLiteDataStoreFactory.java:137)


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to