[Geoserver-devel] Re: AW: AW: [Geoserver-users] Transaction by LockID

What version of GeoServer are you using? This should really have been
caught by cite testing, which David ran right before putting out
1.3-beta2. Give that version a try. And yeah, if you can send him or
me a server location that we can hit, we should be able to try it out.

Chris

Quoting Eugen Gass <gass@anonymised.com>:

I'm sure that the LockId is right. I take the LockId from Response
and use
it
for my update requests. It's realy the same LockId. I have no idea
why it
doesn't work???
I lock always as postgres admin user to my database and it's no a
rights
problem.

best regards

Eugen

-----Ursprüngliche Nachricht-----
Von: Chris Holmes [mailto:cholmes@anonymised.com]
Gesendet: Dienstag, 12. April 2005 16:29
An: Eugen Gass
Betreff: Re: AW: [Geoserver-users] Transaction by LockID

That error makes a lot more sense. It does beg the question of are
you
sure you're using the proper lockId? You lock features, and get back
a
certain lockId, and that's the one you're using on the update? I'd
be
surprised if that doesn't work, as it's pretty well tested on the
cite
tests. Be sure that you cut and paste exactly.

Chris

Quoting Eugen Gass <gass@anonymised.com>:

>
> Hi,
>
> after Isend you the first Log file I set the example database
called
> "dcmms"
> to false.
> After restart I made a new update with LockId and I got another
> service
> exception like:
>
> 777728 [FEINER] GMLFilterDocument - RETURN
> 777728 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.242 13
> 777728 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777728 [FEINER] org.geotools.filter.ExpressionSAXParser - incoming
> message:
> top
> p:objectid
> 777728 [FEINER] org.geotools.filter.ExpressionSAXParser - should
> read
> chars: tr
> ue
> 777728 [FEINER] org.geotools.filter.ExpressionSAXParser - ...
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - setting
> attribute
> exp
> ression: objectid
> 777738 [FEINER] ExpressionAttribute - ENTRY objectid
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - ...
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - ...
> 777738 [FEINER] GMLFilterDocument - RETURN
> 777738 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/ogc
> PropertyNa
> me ogc:PropertyName
> 777738 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Propert
> yName
> 777738 [FEINER] AbstractFilter - ENTRY 101
> 777738 [FEINER] org.geotools.filter.FilterFilter - found an
> expression
> filter e
> nd
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - declared
> type:
> Proper
> tyName
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - end
> message:
> Property
> Name
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - current
> state:
> comple
> te
> 777738 [FEINER] org.geotools.filter.FilterFilter - expression
> factory is
> ready
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - about to
> create
> expre
> ssion: objectid
> 777738 [FEINER] org.geotools.filter.FilterSAXParser - current
state
> (end):
> righ
> tValue
> 777738 [FEINER] GMLFilterDocument - RETURN
> 777738 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.275 1
> 777738 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - incoming
> message:
>
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - should
> read
> chars: fa
> lse
> 777738 [FEINER] GMLFilterDocument - RETURN
> 777738 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/ogc
> Literal og
> c:Literal org.xml.sax.helpers.AttributesImpl@anonymised.com
> 777738 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Literal
>
> 777738 [FEINER] AbstractFilter - ENTRY 109
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - incoming
> type:
> Litera
> l
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - declared
> type:
> Proper
> tyName
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - current
> state:
> comple
> te
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - is
literal
> expression
>
> 777738 [FEINER] GMLFilterDocument - RETURN
> 777738 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.289 4
> 777738 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - incoming
> message:
> 683
> 4
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - should
> read
> chars: tr
> ue
> 777738 [FEINER] GMLFilterDocument - RETURN
> 777738 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/ogc
> Literal og
> c:Literal
> 777738 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Literal
>
> 777738 [FEINER] AbstractFilter - ENTRY 109
> 777738 [FEINER] org.geotools.filter.FilterFilter - found an
> expression
> filter e
> nd
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - declared
> type:
> Litera
> l
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - end
> message:
> Literal
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - current
> state:
> comple
> te
> 777738 [FEINER] org.geotools.filter.FilterFilter - expression
> factory is
> ready
> 777738 [FEINER] org.geotools.filter.ExpressionSAXParser - about to
> create
> expre
> ssion: 6834
> 777738 [FEINER] org.geotools.filter.FilterSAXParser - current
state
> (end):
> comp
> lete
> 777738 [FEINER] GMLFilterDocument - RETURN
> 777738 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.308 1
> 777748 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777748 [FEINER] org.geotools.filter.ExpressionSAXParser - incoming
> message:
>
> 777748 [FEINER] org.geotools.filter.ExpressionSAXParser - should
> read
> chars: fa
> lse
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/ogc
> PropertyIs
> EqualTo ogc:PropertyIsEqualTo
> 777748 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Propert
> yIsEqualTo
> 777748 [FEINER] AbstractFilter - ENTRY 14
> 777748 [FEINER] org.geotools.filter.FilterSAXParser - complete
> called,
> state =
> complete
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.334 1
> 777748 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777748 [FEINER] org.geotools.filter.ExpressionSAXParser - incoming
> message:
>
> 777748 [FEINER] org.geotools.filter.ExpressionSAXParser - should
> read
> chars: fa
> lse
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/ogc
> Filter
> ogc
> :Filter
> 777748 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Filter
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.349 1
> 777748 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/wfs
> Update
> wfs
> :Update
> 777748 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Update
> 777748 [FEINER] org.vfny.geoserver.requests.wfs.TransactionHandler
-
> at end
> ele
> ment: Update
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY [C@anonymised.com 1.364 1
> 777748 [FEIN]
> org.vfny.geoserver.requests.wfs.TransactionFeatureHandler -
> we ar
> e inside attribute: false, curAttType is null curFeatureT: null
> attName
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER] GMLFilterDocument - ENTRY
http://www.opengis.net/wfs
> Transactio
> n wfs:Transaction
> 777748 [FEINER] org.geotools.filter.FilterFilter - found start
> element:
> Transac
> tion
> 777748 [FEINER] org.vfny.geoserver.requests.wfs.TransactionHandler
-
> at end
> ele
> ment: Transaction
> 777748 [FEINER] GMLFilterDocument - RETURN
> 777748 [FEINER]
> org.vfny.geoserver.requests.readers.wfs.TransactionXmlReader -
> just parsed: org.xml.sax.InputSource@anonymised.com
> 777758 [INFO] org.vfny.geoserver.servlets.AbstractService -
handling
> request: L
> ock Id: GeoServer_48331fb556fc6609
> releaseAction: ALL
> handle: null
> TypeName: topp:linie_frei
> handle: null topp:linie_frei 1
> ReleaseAll: true
> filter: [ objectid = 6834 ]
> Property - Name: objectid, Value: 6834
> Property - Name: objektbesc, Value: 6834
> Property - Name: elementgru, Value: wfs test2
> Property - Name: kartenid, Value: 314
> Property - Name: darstellun, Value: 0
> Property - Name: strichstae, Value: 1
> Property - Name: farbe, Value: 1
> Property - Name: fk_objekta, Value: 0
> Property - Name: lookupfiel, Value: 000101
> Property - Name: shape_len, Value: 94857742
>
>
> 777758 [FEIN] org.vfny.geoserver.servlets.AbstractService -
strategy
> is:
> org.vf
> ny.geoserver.servlets.FileStrategy@anonymised.com
> 777758 [FEINER] org.vfny.geoserver.servlets.AbstractService -
> executing
> request
>
> 777758 [FEIN] org.vfny.geoserver.responses.wfs.TransactionResponse
-
> request is
> Lock Id: GeoServer_48331fb556fc6609
> releaseAction: ALL
> handle: null
> TypeName: topp:linie_frei
> handle: null topp:linie_frei 1
> ReleaseAll: true
> filter: [ objectid = 6834 ]
> Property - Name: objectid, Value: 6834
> Property - Name: objektbesc, Value: 6834
> Property - Name: elementgru, Value: wfs test2
> Property - Name: kartenid, Value: 314
> Property - Name: darstellun, Value: 0
> Property - Name: strichstae, Value: 1
> Property - Name: farbe, Value: 1
> Property - Name: fk_objekta, Value: 0
> Property - Name: lookupfiel, Value: 000101
> Property - Name: shape_len, Value: 94857742
>
>
> 777758 [FEIN] org.vfny.geoserver.responses.wfs.TransactionResponse
-
> Locating F
> eatureSource 'topp:linie_frei'...
> 777758 [FEIN] org.vfny.geoserver.global.Data - getting type
> topp:linie_frei
> 777758 [FEIN] org.vfny.geoserver.responses.wfs.TransactionResponse
-
> located Fe
> atureType w/ typeRef 'Postgis:linie_frei' and elementName
> 'topp:linie_frei'
> 777758 [FEIN] org.geotools.data.postgis.PostgisDataStore - get
> Feature
> source c
> alled on linie_frei
> 777758 [FEIN] org.geotools.data.postgis.PostgisDataStore -
returning
> pg
> feature
> locking
> 777758 [FEINER]
org.vfny.geoserver.responses.wfs.TransactionResponse
> - got
> lock
> Id: GeoServer_48331fb556fc6609
> 777758 [FEINER] org.vfny.geoserver.global.DataStoreInfo - in
string
> url
> 777758 [FEINER] org.vfny.geoserver.global.DataStoreInfo - in
string
> url
> 777758 [FEIN] org.vfny.geoserver.ServiceException - Attempting to
> use a
> lockID
> that does not exist, it has either expired or was entered wrong.
> 777758 [WARNUNG] org.vfny.geoserver.servlets.AbstractService -
> service
> exceptio
> n while executing request: Lock Id: GeoServer_48331fb556fc6609
> releaseAction: ALL
> handle: null
> TypeName: topp:linie_frei
> handle: null topp:linie_frei 1
> ReleaseAll: true
> filter: [ objectid = 6834 ]
> Property - Name: objectid, Value: 6834
> Property - Name: objektbesc, Value: 6834
> Property - Name: elementgru, Value: wfs test2
> Property - Name: kartenid, Value: 314
> Property - Name: darstellun, Value: 0
> Property - Name: strichstae, Value: 1
> Property - Name: farbe, Value: 1
> Property - Name: fk_objekta, Value: 0
> Property - Name: lookupfiel, Value: 000101
> Property - Name: shape_len, Value: 94857742
>
>
> cause: Attempting to use a lockID that does not exist, it has
either
> expired
> or
> was entered wrong.
> 777758 [FEINER] org.vfny.geoserver.global.DataStoreInfo - in
string
> url
> 777758 [FEINER] org.vfny.geoserver.global.DataStoreInfo - in
string
> url
> 777758 [WARNUNG] org.vfny.geoserver.ServiceException - encountered
> error:
> Attem
> pting to use a lockID that does not exist, it has either expired or
> was
> entered
> wrong.
> StackTrace: org.vfny.geoserver.WfsException: Attempting to use a
> lockID that
> doe
> s not exist, it has either expired or was entered wrong.
> at
>
org.vfny.geoserver.responses.wfs.TransactionResponse.execute(Transact
> ionResponse.java:271)
> at
>
org.vfny.geoserver.responses.wfs.TransactionResponse.execute(Transact
> ionResponse.java:104)
> at
>
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService
> .java:362)
> at
>
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.ja
> va:300)
> at
>
org.vfny.geoserver.servlets.wfs.WfsDispatcher.doResponse(WfsDispatche
> r.java:245)
> at
>
org.vfny.geoserver.servlets.wfs.WfsDispatcher.doPost(WfsDispatcher.ja
> va:134)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358
> )
> at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
> onHandler.java:294)
> at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
> 67)
> at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
> Context.java:525)
> at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
> at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
> at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
> 197)
> at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
> at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
>
> 777758 [FEIN] org.vfny.geoserver.ServiceException - return wfs
> exception is
> <?x
> ml version="1.0" ?>
> <ServiceExceptionReport
> version="1.2.0"
> xmlns="http://www.opengis.net/ogc&quot;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
> xsi:schemaLocation="http://www.opengis.net/ogc
> http://localhost:8080/geoserve
> r/data/capabilities//wfs/1.0.0/OGC-exception.xsd">
> <ServiceException>
> org.vfny.geoserver.WfsException: Attempting to use a lockID
> that does
> not
> exist, it has either expired or was entered wrong.
> at
>
org.vfny.geoserver.responses.wfs.TransactionResponse.execute(Transact
> ionResponse.java:271)
> at
>
org.vfny.geoserver.responses.wfs.TransactionResponse.execute(Transact
> ionResponse.java:104)
> at
>
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService
> .java:362)
> at
>
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.ja
> va:300)
> at
>
org.vfny.geoserver.servlets.wfs.WfsDispatcher.doResponse(WfsDispatche
> r.java:245)
> at
>
org.vfny.geoserver.servlets.wfs.WfsDispatcher.doPost(WfsDispatcher.ja
> va:134)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358
> )
> at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
> onHandler.java:294)
> at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
> 67)
> at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
> Context.java:525)
> at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
> at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
> at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
> 197)
> at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
> at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
> </ServiceException>
> </ServiceExceptionReport>
>
> I hope it helps.
>
> best regards
>
> Eugen
>

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/