Hi,

has anybody come across this error. It is occurring wth JNDI oracle
datastore inside weblogic 10.3. I am wondering if this is a known issue
with GT-2.5

ERROR [geotools.rendering] - weblogic.jdbc.wrapper.Struct_oracle_sql_STRUCT
cannot be cast to oracle.sql.STRUCT



regards,
Imran

On Mon, Apr 16, 2012 at 3:07 PM, Imran Rajjad <[email protected]> wrote:

> Hi list,
>
> I am trying to add a Weblogic Oracle DataSource as a data store in
> Geoserver. After adding the required resource block in web.xml as below
>
> <!-- JNDI -->
>   <resource-ref>
>     <description>JDBC Data Source-2</description>
>     <res-ref-name>jdbc/testoracle</res-ref-name>
>     <res-type>javax.sql.DataSource</res-type>
>     <res-auth>Container</res-auth>
>   </resource-ref>
>
>
> I am not able to get geoserver to find the jndi resource. the shared lib
> of application server has ojdbc6.jar .. I also tried to replace
> with ojdbc14.jar as per documentation. but no luck. The Oracle Data Source
> is using "oracle.jdbc.xa.client.OracleXADataSource" , could the problem lie
> with driver ?
>
> Geoserver is old 1.7.7, but I`m sure the remedy is similar to the new
> series. below is the stack trace.
>
> 16 Apr 14:59:43 WARN [geoserver.action] - Unable to fetch a list of
> FeatureType names from datastore.
> java.io.IOException: Cannot find JNDI data source:
> java:comp/env/jdbc/testoracle
> at
> org.geotools.jdbc.JDBCJNDIDataStoreFactory.createDataSource(JDBCJNDIDataStoreFactory.java:125)
>  at
> org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:137)
> at
> org.geotools.jdbc.JDBCDataStoreFactory.createDataStore(JDBCDataStoreFactory.java:46)
>  at
> org.vfny.geoserver.util.DataStoreUtils.getDataStore(DataStoreUtils.java:75)
> at
> org.vfny.geoserver.util.DataStoreUtils.acquireDataStore(DataStoreUtils.java:59)
>  at
> org.vfny.geoserver.action.data.DataDataStoresEditorAction.execute(DataDataStoresEditorAction.java:147)
> at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
>  at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>  at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>  at
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
> at weblogic.servlet.internal
>
> regards,
> Imran
> --
> I.R
>



-- 
I.R
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to