[Geoserver-users] Receive java.lang.StackOverflowError with Insert transaction

Hi list,

I am currently using Geoserver version 1.3.0 with ArcSDE 9.0. I have no problems with the WFS GetFeature requests using this combination of Geoserver/ArcSDE. But, when I try WFS-T Insert I receive a java.lang.StackOverflowError. I have tried adding increasing the stack size to 1024k with “-Xss1024k” when Geoserver is started.

Below is the WFS-T Insert Transaction:

<wfs:Transaction service=“WFS” version=“1.0.0”
xmlns:wfs=“http://www.opengis.net/wfs
xmlns:c2wfs=“http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B
xmlns:gml=“http://www.opengis.net/gml
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd http://arcsde.c2f.northgrum.com:8090/geoserver/wfs/DescribeFeatureType?typename=SDE.DAVE_TEST”>

wfs:Insert
c2wfs:SDE.DAVE_TEST
</c2wfs:SDE.DAVE_TEST>
</wfs:Insert>
</wfs:Transaction>

This is a very simple insert. I have tried inserts with more elements but still get the same result.
Attached is the geoserver.log file with a log level of ALL. I am beginning to think that I need a higher version of Geoserver and maybe a higher version of ArcSDE.

Thanks for any help,

Dave
<<geoserver.log>>

geoserver.log (41.8 KB)

Plewes, David J. ha scritto:

Hi list,

I am currently using Geoserver version 1.3.0 with ArcSDE 9.0. I have no problems with the WFS GetFeature requests using this combination of Geoserver/ArcSDE. But, when I try WFS-T Insert I receive a java.lang.StackOverflowError. I have tried adding increasing the stack size to 1024k with "-Xss1024k" when Geoserver is started.

Below is the WFS-T Insert Transaction:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd_ _http://arcsde.c2f.northgrum.com:8090/geoserver/wfs/DescribeFeatureType?typename=SDE.DAVE_TEST_&quot;&gt;

<wfs:Insert>
<c2wfs:SDE.DAVE_TEST>
</c2wfs:SDE.DAVE_TEST>
</wfs:Insert>
</wfs:Transaction>

This is a very simple insert. I have tried inserts with more elements but still get the same result.
Attached is the geoserver.log file with a log level of ALL. I am beginning to think that I need a higher version of Geoserver and maybe a higher version of ArcSDE.

For sure Geoserver 1.3.0 is too old. Geoserver 1.5.0 is the latest version, and has quite some ArcSDE changes in it.
I'd suggest to try it out and let us know.

Cheers
Andrea

Andrea,

Thanks for your help. I installed GeoServer 1.5.0 along with the latest
ArcSDE plugin.
I configured the DataStore and NameSpace and I can successfully query
data using WFS.
Also, I can get the following Delete Transaction to work where the
Filter selected the
Feature with an "ID":

<?xml version="1.0" encoding="UTF-8"?>
<wfs:Transaction service="WFS" version="1.0.0" outputFormat="GML2"
    xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&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:Delete typeName="c2wfs:SDE.DAVE_NODELETE">
        <ogc:Filter>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>ID</ogc:PropertyName>
                <ogc:Literal>5CBE92E0-42E7-9999-1133-DAVE</ogc:Literal>
            </ogc:PropertyIsEqualTo>
        </ogc:Filter>
    </wfs:Delete>
</wfs:Transaction>

Here is a Insert that I am trying:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=SDE.DAV
E_NODELETE">
<wfs:Insert>
<c2wfs:SDE.DAVE_NODELETE>
</c2wfs:SDE.DAVE_NODELETE>
</wfs:Insert>
</wfs:Transaction>

But, Insert and Update do not work. I receive an
ArrayIndexOutOfBoundsException followed by a number.
The number is the number of columns in the ArcSDE layer (table). I
tried different tables and determined that the returned number is the
number of columns. The DescribeFeattureType works properly so I am not
sure where the problem is. Am I missing a configuration of the schema?

Thanks,

Dave

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Monday, May 07, 2007 3:41 AM
To: Plewes, David J.
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Receive java.lang.StackOverflowError with
Insert transaction

Plewes, David J. ha scritto:

Hi list,

I am currently using Geoserver version 1.3.0 with ArcSDE 9.0. I have
no problems with the WFS GetFeature requests using this combination of

Geoserver/ArcSDE. But, when I try WFS-T Insert I receive a
java.lang.StackOverflowError. I have tried adding increasing the
stack size to 1024k with "-Xss1024k" when Geoserver is started.

Below is the WFS-T Insert Transaction:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd_
_http://arcsde.c2f.northgrum.com:8090/geoserver/wfs/DescribeFeatureTyp
e?typename=SDE.DAVE_TEST_">

<wfs:Insert>
<c2wfs:SDE.DAVE_TEST>
</c2wfs:SDE.DAVE_TEST>
</wfs:Insert>
</wfs:Transaction>

This is a very simple insert. I have tried inserts with more elements

but still get the same result.
Attached is the geoserver.log file with a log level of ALL. I am
beginning to think that I need a higher version of Geoserver and maybe

a higher version of ArcSDE.

For sure Geoserver 1.3.0 is too old. Geoserver 1.5.0 is the latest
version, and has quite some ArcSDE changes in it.
I'd suggest to try it out and let us know.

Cheers
Andrea

Dave,

Do you have a stack trace from the geoserver output console? It would help much in trying to figure out exactly what's going wrong.

I'm not 100% sure, but from the request that you're sending, it looks like you're not actually inserting any values into the table. Just that you're trying to insert a feature with no attributes set at all. I can imagine that this might not work correctly...can you try inserting a feature with values? The feature values will need to be set correctly for the feature type, etc.

--saul

________________________________

From: geoserver-users-bounces@lists.sourceforge.net on behalf of Plewes, David J.
Sent: Mon 5/7/2007 2:55 PM
To: Andrea Aime
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Receive java.lang.StackOverflowError withInsert transaction

Andrea,

Thanks for your help. I installed GeoServer 1.5.0 along with the latest
ArcSDE plugin.
I configured the DataStore and NameSpace and I can successfully query
data using WFS.
Also, I can get the following Delete Transaction to work where the
Filter selected the
Feature with an "ID":

<?xml version="1.0" encoding="UTF-8"?>
<wfs:Transaction service="WFS" version="1.0.0" outputFormat="GML2"
    xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&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:Delete typeName="c2wfs:SDE.DAVE_NODELETE">
        <ogc:Filter>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>ID</ogc:PropertyName>
                <ogc:Literal>5CBE92E0-42E7-9999-1133-DAVE</ogc:Literal>
            </ogc:PropertyIsEqualTo>
        </ogc:Filter>
    </wfs:Delete>
</wfs:Transaction>

Here is a Insert that I am trying:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=SDE.DAV
E_NODELETE">
<wfs:Insert>
<c2wfs:SDE.DAVE_NODELETE>
</c2wfs:SDE.DAVE_NODELETE>
</wfs:Insert>
</wfs:Transaction>

But, Insert and Update do not work. I receive an
ArrayIndexOutOfBoundsException followed by a number.
The number is the number of columns in the ArcSDE layer (table). I
tried different tables and determined that the returned number is the
number of columns. The DescribeFeattureType works properly so I am not
sure where the problem is. Am I missing a configuration of the schema?

Thanks,

Dave

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Monday, May 07, 2007 3:41 AM
To: Plewes, David J.
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Receive java.lang.StackOverflowError with
Insert transaction

Plewes, David J. ha scritto:

Hi list,

I am currently using Geoserver version 1.3.0 with ArcSDE 9.0. I have
no problems with the WFS GetFeature requests using this combination of

Geoserver/ArcSDE. But, when I try WFS-T Insert I receive a
java.lang.StackOverflowError. I have tried adding increasing the
stack size to 1024k with "-Xss1024k" when Geoserver is started.

Below is the WFS-T Insert Transaction:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd_
_http://arcsde.c2f.northgrum.com:8090/geoserver/wfs/DescribeFeatureTyp
e?typename=SDE.DAVE_TEST_">

<wfs:Insert>
<c2wfs:SDE.DAVE_TEST>
</c2wfs:SDE.DAVE_TEST>
</wfs:Insert>
</wfs:Transaction>

This is a very simple insert. I have tried inserts with more elements

but still get the same result.
Attached is the geoserver.log file with a log level of ALL. I am
beginning to think that I need a higher version of Geoserver and maybe

a higher version of ArcSDE.

For sure Geoserver 1.3.0 is too old. Geoserver 1.5.0 is the latest
version, and has quite some ArcSDE changes in it.
I'd suggest to try it out and let us know.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Saul,

I have a ArcSDE layer called SDE.DAVE_TEST with the following schema:

ID: string
DETAILS: string
SHAPE: pointProperty
SHAPE.FID int

I can insert data into the layer using the ArcSDE MOJE APIs. I would
like to insert data using WFS-T. I can successfully execute WFS-T
deletes on date that exists in the ArcSDE Layer but I am unable to
execute WFS-T inserts and updates. Below is the Insert Transaction that
is causing the ArrayIndexOutOfBoundException:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=SDE.DAV
E_TEST">
<wfs:Insert>
<c2wfs:SDE.DAVE_TEST>
<c2wfs:ID>5CBE92E0-42E7-9999-1133-123456789WFS</c2wfs:ID>
<c2wfs:SHAPE>
<gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#0&quot;&gt;
  <gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="."
cs="," ts="">-53.25887996,-26.23749992</gml:coordinates>
  </gml:Point>
  </c2wfs:SHAPE>
</c2wfs:SDE.DAVE_TEST>
</wfs:Insert>
</wfs:Transaction>

Here is the stacktrace from the insert transaction:

May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINE: Locating FeatureSource
uri:'http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B
name:'SDE.DAVE_TEST'
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINE: located FeatureType w/ typeRef 'ArcSDEDataStore:SDE.DAVE_TEST' and
elementName 'c2wfs:SDE.DAVE_TEST'
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINER: Transasction Insert:Handle: null SDE.DAVE_TEST 1
ReleaseAll: false
TypeName: c2wfs:SDE.DAVE_TEST
Feature[ id=fid-767534a_11267322963__7feb ,
ID=5CBE92E0-42E7-9999-1133-123456789WFS , DETAILS=null , SHAPE=POINT
(-53.25887996 -26.23749992) , SHAPE.FID=null ]

May 7, 2007 4:58:41 PM org.vfny.geoserver.global.Data getFeatureTypeInfo
FINE: getting type c2wfs:SDE.DAVE_TEST
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINER: Use featureValidation to check contents of insert
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse featureValidation
FINER: FeatureValidation called on ArcSDEDataStore:SDE.DAVE_TEST
May 7, 2007 4:58:41 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter
createAttributeTypes
WARNING: No Row-ID Column registered on table 'SDE.DAVE_TEST', using
SE_SAHPE_ATTRIBUTE_FID value 'SHAPE.FID'
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter parseCRS
INFO: About to parse CRS for layer DAVE_TEST:
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",63w.opengis
.net/wfs Insert wfs:Insert
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.TransactionFeatureHandler
handleCharacters
FINE: we are inside attribute: false, curAttType is DefaultAttributeType
[name=SHAPE , type=class com.vividsolutions.jts.geom.Point ,
nillable=false, min=1, max=1] curFeatureT: DefaultFeatureType
[name=SDE.DAVE_TEST ,
namespace=http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B ,
abstract=false ,
types=(org.geotools.data.arcsde.ArcSDEAttributeType@anonymised.com,org.geotools
.data.arcsde.ArcSDEAttributeType@anonymised.com,DefaultAttributeType
[name=SHAPE , type=class com.vividsolutions.jts.geom.Point ,
nillable=false, min=1,
max=1],org.geotools.data.arcsde.ArcSDEAttributeType@anonymised.com,)] attName
May 7, 2007 4:58:41 PM org.geotools.filter.FilterFilter endElement
FINER: found end element: Insert
May 7, 2007 4:58:41 PM org.geotools.filter.FilterFilter
processCharacters
FINER: delegating characters to parent:

May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.TransactionHandler endElement
FINER: at end element: Insert
May 7, 2007 4:58:41 PM org.vfny.geoserver.wfs.requests.InsertRequest
addFeature
INFO: got type
SDE.DAVE_TEST,http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.TransactionFeatureHandler endElement
FINEST: end - inside feature
May 7, 2007 4:58:41 PM GMLFilterDocument endElement
FINER: RETURN
May 7, 2007 4:58:41 PM GMLFilterDocument characters
FINER: ENTRY [C@anonymised.com 759 1
May 7, 2007 4:58:41 PM GMLFilterDocument characters
FINER: RETURN
May 7, 2007 4:58:41 PM GMLFilterDocument endElement
FINER: ENTRY http://www.opengis.net/wfs Transaction wfs:Transaction
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.TransactionFeatureHandler
handleCharacters
FINE: we are inside attribute: false, curAttType is DefaultAttributeType
[name=SHAPE , type=class com.vividsolutions.jts.geom.Point ,
nillable=false, min=1, max=1] curFeatureT: DefaultFeatureType
[name=SDE.DAVE_TEST ,
namespace=http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B ,
abstract=false ,
types=(org.geotools.data.arcsde.ArcSDEAttributeType@anonymised.com,org.geotools
.data.arcsde.ArcSDEAttributeType@anonymised.com,DefaultAttributeType
[name=SHAPE , type=class com.vividsolutions.jts.geom.Point ,
nillable=false, min=1,
max=1],org.geotools.data.arcsde.ArcSDEAttributeType@anonymised.com,)] attName
May 7, 2007 4:58:41 PM org.geotools.filter.FilterFilter endElement
FINER: found end element: Transaction
May 7, 2007 4:58:41 PM org.geotools.filter.FilterFilter
processCharacters
FINER: delegating characters to parent:

May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.TransactionHandler endElement
FINER: at end element: Transaction
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.TransactionFeatureHandler endElement
FINEST: end - inside feature
May 7, 2007 4:58:41 PM GMLFilterDocument endElement
FINER: RETURN
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.requests.readers.TransactionXmlReader read
FINER: just parsed: org.xml.sax.InputSource@anonymised.com
May 7, 2007 4:58:41 PM org.vfny.geoserver.servlets.AbstractService
doService
INFO: handling request: Lock Id: null
releaseAction: ALL
handle: null
Handle: null SDE.DAVE_TEST 1
ReleaseAll: false
TypeName: SDE.DAVE_TEST
Feature[ id=fid-767534a_11267322963__7feb ,
ID=5CBE92E0-42E7-9999-1133-123456789WFS , DETAILS=null , SHAPE=POINT
(-53.25887996 -26.23749992) , SHAPE.FID=null ]

May 7, 2007 4:58:41 PM org.vfny.geoserver.servlets.AbstractService
doService
FINE: strategy is: FILE
May 7, 2007 4:58:41 PM org.vfny.geoserver.servlets.AbstractService
doService
FINER: executing request
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINE: request is Lock Id: null
releaseAction: ALL
handle: null
Handle: null SDE.DAVE_TEST 1
ReleaseAll: false
TypeName: SDE.DAVE_TEST
Feature[ id=fid-767534a_11267322963__7feb ,
ID=5CBE92E0-42E7-9999-1133-123456789WFS , DETAILS=null , SHAPE=POINT
(-53.25887996 -26.23749992) , SHAPE.FID=null ]

May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINE: Locating FeatureSource
uri:'http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B
name:'SDE.DAVE_TEST'
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINE: located FeatureType w/ typeRef 'ArcSDEDataStore:SDE.DAVE_TEST' and
elementName 'c2wfs:SDE.DAVE_TEST'
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINER: Transasction Insert:Handle: null SDE.DAVE_TEST 1
ReleaseAll: false
TypeName: c2wfs:SDE.DAVE_TEST
Feature[ id=fid-767534a_11267322963__7feb ,
ID=5CBE92E0-42E7-9999-1133-123456789WFS , DETAILS=null , SHAPE=POINT
(-53.25887996 -26.23749992) , SHAPE.FID=null ]

May 7, 2007 4:58:41 PM org.vfny.geoserver.global.Data getFeatureTypeInfo
FINE: getting type c2wfs:SDE.DAVE_TEST
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse execute
FINER: Use featureValidation to check contents of insert
May 7, 2007 4:58:41 PM
org.vfny.geoserver.wfs.responses.TransactionResponse featureValidation
FINER: FeatureValidation called on ArcSDEDataStore:SDE.DAVE_TEST
May 7, 2007 4:58:41 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM
org.geotools.data.arcsde.ArcSDEConnectionPool$SeConnectionFactory
activateObject
FINEST: activating connection
org.geotools.data.arcsde.PooledConnection@anonymised.com
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter
createAttributeTypes
WARNING: No Row-ID Column registered on table 'SDE.DAVE_TEST', using
SE_SAHPE_ATTRIBUTE_FID value 'SHAPE.FID'
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter parseCRS
INFO: About to parse CRS for layer DAVE_TEST:
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,2
98.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]
]
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter parseCRS
INFO: Se CRS envelope:
(-180.000000167638,-90.0000001676381,179.9999998323621,269.999999832362)
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter parseCRS
FINE: ArcSDE CRS correctly parsed from layer DAVE_TEST
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter
createAttributeTypes
FINE: Using arcsde 9 methods
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEFeatureWriter
write
WARNING: 3
java.lang.ArrayIndexOutOfBoundsException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.getColumns(ArcSDEFeatureWri
ter.java:382)
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:265)
  at
org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.
java:226)
  at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFea
tureStore.java:78)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:425)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:115)
  at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:516)
  at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:
447)
  at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
  at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
  at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
2)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.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:445)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1050)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:103)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1041)
  at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:149)
  at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:123)
  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:2
70)
  at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:475)
May 7, 2007 4:58:42 PM org.vfny.geoserver.ServiceException <init>
FINE: org.geotools.data.DataSourceException: 3
May 7, 2007 4:58:42 PM org.vfny.geoserver.servlets.AbstractService
doService
WARNING: service exception while executing request: Lock Id: null
releaseAction: ALL
handle: null
Handle: null SDE.DAVE_TEST 1
ReleaseAll: false
TypeName: c2wfs:SDE.DAVE_TEST
Feature[ id=fid-767534a_11267322963__7feb ,
ID=5CBE92E0-42E7-9999-1133-123456789WFS , DETAILS=null , SHAPE=POINT
(-53.25887996 -26.23749992) , SHAPE.FID=null ]

cause: org.geotools.data.DataSourceException: 3
May 7, 2007 4:58:42 PM org.vfny.geoserver.servlets.AbstractService
sendError
SEVERE: Service exception occurred
org.vfny.geoserver.wfs.responses.WfsTransactionException:
org.geotools.data.DataSourceException: 3
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:432)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:115)
  at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:516)
  at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:
447)
  at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
  at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
  at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
2)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.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:445)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1050)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:103)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1041)
  at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:149)
  at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:123)
  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:2
70)
  at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:475)
Caused by: org.geotools.data.DataSourceException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:314)
  at
org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.
java:226)
  at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFea
tureStore.java:78)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:425)
  ... 32 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.getColumns(ArcSDEFeatureWri
ter.java:382)
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:265)
  ... 35 more
May 7, 2007 4:58:42 PM org.vfny.geoserver.ServiceException
getXmlResponse
WARNING: encountered error: org.geotools.data.DataSourceException: 3
StackTrace: org.geotools.data.DataSourceException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:314)
  at
org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.
java:226)
  at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFea
tureStore.java:78)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:425)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:115)
  at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:516)
  at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:
447)
  at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
  at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
  at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
2)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.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:445)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH78
137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925
199433]]
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter parseCRS
INFO: Se CRS envelope:
(-180.000000167638,-90.0000001676381,179.9999998323621,269.999999832362)
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter parseCRS
FINE: ArcSDE CRS correctly parsed from layer DAVE_TEST
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEAdapter
createAttributeTypes
FINE: Using arcsde 9 methods
May 7, 2007 4:58:42 PM org.geotools.data.arcsde.ArcSDEFeatureWriter
write
WARNING: 3
java.lang.ArrayIndexOutOfBoundsException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.getColumns(ArcSDEFeatureWri
ter.java:382)
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:265)
  at
org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.
java:226)
  at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFea
tureStore.java:78)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:425)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:115)
  at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:516)
  at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:
447)
  at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
  at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
  at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
2)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.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:445)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1050)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:103)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1041)
  at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:149)
  at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:123)
  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:2
70)
  at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:475)
May 7, 2007 4:58:42 PM org.vfny.geoserver.ServiceException <init>
FINE: org.geotools.data.DataSourceException: 3
May 7, 2007 4:58:42 PM org.vfny.geoserver.servlets.AbstractService
doService
WARNING: service exception while executing request: Lock Id: null
releaseAction: ALL
handle: null
Handle: null SDE.DAVE_TEST 1
ReleaseAll: false
TypeName: c2wfs:SDE.DAVE_TEST
Feature[ id=fid-767534a_11267322963__7feb ,
ID=5CBE92E0-42E7-9999-1133-123456789WFS , DETAILS=null , SHAPE=POINT
(-53.25887996 -26.23749992) , SHAPE.FID=null ]

cause: org.geotools.data.DataSourceException: 3
May 7, 2007 4:58:42 PM org.vfny.geoserver.servlets.AbstractService
sendError
SEVERE: Service exception occurred
org.vfny.geoserver.wfs.responses.WfsTransactionException:
org.geotools.data.DataSourceException: 3
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:432)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:115)
  at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:516)
  at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:
447)
  at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
  at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
  at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
2)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.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:445)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1050)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:103)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1041)
  at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:149)
  at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:123)
  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:2
70)
  at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:475)
Caused by: org.geotools.data.DataSourceException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:314)
  at
org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.
java:226)
  at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFea
tureStore.java:78)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:425)
  ... 32 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.getColumns(ArcSDEFeatureWri
ter.java:382)
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:265)
  ... 35 more
May 7, 2007 4:58:42 PM org.vfny.geoserver.ServiceException
getXmlResponse
WARNING: encountered error: org.geotools.data.DataSourceException: 3
StackTrace: org.geotools.data.DataSourceException: 3
  at org.geotools.data.arcsde.ArcSDEFeatureWriandler.java:1050)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:103)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1041)
  at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:149)
  at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:123)
  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:2
70)
  at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:475)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.getColumns(ArcSDEFeatureWri
ter.java:382)
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:265)
  ... 35 more

May 7, 2007 4:58:42 PM org.vfny.geoserver.ServiceException
getXmlResponse
FINE: return wfs exception is <?xml 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/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd&quot;&gt;
   <ServiceException>
      org.geotools.data.DataSourceException: 3 </ServiceException>
</ServiceExceptionReport>
ter.write(ArcSDEFeatureWriter.java:314)
  at
org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.
java:226)
  at
org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFea
tureStore.java:78)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:425)
  at
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(Transaction
Response.java:115)
  at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:516)
  at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:
447)
  at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
  at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
  at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
2)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.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:445)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1050)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:103)
  at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1041)
  at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:149)
  at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:123)
  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:2
70)
  at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:475)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.getColumns(ArcSDEFeatureWri
ter.java:382)
  at
org.geotools.data.arcsde.ArcSDEFeatureWriter.write(ArcSDEFeatureWriter.j
ava:265)
  ... 35 more

May 7, 2007 4:58:42 PM org.vfny.geoserver.ServiceException
getXmlResponse
FINE: return wfs exception is <?xml 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/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd&quot;&gt;
   <ServiceException>
      org.geotools.data.DataSourceException: 3 </ServiceException>
</ServiceExceptionReport>

Thanks so much for taking a look at this.

Dave

-----Original Message-----
From: Farber, Saul (ENV) [mailto:Saul.Farber@anonymised.com]
Sent: Monday, May 07, 2007 3:08 PM
To: Plewes, David J.; Andrea Aime
Cc: geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] Receive java.lang.StackOverflowError
withInsert transaction

Dave,

Do you have a stack trace from the geoserver output console? It would
help much in trying to figure out exactly what's going wrong.

I'm not 100% sure, but from the request that you're sending, it looks
like you're not actually inserting any values into the table. Just that
you're trying to insert a feature with no attributes set at all. I can
imagine that this might not work correctly...can you try inserting a
feature with values? The feature values will need to be set correctly
for the feature type, etc.

--saul

________________________________

From: geoserver-users-bounces@lists.sourceforge.net on behalf of Plewes,
David J.
Sent: Mon 5/7/2007 2:55 PM
To: Andrea Aime
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Receive java.lang.StackOverflowError
withInsert transaction

Andrea,

Thanks for your help. I installed GeoServer 1.5.0 along with the latest
ArcSDE plugin.
I configured the DataStore and NameSpace and I can successfully query
data using WFS.
Also, I can get the following Delete Transaction to work where the
Filter selected the Feature with an "ID":

<?xml version="1.0" encoding="UTF-8"?>
<wfs:Transaction service="WFS" version="1.0.0" outputFormat="GML2"
    xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&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:Delete typeName="c2wfs:SDE.DAVE_NODELETE">
        <ogc:Filter>
            <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>ID</ogc:PropertyName>
                <ogc:Literal>5CBE92E0-42E7-9999-1133-DAVE</ogc:Literal>
            </ogc:PropertyIsEqualTo>
        </ogc:Filter>
    </wfs:Delete>
</wfs:Transaction>

Here is a Insert that I am trying:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=SDE.DAV
E_NODELETE">
<wfs:Insert>
<c2wfs:SDE.DAVE_NODELETE>
</c2wfs:SDE.DAVE_NODELETE>
</wfs:Insert>
</wfs:Transaction>

But, Insert and Update do not work. I receive an
ArrayIndexOutOfBoundsException followed by a number.
The number is the number of columns in the ArcSDE layer (table). I
tried different tables and determined that the returned number is the
number of columns. The DescribeFeattureType works properly so I am not
sure where the problem is. Am I missing a configuration of the schema?

Thanks,

Dave

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Monday, May 07, 2007 3:41 AM
To: Plewes, David J.
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Receive java.lang.StackOverflowError with
Insert transaction

Plewes, David J. ha scritto:

Hi list,

I am currently using Geoserver version 1.3.0 with ArcSDE 9.0. I have
no problems with the WFS GetFeature requests using this combination of

Geoserver/ArcSDE. But, when I try WFS-T Insert I receive a
java.lang.StackOverflowError. I have tried adding increasing the
stack size to 1024k with "-Xss1024k" when Geoserver is started.

Below is the WFS-T Insert Transaction:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:c2wfs="http://schemas.c2.ngc.com/wfs/2006/01/MIL-STD-2525B&quot;
  xmlns:gml="http://www.opengis.net/gml&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-transaction.xsd_
_http://arcsde.c2f.northgrum.com:8090/geoserver/wfs/DescribeFeatureTyp
e?typename=SDE.DAVE_TEST_">

<wfs:Insert>
<c2wfs:SDE.DAVE_TEST>
</c2wfs:SDE.DAVE_TEST>
</wfs:Insert>
</wfs:Transaction>

This is a very simple insert. I have tried inserts with more elements

but still get the same result.
Attached is the geoserver.log file with a log level of ALL. I am
beginning to think that I need a higher version of Geoserver and maybe

a higher version of ArcSDE.

For sure Geoserver 1.3.0 is too old. Geoserver 1.5.0 is the latest
version, and has quite some ArcSDE changes in it.
I'd suggest to try it out and let us know.

Cheers
Andrea

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C -
the FREE version of DB2 express and take control of your XML. No limits.
Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users