[Geoserver-users] Problems with GS 1.6.0.RC1 and Oracle

Hi all!
Sorry if i'm repeating problem, but i couldn't find this problem in old
posts.

Well..
I use geoserver 1.5.0 with oracle 8.1.7, gt2-oracle-spatial-2.3.1, ojdbc14
and i dont have any problems.

I've decided to try new version of GS. i've downloaded GS 1.6.0.RC1. I've
copied to new catalog.xml my oracle datastore params, styles descriptions,
namespaces from old one. I've copied gt2-oracle-spatial-2.3.1, ojdbc14 to
new geoserver lib.
When i start GS, i have this expt:
     2007-11-20 11:54:05,687 WARN [geotools.data] - Could not acquire Oracle
Spatial Database:java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;)V
java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;).

Well. i thought that i did something wrong with copieng behind catalog.xml.
So, i've tried to create new oracle datastore from GUI. I've entered all
params correctly, i mean host, port, user, passwd, instance, schema. Than i
press submit, it says me, that "Connection Parameters are invalid"!
and this expt:
    Could not acquire Oracle Spatial Database:java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;)V
java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;)V

It exactly works in GS 1.5.0.

Tel me please, what am i doing wrong?

Sory again, if i've repeated already discussed problem.

--
View this message in context: http://www.nabble.com/Problems-with-GS-1.6.0.RC1-and-Oracle-tf4854151.html#a13890393
Sent from the GeoServer - User mailing list archive at Nabble.com.

Golushkov Oleg ha scritto:

Hi all! Sorry if i'm repeating problem, but i couldn't find this problem in old
posts.

Well.. I use geoserver 1.5.0 with oracle 8.1.7, gt2-oracle-spatial-2.3.1, ojdbc14
and i dont have any problems.

I've decided to try new version of GS. i've downloaded GS 1.6.0.RC1. I've
copied to new catalog.xml my oracle datastore params, styles descriptions,
namespaces from old one. I've copied gt2-oracle-spatial-2.3.1, ojdbc14 to
new geoserver lib. When i start GS, i have this expt: 2007-11-20 11:54:05,687 WARN [geotools.data] - Could not acquire Oracle
Spatial Database:java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;)V java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;).

Well. i thought that i did something wrong with copieng behind catalog.xml.
So, i've tried to create new oracle datastore from GUI. I've entered all
params correctly, i mean host, port, user, passwd, instance, schema. Than i
press submit, it says me, that "Connection Parameters are invalid"! and this expt: Could not acquire Oracle Spatial Database:java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;)V java.lang.NoSuchMethodError:
org.geotools.data.jdbc.JDBCDataStore.<init>(Lorg/geotools/data/jdbc/ConnectionPool;Lorg/geotools/data/jdbc/JDBCDataStoreConfig;)V

It exactly works in GS 1.5.0.

Tel me please, what am i doing wrong?

You have to use the 1.6.0-rc1 Oracle datastore, no the one distributed
with GeoServer 1.5. GeoServer extensions are version dependent, you
cannot use an old one with a newer GeoServer, they are most of the
time binary incompatible.

Hope this helps
Cheers
Andrea