I added the sdb.jar file to the web-inf/lib folder on my locl geoserver since 
it contains the oracle/xdb/XMLType classes but I still receive the error.



Download and install of policy files recommended
from 
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
2014-07-17 08:42:36,755 INFO [geoserver.wfs] -
Request: getServiceInfo
2014-07-17 08:42:36,930 INFO [geoserver.wfs] -
Request: getFeature
    service = WFS
    version = 1.0.0
    baseUrl = http://localhost:2000/geoserver/
    query[0]:
        typeName[0] = {http://www.opengeospatial.net/cite}testbuoy
    maxFeatures = 50
    outputFormat = csv
    resultType = results
2014-07-17 08:42:37,430 ERROR [geoserver.ows] -
java.lang.NoClassDefFoundError: oracle/xdb/XMLType
 at oracle.jdbc.driver.T4CTTIdcb.fillupPBAAccessors(T4CTTIdcb.java:914)
 at oracle.jdbc.driver.T4CTTIdcb.fillupAccessors(T4CTTIdcb.java:304)
 at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:211)
 at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:149)
 at oracle.jdbc.driver.T4C8Oall.readDCB(T4C8Oall.java:860)
 at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:359)
 at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:193)
 at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:532)
 at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:210)
 at 
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:1117)
 at 
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1269)
 at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1391)
 at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3633)
 at 
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3677)
 at 
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1494)
 at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 at org.geotools.jdbc.JDBCFeatureReader.<init>(JDBCFeatureReader.java:157)
 at 
org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:595)
 at 
org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:563)
 at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:165)
 at 
org.geoserver.feature.RetypingFeatureCollection.features(RetypingFeatureCollection.java:45)
 at 
org.geoserver.feature.RetypingFeatureCollection.features(RetypingFeatureCollection.java:31)
 at org.geoserver.wfs.response.CSVOutputFormat.write(CSVOutputFormat.java:138)
 at 
org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:190)
 at org.geoserver.ows.Dispatcher.response(Dispatcher.java:919)
 at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276)
 at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
 at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
 at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
 at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
 at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
 at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
 at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:70)
 at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
 at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
 at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
 at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
 at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
 at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
 at 
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
 at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
 at 
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
 at 
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)
 at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
 at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
 at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
 at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 at org.mortbay.jetty.Server.handle(Server.java:324)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
 at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
 at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
 at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.ClassNotFoundException: oracle.xdb.XMLType
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
 ... 104 more

________________________________
From: [email protected] [[email protected]] on behalf of Andrea Aime 
[[email protected]]
Sent: Wednesday, July 16, 2014 11:28 PM
To: Price, Robert C.
Cc: [email protected]
Subject: Re: [Geoserver-users] Oracle XDB Error

On Mon, Jul 14, 2014 at 4:59 PM, Price, Robert C. 
<[email protected]<mailto:[email protected]>> wrote:

I am trying to setup WFS on GeoServer 2.5.1 using the oracle plugin and I am 
running into the error below.



Error is java.lang.NoClassDefFoundError: oracle/xdb/XMLType oracle/xdb/XMLType 
oracle.xdb.XMLType

It would be nice to see the full error (stack trace) found in the geoserver 
logs.
That said, GeoServer does not support Oracle XML type (adding meaningful 
support for
it would make for an interesting discussion)

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2<https://urldefense.proofpoint.com/v1/url?u=http://goo.gl/NWWaa2&k=1GMYaKjmAz8SrwAdnQ9klA%3D%3D%0A&r=PQRPdoiuLlgiCcc1CAL1TQ%3D%3D%0A&m=KIe4FqpEzHrM8rAv5KMuH%2FNnOh3WgOiA%2BhJrJd2EI9I%3D%0A&s=90c7b451f2fca16f67f10158f60bddd1747aff43346d7c2ff92ac4c28142fd01>
 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it<https://urldefense.proofpoint.com/v1/url?u=http://www.geo-solutions.it&k=1GMYaKjmAz8SrwAdnQ9klA%3D%3D%0A&r=PQRPdoiuLlgiCcc1CAL1TQ%3D%3D%0A&m=KIe4FqpEzHrM8rAv5KMuH%2FNnOh3WgOiA%2BhJrJd2EI9I%3D%0A&s=5d808aff552add79bc972412db04727d5208854aa5831674e12847cb600a040d>
http://twitter.com/geosolutions_it<https://urldefense.proofpoint.com/v1/url?u=http://twitter.com/geosolutions_it&k=1GMYaKjmAz8SrwAdnQ9klA%3D%3D%0A&r=PQRPdoiuLlgiCcc1CAL1TQ%3D%3D%0A&m=KIe4FqpEzHrM8rAv5KMuH%2FNnOh3WgOiA%2BhJrJd2EI9I%3D%0A&s=cf1c83bc3f81f2ce60b192526a5d1d09af0dcdd89d1cab9aee953a0a5a819bae>

-------------------------------------------------------



This message and any enclosures are intended only for the addressee.  Please 
notify the sender by email if you are not the intended recipient.  If you are 
not the intended recipient, you may not use, copy, disclose, or distribute this 
message or its contents or enclosures to any other person and any such actions 
may be unlawful.  Ball reserves the right to monitor and review all messages 
and enclosures sent to or from this email address.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to