Hi,
I tried publishing an oracle jndi store in weblogic and it turned out that
there were some type casting issues between the SDO_GEOMETRY class of jdbc
driver in geoserver and weblogic`s jdbc version . However simple oracle
datastore should not give you any problem. This can also occur if the
sdo_geom_metadata table does not have a valid entry. I am guessing you have
validated the geometry column as well. :)
regards,
Imran
On Fri, May 11, 2012 at 9:08 PM, GeoUser <[email protected]> wrote:
> Hey all, i had some 'subscription' problems so i'm reposting my problem.
> Here
> it goes:
>
> I'm running Geoserver 2.1.3 on Weblogic 12c and trying to use the official
> Oracle plugin (JNDI). The problem is that Weblogic wraps all oracle jdbc
> stuff, causing exceptions as seen below, allover Oracle plugin codebase...
>
> Caused by: java.io.IOException: Error occured calculating bounds at
> org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1137)
> at
>
> org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:478)
> ... 94 more
> Caused by: java.lang.ClassCastException:
> weblogic.jdbc.wrapper.Struct_oracle_sql_STRUCT cannot be cast to
> oracle.sql.STRUCT
> at
> org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:438)
> at
> org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:424)
> at
>
> org.geotools.data.oracle.OracleDialect.decodeGeometryEnvelope(OracleDialect.java:371)
> at
>
> org.geotools.data.oracle.OracleDialect.getOptimizedBounds(OracleDialect.java:634)
> at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1092) ...
> 95
> more
> ...
>
> I think that this is a big problem since we (and probably others) can not
> use Oracle+Geoserver+WeblogicXX combination.
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Weblogic-12c-tp4968706.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
I.R
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users