[Geoserver-devel] [jira] Created: (GEOS-1881) WFS_getFeature ServiceException

WFS_getFeature ServiceException
-------------------------------

                 Key: GEOS-1881
                 URL: http://jira.codehaus.org/browse/GEOS-1881
             Project: GeoServer
          Issue Type: Bug
          Components: Oracle
    Affects Versions: 1.6.3
         Environment: Linux gs1.6.3 gt2-2.4.2 jdk1.5
            Reporter: Rudi Hochmeister
            Assignee: Andrea Aime

submitting follwing request:
<wfs:GetFeature service="WFS" version="1.0.0"
  outputFormat="GML2"
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <wfs:Query typeName="vienna:LUFT">
    
    </wfs:Query>
</wfs:GetFeature>
results in:

<ServiceExceptionReport version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;

  <ServiceException>

       error:Translator error
Translator error
Error reading Features
Could not aquire feature:org.geotools.data.DataSourceException: Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
ORA-00942: table or view does not exist

Details:
org.geoserver.platform.ServiceException: error:Translator error
  at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:251)
  at org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:260)
  at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:629)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:192)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
  at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.h
andle(Server.java:303)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
  at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
  at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: javax.xml.transform.TransformerException: Translator error
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:132)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:107)
  at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:241)
  ... 48 more
Caused by: java.lang.RuntimeException: Error reading Features
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.handleFeatureIterator(FeatureTransformer.java:521)
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.encode(FeatureTransformer.java:460)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:702)
  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:295)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:128)
  ... 50 more
Caused by: java.util.NoSuchElementException: Could not aquire feature:org.geotools.data.DataSourceException: Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
  at org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:53)
  at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.next(RetypingFeatureCollection.java:114)
  at org.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:54)
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.handleFeatureIterator(FeatureTransformer.java:509)
  ... 55 more
Caused by: org.geotools.data.DataSourceException: Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
  at org.geotools.data.jdbc.JDBC1DataStore.executeQuery(JDBC1DataStore.java:921)
  at org.geotools.data.jdbc.JDBC1DataStore.getFeatureReader(JDBC1DataStore.java:627)
  at org.geotools.data.jdbc.JDBCFeatureCollection.reader(JDBCFeatureCollection.java:82)
  at org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:241)
  at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:211)
  at org.geoserver.feature.RetypingFeatureCollection.iterator(RetypingFeatureCollection.java:41)
  at org.geoserver.feature.RetypingFeatureCollection.features(RetypingFeatureCollection.java:50)
  ... 55 more
Caused by: java.sql.SQLException: ORA-00942: table or view does not exist

  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
  at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
  at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
  at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
  at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
  at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
  at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
  at org.geotools.data.jdbc.JDBC1DataStore.executeQuery(JDBC1DataStore.java:910)
  ... 61 more

</ServiceException>
</ServiceExceptionReport>

geotools log shows:

22 Apr 15:37:48 INFO [org.geoserver.filters] - 10.152.53.73 "POST /geoserver/TestWfsPost" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13" ""
22 Apr 15:37:48 INFO [org.geoserver.filters] - 10.152.171.42 "POST /geoserver/wfs" "Java/1.5.0_15" ""
22 Apr 15:37:48 DEBUG [org.geotools.data.postgis] - get Feature source called on LIMA_SPERRFLAECHEN_F
22 Apr 15:37:48 DEBUG [org.geotools.data.postgis] - returning pg feature locking
22 Apr 15:37:48 TRACE [org.geotools.xml] - startElement(http://www.opengis.net/wfs,GetFeature,wfs:GetFeature
22 Apr 15:37:48 DEBUG [org.geotools.xml] - returning cached schema for http://www.opengis.net/wfs
22 Apr 15:37:48 DEBUG [org.geotools.xml] - schema specified by parser configuration not found, supplementing...
22 Apr 15:37:48 DEBUG [org.geotools.xml] - returning cached schema for http://www.opengis.net/wfs
22 Apr 15:37:48 TRACE [org.geotools.xml] - startElement(http://www.opengis.net/wfs,Query,wfs:Query
22 Apr 15:37:48 DEBUG [org.geotools.filter.SQLEncoderOracle] - SQLEncoderOracle: Geometric Column is: SHAPE
22 Apr 15:37:48 DEBUG [org.geotools.data.jdbc] - SQL: SELECT COUNT(*) as cnt FROM "NEN"
22 Apr 15:37:48 DEBUG [org.geotools.data] - IOException while calculating size() of FeatureCollection
org.geotools.data.DataSourceException: Could not count null
  at org.geotools.data.jdbc.JDBCFeatureSource.count(JDBCFeatureSource.java:334)
  at org.geotools.data.jdbc.JDBCFeatureCollection.getCount(JDBCFeatureCollection.java:104)
  at org.geotools.data.store.DataFeatureCollection.size(DataFeatureCollection.java:282)
  at org.geoserver.feature.DecoratingFeatureCollection.size(DecoratingFeatureCollection.java:93)
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:258)
  at org.geoserver.wfs.DefaultWebFeatureService.getFeature(DefaultWebFeatureService.java:108)
  at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
  at org.geoserver.wfs.WFSLogger.invoke(WFSLogger.java:44)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
  at $Proxy0.getFeature(Unknown Source)
  at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at org.geoserver.security.OperationSecurityInterceptor.invoke(OperationSecurityInterceptor.java:41)
  at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:509)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:188)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
  at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:303)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
  at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
  at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: java.sql.SQLException: ORA-00942: table or view does not exist

  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
  at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
  at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
  at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
  at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
  at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
  at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
  at org.geotools.data.jdbc.JDBCFeatureSource.count(JDBCFeatureSource.java:323)
  ... 65 more
22 Apr 15:37:48 INFO [org.geoserver.wfs] -
Request: getFeature
  handle = null
  service = WFS
  version = 1.0.0
  baseUrl = http://vmdev042:8081/geoserver/
  query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: Filter.INCLUDE, sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{http://www.wien.gv.at/ows/wfs/gml\}LUFT])]
  maxFeatures = null
  outputFormat = GML2
  resultType = results
  traverseXlinkDepth = null
  traverseXlinkExpiry = null

Result:
22 Apr 15:37:48 DEBUG [org.geotools.filter.SQLEncoderOracle] - SQLEncoderOracle: Geometric Column is: SHAPE
22 Apr 15:37:48 DEBUG [org.geotools.data.oracle] - SQL: SELECT SDO_AGGR_MBR(SHAPE) FROM "NEN"
22 Apr 15:37:48 DEBUG [org.geotools.filter.SQLEncoderOracle] - SQLEncoderOracle: Geometric Column is: SHAPE
22 Apr 15:37:48 DEBUG [org.geotools.filter.SQLEncoderOracle] - SQLEncoderOracle: Geometric Column is: SHAPE
22 Apr 15:37:48 DEBUG [org.geotools.data.jdbc] - calling sql builder with filter Filter.INCLUDE
22 Apr 15:37:48 DEBUG [org.geotools.data.jdbc] - sql is SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
22 Apr 15:37:48 DEBUG [org.geotools.data.jdbc] - SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
22 Apr 15:37:48 DEBUG [org.geotools.data.jdbc] - About to execute query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
22 Apr 15:37:48 ERROR [org.geotools.data.jdbc] - Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
java.sql.SQLException: ORA-00942: table or view does not exist

  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
  at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
  at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
  at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
  at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
  at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
  at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
  at org.geotools.data.jdbc.JDBC1DataStore.executeQuery(JDBC1DataStore.java:910)
  at org.geotools.data.jdbc.JDBC1DataStore.getFeatureReader(JDBC1DataStore.java:627)
  at org.geotools.data.jdbc.JDBCFeatureCollection.reader(JDBCFeatureCollection.java:82)
  at org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:241)
  at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:211)
  at org.geoserver.feature.RetypingFeatureCollection.iterator(RetypingFeatureCollection.java:41)
  at org.geoserver.feature.RetypingFeatureCollection.features(RetypingFeatureCollection.java:50)
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.encode(FeatureTransformer.java:460)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:702)
  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:295)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:128)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:107)
  at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:241)
  at org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:260)
  at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:629)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:192)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
  at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:303)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
  at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
  at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
22 Apr 15:37:48 DEBUG [org.geotools.gml] - closing reader org.geotools.feature.collection.DelegateFeatureIterator@anonymised.com
22 Apr 15:37:48 WARN [org.geoserver.ows] -
org.geoserver.platform.ServiceException: error:Translator error
  at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:251)
  at org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:260)
  at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:629)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:192)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
  at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
  at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:303)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
  at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
  at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: javax.xml.transform.TransformerException: Translator error
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:132)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:107)
  at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:241)
  ... 48 more
Caused by: java.lang.RuntimeException: Error reading Features
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.handleFeatureIterator(FeatureTransformer.java:521)
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.encode(FeatureTransformer.java:460)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:702)
  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:295)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:128)
  ... 50 more
Caused by: java.util.NoSuchElementException: Could not aquire feature:org.geotools.data.DataSourceException: Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
  at org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:53)
  at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.next(RetypingFeatureCollection.java:114)
  at org.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:54)
  at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.handleFeatureIterator(FeatureTransformer.java:509)
  ... 55 more
Caused by: org.geotools.data.DataSourceException: Error Performing SQL query: SELECT "OBJECTID", "ZIEL_NRI", "SHAPE" FROM "NEN"
  at org.geotools.data.jdbc.JDBC1DataStore.executeQuery(JDBC1DataStore.java:921)
  at org.geotools.data.jdbc.JDBC1DataStore.getFeatureReader(JDBC1DataStore.java:627)
  at org.geotools.data.jdbc.JDBCFeatureCollection.reader(JDBCFeatureCollection.java:82)
  at org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:241)
  at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:211)
  at org.geoserver.feature.RetypingFeatureCollection.iterator(RetypingFeatureCollection.java:41)
  at org.geoserver.feature.RetypingFeatureCollection.features(RetypingFeatureCollection.java:50)
  ... 55 more
Caused by: java.sql.SQLException: ORA-00942: table or view does not exist

  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
  at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
  at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
  at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
  at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
  at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
  at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
  at org.geotools.data.jdbc.JDBC1DataStore.executeQuery(JDBC1DataStore.java:910)
  ... 61 more
22 Apr 15:37:48 INFO [org.geoserver.filters] - 10.152.171.42 "POST /geoserver/wfs" took 151ms
22 Apr 15:37:48 INFO [org.geoserver.filters] - Compressing output for mimetype: text/xml; charset=UTF-8
22 Apr 15:37:48 INFO [org.geoserver.filters] - 10.152.53.73 "POST /geoserver/TestWfsPost" took 208ms

in my opinion gt/gs should make a SQL statement similiar to :

select "OBJECTID", "ZIEL_NRI", "SHAPE" from UMW.NEN

, which does return results on my ORACLE client. other wfs_getfeature requests without DB schema users work without problems. only DB schema user cause problems!

thx in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira