Discussion:
[Geoserver-users] Error saving WFS - <ows:Exception exceptionCode="NoApplicableCode"> Feature type *** is not available
giraam
2010-06-22 15:58:42 UTC
Permalink
Hi people,

I'm having this problem and I can not figure out whats going on..

I make a post request through OL this:

-----

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Insert>
<feature:clientes_nuevos
xmlns:feature="http://server:8080/geoserver/wfs">
<feature:the_geom>
<gml:Point xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326">
<gml:pos>-57.528859375 -25.28240625</gml:pos>
</gml:Point>
</feature:the_geom>
<feature:ASIGNADO>1</feature:ASIGNADO>
</feature:clientes_nuevos>
</wfs:Insert><
/wfs:Transaction>

-----

And I get this error:

-----

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://192.168.11.22:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ows="http://www.opengis.net/ows">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>Feature type &amp;apos;clientes_nuevos&amp;apos; is
not available: </ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

-----

Any idea? Thank you very much.!
--
View this message in context: http://old.nabble.com/Error-saving-WFS---%3Cows%3AException-exceptionCode%3D%22NoApplicableCode%22%3E-Feature-type-***-is-not-available-tp28961920p28961920.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Justin Deoliveira
2010-06-22 16:31:46 UTC
Permalink
My thought would be that the datastore/featuretype has someone been
disabled. Or perhaps the backend datastore (database, etc...) has gone down.

I would check the settings to ensure things are enabled, and that you
did not get any errors on geoserver startup.

Also if you could include the full stack trace by enabling verbose
exceptions in teh UI that would be helpful.

-Justin
Post by giraam
Hi people,
I'm having this problem and I can not figure out whats going on..
-----
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Insert>
<feature:clientes_nuevos
xmlns:feature="http://server:8080/geoserver/wfs">
<feature:the_geom>
<gml:Point xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326">
<gml:pos>-57.528859375 -25.28240625</gml:pos>
</gml:Point>
</feature:the_geom>
<feature:ASIGNADO>1</feature:ASIGNADO>
</feature:clientes_nuevos>
</wfs:Insert><
/wfs:Transaction>
-----
-----
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://192.168.11.22:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ows="http://www.opengis.net/ows">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>Feature type&amp;apos;clientes_nuevos&amp;apos; is
not available:</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
-----
Any idea? Thank you very much.!
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
giraam
2010-06-22 18:29:44 UTC
Permalink
<ows:exceptiontext>org.geoserver.wfs.WFSTransactionException: Feature type
'clientes_nuevos' is not available:
at org.geoserver.wfs.Transaction.execute(Transaction.java:223)
at org.geoserver.wfs.Transaction.transaction(Transaction.java:109)
at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy36.transaction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:599)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
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:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
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:275)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
</ows:exceptiontext>

This is the what I get now after enabling the verbose exception reporting!
Thanks again for your time..! =)
Post by Justin Deoliveira
Also if you could include the full stack trace by enabling verbose
exceptions in teh UI that would be helpful.
--
View this message in context: http://old.nabble.com/Error-saving-WFS---%3Cows%3AException-exceptionCode%3D%22NoApplicableCode%22%3E-Feature-type-***-is-not-available-tp28961920p28963462.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Justin Deoliveira
2010-06-23 14:14:20 UTC
Permalink
Ok, the error itself does not tell us much about why the feature type is
disabled, just that it is disabled.

I would check the startup log to see if any feature types are in error,
or any data stores fail to connect.
Post by giraam
<ows:exceptiontext>org.geoserver.wfs.WFSTransactionException: Feature type
at org.geoserver.wfs.Transaction.execute(Transaction.java:223)
at org.geoserver.wfs.Transaction.transaction(Transaction.java:109)
at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy36.transaction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:599)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
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:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
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:275)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
</ows:exceptiontext>
This is the what I get now after enabling the verbose exception reporting!
Thanks again for your time..! =)
Post by Justin Deoliveira
Also if you could include the full stack trace by enabling verbose
exceptions in teh UI that would be helpful.
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
giraam
2010-06-24 19:44:24 UTC
Permalink
Post by Justin Deoliveira
I would check the startup log to see if any feature types are in error,
or any data stores fail to connect.
---------

14:58 DEBUG [geoserver.requests] - First 4 bytes of XML doc are : 3C ('<')
77 ('w') 66 ('f') 73 ('s')
14:58 DEBUG [geoserver.requests] - Charset detection phase 1. Inferred
encoding: UTF-8
14:58 DEBUG [geoserver.requests] - Invalid(?) XML declaration: <wfs:T.
14:58 DEBUG [geoserver.requests] - Charset detection phase 2. Charset in XML
declaration is `null`.
14:58 DEBUG [geoserver.requests] - Trying to create reader basing on
existing charset information: `UTF-8`.

14:58 DEBUG [geoserver.ows] - Raw XML request starts with: <wfs:Transaction
xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Insert><feature:clientes_nuevos
xmlns:feature="http://192.168.11.22:8080/geoserver/wfs"><feature:the_geom><gml:Point
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326"><gml:pos>-57.8051875
-24.993796875</gml:pos></gml:Point></feature:the_geom></feature:clientes_nuevos></wfs:Insert></wfs:Transaction>

14:58 INFO [geoserver.wfs] - Request: getServiceInfo
14:59 DEBUG [geotools.xml] - schemaLocation found:
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
14:59 DEBUG [geotools.xml] - Found override for http://www.opengis.net/wfs:
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ==>
file:/opt/SUNWappserver/domains/domain1/generated/jsp/j2ee-modules/geoserver/loader/org/geoserver/wfs/xml/v1_1_0/wfs.xsd
14:59 DEBUG [geotools.xml] - Could not find declaration for:
{http://192.168.11.22:8080/geoserver/wfs}clientes_nuevos. Checking if
containing type declares a single particle.
14:59 DEBUG [geotools.xml] - Could not find declaration for:
{http://192.168.11.22:8080/geoserver/wfs}the_geom. Checking if containing
type declares a single particle.
14:59 DEBUG [geotools.xml] - Could not find declaration for:
{http://192.168.11.22:8080/geoserver/wfs}the_geom. Performing lookup by
ignoring namespace
14:59 INFO [geotools.xml] - Could not find declaration for:
{http://192.168.11.22:8080/geoserver/wfs}the_geom. Creating a mock element
declaration and parsing anyways...
14:59 DEBUG [geoserver.wfs] - Locating FeatureSource
uri:'http://192.168.11.22:8080/geoserver/wfs' name:'clientes_nuevos'

---------

This really starts to give up hope! I searched both in my application at the
client as in the database and would not know if I have something
misconfigured on Geoserver = (

I am sorry to bother so much with my problem but I'm already behind on my
development for this!
--
View this message in context: http://old.nabble.com/Error-saving-WFS---%3Cows%3AException-exceptionCode%3D%22NoApplicableCode%22%3E-Feature-type-***-is-not-available-tp28961920p28985994.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Justin Deoliveira
2010-06-30 14:24:37 UTC
Permalink
This is not the start up log. The start up log tells you all datastores
or feature types that are disabled. It also displays any errors that
might occur trying to connect to a datastore (when that occurs they are
temporarily disabled)>
Post by giraam
Post by Justin Deoliveira
I would check the startup log to see if any feature types are in error,
or any data stores fail to connect.
---------
14:58 DEBUG [geoserver.requests] - First 4 bytes of XML doc are : 3C ('<')
77 ('w') 66 ('f') 73 ('s')
14:58 DEBUG [geoserver.requests] - Charset detection phase 1. Inferred
encoding: UTF-8
14:58 DEBUG [geoserver.requests] - Invalid(?) XML declaration:<wfs:T.
14:58 DEBUG [geoserver.requests] - Charset detection phase 2. Charset in XML
declaration is `null`.
14:58 DEBUG [geoserver.requests] - Trying to create reader basing on
existing charset information: `UTF-8`.
14:58 DEBUG [geoserver.ows] - Raw XML request starts with:<wfs:Transaction
xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Insert><feature:clientes_nuevos
xmlns:feature="http://192.168.11.22:8080/geoserver/wfs"><feature:the_geom><gml:Point
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326"><gml:pos>-57.8051875
-24.993796875</gml:pos></gml:Point></feature:the_geom></feature:clientes_nuevos></wfs:Insert></wfs:Transaction>
14:58 INFO [geoserver.wfs] - Request: getServiceInfo
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ==>
file:/opt/SUNWappserver/domains/domain1/generated/jsp/j2ee-modules/geoserver/loader/org/geoserver/wfs/xml/v1_1_0/wfs.xsd
{http://192.168.11.22:8080/geoserver/wfs}clientes_nuevos. Checking if
containing type declares a single particle.
{http://192.168.11.22:8080/geoserver/wfs}the_geom. Checking if containing
type declares a single particle.
{http://192.168.11.22:8080/geoserver/wfs}the_geom. Performing lookup by
ignoring namespace
{http://192.168.11.22:8080/geoserver/wfs}the_geom. Creating a mock element
declaration and parsing anyways...
14:59 DEBUG [geoserver.wfs] - Locating FeatureSource
uri:'http://192.168.11.22:8080/geoserver/wfs' name:'clientes_nuevos'
---------
This really starts to give up hope! I searched both in my application at the
client as in the database and would not know if I have something
misconfigured on Geoserver = (
I am sorry to bother so much with my problem but I'm already behind on my
development for this!
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
preetha.kesavan
2017-05-26 10:49:47 UTC
Permalink
HI,

I know this is an old thread but I am getting the same error message 'No
Applicable Code'. I am trying to insert a line(Geometry values) into the
database but I am getting this only when the table is empty. But if I insert
some record into the table manually with the query directly, the error is
not there. What could be hte reason? Please tell me if anyone has an idea. I
am posting the error code and what the actual request is...

My Request

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" version="1.1.0"
service="WFS"><wfs:Insert><feature:Hydrant_Route_Raw
xmlns:feature="http://www.opengis.net/wfs"><feature:GEOM><gml:LineString
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:900913"><gml:posList>-283609.4905054803 7013400.087365126
-283161.706031366 7013854.173957001 -283118.4188448389
7014074.837029764</gml:posList></gml:LineString></feature:GEOM></feature:Hydrant_Route_Raw></wfs:Insert></wfs:Transaction>

and the error is...
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.content(HttpConnection.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
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)
2017-05-26 11:46:41,859 ERROR [geoserver.ows] -
*org.geoserver.wfs.WFSTransactionException: Feature type 'Hydrant_Route_Raw'
is not available: *
at org.geoserver.wfs.Transaction.execute(Transaction.java:221)
at org.geoserver.wfs.Transaction.transaction(Transaction.java:106)
at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:171)
at sun.reflect.GeneratedMethodAccessor1314.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:33)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-saving-WFS-ows-Exception-exceptionCode-NoApplicableCode-Feature-type-is-not-available-tp3796849p5321929.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Steven Kalt
2017-06-20 16:12:06 UTC
Permalink
You have your feature namespace defined as the canonical wfs namespace uri
(xmlns:feature="http://www.opengis.net/wfs"). It's likely your geoserver
can't find the definition of feature:GEOM because the wfs schema does not
include a GEOM feature type. If changing your feature workspace's namespace
URI does not work, please locate your `feature` type in a wfs
DescribeFeatureType request and attach the resulting definition header and
schema url.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-saving-WFS-ows-Exception-exceptionCode-NoApplicableCode-Feature-type-is-not-available-tp3796849p5324891.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Loading...