[OpenLayers-Users] SaveStrategy does not work
- WFSProtocol with Vector Layer
paweluz
paweluz at o2.pl
Sat Mar 20 12:38:05 EDT 2010
Hi!
I have tried many approaches and for now there is nothing better. I have
checked everythink on Win2000 and XP. I used the latest geoserver (version
2.0.1) and tomcat 6.0. Still this same. I got the error. I have changed the
debug mode in Geoserver, and now I got some more information, but stil I
have no clue how to fix this. My log file now looks like this:
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 DEBUG
[geoserver.filters] - filtering http://localhost:8080/geoserver/wfs
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 DEBUG
[geoserver.requests] - First 4 bytes of XML doc are : 3C ('<') 77 ('w') 66
('f') 73 ('s')
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 DEBUG
[geoserver.requests] - Charset detection phase 1. Inferred encoding: UTF-8
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 DEBUG
[geoserver.requests] - Invalid(?) XML declaration: <wfs:T.
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 DEBUG
[geoserver.requests] - Charset detection phase 2. Charset in XML declaration
is `null`.
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 DEBUG
[geoserver.requests] - Trying to create reader basing on existing charset
information: `UTF-8`.
INFO | jvm 1 | 2010/03/20 17:25:53 | 20 mar 17:25:53 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 http://www.openplans.org/topp
http://localhost:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=topp:probabaza"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Insert><feature:probabaza
xmlns:feature="http://www.openplans.org/topp"><feature:the_geom><gml:LineString
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326"><gml:posList>15.535697937012 51.946275353796
15.534839630127
51.941407733545</gml:posList></gml:LineString></feature:the_geom></feature:probabaza></wfs:Insert></wfs:Transaction>
INFO | jvm 1 | 2010/03/20 17:25:53 | Request: getServiceInfo
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:53 DEBUG
[geotools.xml] - schemaLocation found: http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.openplans.org/topp
http://localhost:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=topp:probabaza
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:53 DEBUG
[geotools.xml] - Found override for http://www.opengis.net/wfs:
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd ==>
jar:file:/C:/Program%20Files/GeoServer%202.0.1/webapps/geoserver/WEB-INF/lib/wfs-2.0.1.jar!/org/geoserver/wfs/xml/v1_1_0/wfs.xsd
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:53 DEBUG
[geoserver.filters] - filtering
http://localhost:8080/geoserver/wfs/DescribeFeatureType
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:53 INFO
[geoserver.wfs] -
INFO | jvm 1 | 2010/03/20 17:25:54 | Request: getServiceInfo
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:53 INFO
[geoserver.wfs] -
INFO | jvm 1 | 2010/03/20 17:25:54 | Request: describeFeatureType
INFO | jvm 1 | 2010/03/20 17:25:54 | handle = null
INFO | jvm 1 | 2010/03/20 17:25:54 | service = WFS
INFO | jvm 1 | 2010/03/20 17:25:54 | version = 1.1.0
INFO | jvm 1 | 2010/03/20 17:25:54 | baseUrl =
http://localhost:8080/geoserver/
INFO | jvm 1 | 2010/03/20 17:25:54 | providedVersion = null
INFO | jvm 1 | 2010/03/20 17:25:54 | typeName =
[{http://www.openplans.org/topp}probabaza]
INFO | jvm 1 | 2010/03/20 17:25:54 | outputFormat = text/xml;
subtype=gml/3.1.1
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geoserver.wfs] - Locating FeatureSource uri:'http://www.openplans.org/topp'
name:'probabaza'
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geoserver.wfs] - located FeatureType w/ typeRef 'db:probabaza' and
elementName '{http://www.openplans.org/topp}probabaza'
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geoserver.wfs] - Transasction
Insert:net.opengis.wfs.impl.InsertElementTypeImpl at 15b68d5 (feature:
[SimpleFeatureImpl:probabaza=[SimpleFeatureImpl.Attribute: shapeid<shapeid
id=fid-6c575a54_1277c2f3123_-7ff4>=null, SimpleFeatureImpl.Attribute:
shapename<shapename id=fid-6c575a54_1277c2f3123_-7ff4>=null,
SimpleFeatureImpl.Attribute: the_geom<the_geom
id=fid-6c575a54_1277c2f3123_-7ff4>=]], handle: null, idgen: <unset>,
inputFormat: <unset>, srsName: null)
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geoserver.wfs] - Use featureValidation to check contents of insert
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - CREATE CONNECTION
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 TRACE
[geotools.core] - ENTRY -12 345
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - SELECT
"gid","shapeid","shapename",encode(asBinary(force_2d("the_geom"),'XDR'),'base64')
as "the_geom" FROM "public"."probabaza" WHERE 0 = 1
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 INFO
[gwc.GWCCleanser] - Deleting GWC cache for topp:probabaza
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 INFO
[file.FileBlobStore] - C:\Program Files\GeoServer
2.0.1\data_dir\gwc\topp_probabaza does not exist or is not writable
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 INFO
[gwc.GWCCleanser] - GWC cache for topp:probabaza deleted successfully
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - Setting shapeid to null
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - Setting 0 to null
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - Setting shapename to null
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - Setting 1 to null
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - Setting the_geom to
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 DEBUG
[geotools.jdbc] - Setting 2 to
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 ERROR
[geoserver.wfs] - Transaction failed
INFO | jvm 1 | 2010/03/20 17:25:54 |
org.geoserver.wfs.WFSTransactionException: Error performing insert
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.InsertElementHandler.execute(InsertElementHandler.java:204)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.Transaction.execute(Transaction.java:334)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.Transaction.transaction(Transaction.java:109)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:163)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
INFO | jvm 1 | 2010/03/20 17:25:54 | at $Proxy20.transaction(Unknown
Source)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.ows.Dispatcher.execute(Dispatcher.java:599)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.Server.handle(Server.java:324)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
INFO | jvm 1 | 2010/03/20 17:25:54 | Caused by:
java.lang.ClassCastException: java.lang.String cannot be cast to
com.vividsolutions.jts.geom.Geometry
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geotools.jdbc.JDBCDataStore.insertSQL(JDBCDataStore.java:3207)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geotools.jdbc.JDBCDataStore.insert(JDBCDataStore.java:1236)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geotools.jdbc.JDBCDataStore.insert(JDBCDataStore.java:1194)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geotools.jdbc.JDBCInsertFeatureWriter.write(JDBCInsertFeatureWriter.java:73)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geotools.data.InProcessLockingManager$1.write(InProcessLockingManager.java:335)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geotools.data.store.ContentFeatureStore.addFeatures(ContentFeatureStore.java:255)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFeatureStore.java:81)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.InsertElementHandler.execute(InsertElementHandler.java:173)
INFO | jvm 1 | 2010/03/20 17:25:54 | ... 69 more
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 INFO
[geoserver.wfs] -
INFO | jvm 1 | 2010/03/20 17:25:54 | Request: transaction
INFO | jvm 1 | 2010/03/20 17:25:54 | handle = null
INFO | jvm 1 | 2010/03/20 17:25:54 | service = WFS
INFO | jvm 1 | 2010/03/20 17:25:54 | version = 1.1.0
INFO | jvm 1 | 2010/03/20 17:25:54 | baseUrl =
http://localhost:8080/geoserver/
INFO | jvm 1 | 2010/03/20 17:25:54 | providedVersion = null
INFO | jvm 1 | 2010/03/20 17:25:54 | lockId = null
INFO | jvm 1 | 2010/03/20 17:25:54 | group =
[wfs:insert=net.opengis.wfs.impl.InsertElementTypeImpl at 15b68d5 (feature:
[SimpleFeatureImpl:probabaza=[SimpleFeatureImpl.Attribute: shapeid<shapeid
id=fid-6c575a54_1277c2f3123_-7ff4>=null, SimpleFeatureImpl.Attribute:
shapename<shapename id=fid-6c575a54_1277c2f3123_-7ff4>=null,
SimpleFeatureImpl.Attribute: the_geom<the_geom
id=fid-6c575a54_1277c2f3123_-7ff4>=]], handle: null, idgen: <unset>,
inputFormat: <unset>, srsName: null)]
INFO | jvm 1 | 2010/03/20 17:25:54 | insert =
[net.opengis.wfs.impl.InsertElementTypeImpl at 15b68d5 (feature:
[SimpleFeatureImpl:probabaza=[SimpleFeatureImpl.Attribute: shapeid<shapeid
id=fid-6c575a54_1277c2f3123_-7ff4>=null, SimpleFeatureImpl.Attribute:
shapename<shapename id=fid-6c575a54_1277c2f3123_-7ff4>=null,
SimpleFeatureImpl.Attribute: the_geom<the_geom
id=fid-6c575a54_1277c2f3123_-7ff4>=]], handle: null, idgen: <unset>,
inputFormat: <unset>, srsName: null)]
INFO | jvm 1 | 2010/03/20 17:25:54 | update = []
INFO | jvm 1 | 2010/03/20 17:25:54 | delete = []
INFO | jvm 1 | 2010/03/20 17:25:54 | native = []
INFO | jvm 1 | 2010/03/20 17:25:54 | releaseAction = ALL
INFO | jvm 1 | 2010/03/20 17:25:54 | 20 mar 17:25:54 ERROR
[geoserver.ows] -
INFO | jvm 1 | 2010/03/20 17:25:54 | org.geoserver.wfs.WFSException:
Error performing insert
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:197)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.wfs.response.TransactionResponse.write(TransactionResponse.java:67)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.ows.Dispatcher.response(Dispatcher.java:725)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:233)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.Server.handle(Server.java:324)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
INFO | jvm 1 | 2010/03/20 17:25:54 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
I think that this is mostly the security issue, but how to solve this??
Maybe someone has any idea??
Poul
--
View this message in context: http://n2.nabble.com/SaveStrategy-does-not-work-WFSProtocol-with-Vector-Layer-tp4762666p4769086.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list