[Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle’s SDO_GEOMETRY type - seems to work OK
with both SDE and Geoserver, and you have the advantage of using
SQL for data loading and querying if you want.

cheers,

Chris

---- Original Message ----
From: “Freeman, Aleda (EEA)” Aleda.Freeman@anonymised.com
To: “geoserver-users@anonymised.comsourceforge.netgeoserver-users@lists.sourceforge.net
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE’s ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly for geometry storage. A few keywords (like USERS) use SDELOB (a newer term than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server and load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages such as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-270510096.htm

I looked around in GeoServer and GeoTools documentation but I couldn’t find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near future?

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth’s Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only.  If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

Well… I’ve been reading…

This page: http://argyron.limnology.wisc.edu:8099/arcgismanager/help/index.htm#geodatabases/an_over1698501291.htm

says that the

ArcSDE Spatial Type ST_Geometry

  • Utilizes the ArcSDE extended spatial type for managing vector data

  • Supports the ISO and OGC SQL API for spatial

  • Based on the ISO SQL MM specification for spatial

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth’s Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth


From: geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris Morgan
Sent: Friday, July 02, 2010 5:04 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE’s ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle’s SDO_GEOMETRY type - seems to work OK
with both SDE and Geoserver, and you have the advantage of using
SQL for data loading and querying if you want.

cheers,

Chris

---- Original Message ----
From: “Freeman, Aleda (EEA)” Aleda.Freeman@anonymised.com
To: “geoserver-users@lists.sourceforge.netgeoserver-users@lists.sourceforge.net
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE’s ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly for geometry storage. A few keywords (like USERS) use SDELOB (a newer term than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server and load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages such as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-270510096.htm

I looked around in GeoServer and GeoTools documentation but I couldn’t find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near future?

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth’s Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only.  If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

Hi Aleda,

my understanding is the ST_GEOMETRY should be supported out of the box. It is just one of the underlying geometry storage formats ESRI supports, but it's transparent for the client API.

Cheers,
Gabriel.

On 7/2/10 6:30 PM, Freeman, Aleda (EEA) wrote:

Well... I've been reading...

This page: http://argyron.limnology.wisc.edu:8099/arcgismanager/help/index.htm#geodatabases/an_over1698501291.htm

says that the
         ArcSDE Spatial Type ST_Geometry

  * Utilizes the ArcSDE extended spatial type for managing vector data

  * Supports the ISO and OGC SQL API for spatial

  * Based on the ISO SQL MM specification for spatial

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us/> - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

________________________________
From: geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris Morgan
Sent: Friday, July 02, 2010 5:04 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle's SDO_GEOMETRY type - seems to work OK
with both SDE and Geoserver, and you have the advantage of using
SQL for data loading and querying if you want.

cheers,

Chris
---- Original Message ----
From: "Freeman, Aleda (EEA)"<Aleda.Freeman@anonymised.com>
To: "geoserver-users@lists.sourceforge.net"<geoserver-users@lists.sourceforge.net>
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly for geometry storage. A few keywords (like USERS) use SDELOB (a newer term than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server and load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages such as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-270510096.htm

I looked around in GeoServer and GeoTools documentation but I couldn't find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near future?

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

That's not quite right as I understand it.
If you use SDE as your Geoserver source, then ST_GEOMETRY will be
implicitly supported, along with the other formats that SDE supports.
But (at present), you cannot dispense with the intermediary SDE layer
for access by Geoserver.
Whereas if you use Oracle's SDO_GEOMETRY type, you don't need
SDE at all. Presumably someone could create an ESRI ST_GEOMETRY
data store for Geoserver, but at present, there isn't one.

cheers,

Chris

----- Original Message ----- From: "Gabriel Roldan" <groldan@anonymised.com>
To: "Freeman, Aleda (EEA)" <Aleda.Freeman@anonymised.com>
Cc: "'Chris Morgan'" <chris@anonymised.com>; <geoserver-users@lists.sourceforge.net>
Sent: Monday, July 05, 2010 5:10 PM
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

Hi Aleda,

my understanding is the ST_GEOMETRY should be supported out of the box. It is just one of the underlying geometry storage formats ESRI supports, but it's transparent for the client API.

Cheers,
Gabriel.

On 7/2/10 6:30 PM, Freeman, Aleda (EEA) wrote:

Well... I've been reading...

This page: http://argyron.limnology.wisc.edu:8099/arcgismanager/help/index.htm#geodatabases/an_over1698501291.htm

says that the
         ArcSDE Spatial Type ST_Geometry

  * Utilizes the ArcSDE extended spatial type for managing vector data

  * Supports the ISO and OGC SQL API for spatial

  * Based on the ISO SQL MM specification for spatial

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us/&gt; - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

________________________________
From: geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris Morgan
Sent: Friday, July 02, 2010 5:04 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle's SDO_GEOMETRY type - seems to work OK
with both SDE and Geoserver, and you have the advantage of using
SQL for data loading and querying if you want.

cheers,

Chris
---- Original Message ----
From: "Freeman, Aleda (EEA)"<Aleda.Freeman@anonymised.com>
To: "geoserver-users@lists.sourceforge.net"<geoserver-users@lists.sourceforge.net>
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly for geometry storage. A few keywords (like USERS) use SDELOB (a newer term than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server and load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages such as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-270510096.htm

I looked around in GeoServer and GeoTools documentation but I couldn't find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near future?

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

OK, that's good I think. We're not looking to get rid of SDE, only use a different underlying geometry type next time.
I guess I should probably try to set up a test layer and make sure GeoServer can access it.
I wonder if we can mix geometry types in one SDE instance. I'll check with our SDE administrator.
I'll let you know how it works out.

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris Morgan
Sent: Monday, July 05, 2010 12:22 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

That's not quite right as I understand it.
If you use SDE as your Geoserver source, then ST_GEOMETRY will be implicitly supported, along with the other formats that SDE supports.
But (at present), you cannot dispense with the intermediary SDE layer for access by Geoserver.
Whereas if you use Oracle's SDO_GEOMETRY type, you don't need SDE at all. Presumably someone could create an ESRI ST_GEOMETRY data store for Geoserver, but at present, there isn't one.

cheers,

Chris

----- Original Message -----
From: "Gabriel Roldan" <groldan@anonymised.com>
To: "Freeman, Aleda (EEA)" <Aleda.Freeman@anonymised.com>
Cc: "'Chris Morgan'" <chris@anonymised.com>; <geoserver-users@anonymised.com.net>
Sent: Monday, July 05, 2010 5:10 PM
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

Hi Aleda,

my understanding is the ST_GEOMETRY should be supported out of the
box. It is just one of the underlying geometry storage formats ESRI
supports, but it's transparent for the client API.

Cheers,
Gabriel.

On 7/2/10 6:30 PM, Freeman, Aleda (EEA) wrote:

Well... I've been reading...

This page:
http://argyron.limnology.wisc.edu:8099/arcgismanager/help/index.htm#g
eodatabases/an_over1698501291.htm

says that the
         ArcSDE Spatial Type ST_Geometry

  * Utilizes the ArcSDE extended spatial type for managing vector data

  * Supports the ISO and OGC SQL API for spatial

  * Based on the ISO SQL MM specification for spatial

Aleda Freeman, GISP, Web Mapping Services Manager MassGIS Information
Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us/&gt;
- Webservices Wiki MassGIS is the Commonwealth's Office of Geographic
Information A Technology and Data Resource for GIS Users in the
Commonwealth

________________________________
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of
Chris Morgan
Sent: Friday, July 02, 2010 5:04 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle's SDO_GEOMETRY type - seems to work OK with both SDE
and Geoserver, and you have the advantage of using SQL for data
loading and querying if you want.

cheers,

Chris
---- Original Message ----
From: "Freeman, Aleda (EEA)"<Aleda.Freeman@anonymised.com>
To:
"geoserver-users@lists.sourceforge.net"<geoserver-users@anonymised.com
orge.net>
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on
Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly
for geometry storage. A few keywords (like USERS) use SDELOB (a
newer term than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server
and load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages
such as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/
the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-27
0510096.htm

I looked around in GeoServer and GeoTools documentation but I
couldn't find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near
future?

Aleda Freeman, GISP, Web Mapping Services Manager MassGIS Information
Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki MassGIS is the
Commonwealth's Office of Geographic Information A Technology and Data
Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses by Sophos
AntiVirus.

This email may contain confidential information which is intended for
the named recipient(s) only. If you are not the named recipient you
should not take any action in relation to this email, other than to
notify us that you have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses by Sophos AntiVirus.

This email may contain confidential information which is intended for the named recipient(s) only. If you are not the named recipient you should not take any action in relation to this email, other than to notify us that you have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Yes, you can have different layers using different geometry
types in a single SDE instance.

cheers,

Chris

----- Original Message ----- From: "Freeman, Aleda (EEA)" <Aleda.Freeman@anonymised.com>
To: "'Chris Morgan'" <chris@anonymised.com>
Cc: <geoserver-users@lists.sourceforge.net>
Sent: Tuesday, July 06, 2010 2:14 PM
Subject: RE: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

OK, that's good I think. We're not looking to get rid of SDE, only use a
different underlying geometry type next time.
I guess I should probably try to set up a test layer and make sure GeoServer
can access it.
I wonder if we can mix geometry types in one SDE instance. I'll check with
our SDE administrator.
I'll let you know how it works out.

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris
Morgan
Sent: Monday, July 05, 2010 12:22 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

That's not quite right as I understand it.
If you use SDE as your Geoserver source, then ST_GEOMETRY will be implicitly
supported, along with the other formats that SDE supports.
But (at present), you cannot dispense with the intermediary SDE layer for
access by Geoserver.
Whereas if you use Oracle's SDO_GEOMETRY type, you don't need SDE at all.
Presumably someone could create an ESRI ST_GEOMETRY data store for
Geoserver, but at present, there isn't one.

cheers,

Chris

----- Original Message -----
From: "Gabriel Roldan" <groldan@anonymised.com>
To: "Freeman, Aleda (EEA)" <Aleda.Freeman@anonymised.com>
Cc: "'Chris Morgan'" <chris@anonymised.com>;
<geoserver-users@lists.sourceforge.net>
Sent: Monday, July 05, 2010 5:10 PM
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

Hi Aleda,

my understanding is the ST_GEOMETRY should be supported out of the
box. It is just one of the underlying geometry storage formats ESRI
supports, but it's transparent for the client API.

Cheers,
Gabriel.

On 7/2/10 6:30 PM, Freeman, Aleda (EEA) wrote:

Well... I've been reading...

This page:
http://argyron.limnology.wisc.edu:8099/arcgismanager/help/index.htm#g
eodatabases/an_over1698501291.htm

says that the
         ArcSDE Spatial Type ST_Geometry

  * Utilizes the ArcSDE extended spatial type for managing vector data

  * Supports the ISO and OGC SQL API for spatial

  * Based on the ISO SQL MM specification for spatial

Aleda Freeman, GISP, Web Mapping Services Manager MassGIS Information
Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us/&gt;
- Webservices Wiki MassGIS is the Commonwealth's Office of Geographic
Information A Technology and Data Resource for GIS Users in the
Commonwealth

________________________________
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of
Chris Morgan
Sent: Friday, July 02, 2010 5:04 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle's SDO_GEOMETRY type - seems to work OK with both SDE
and Geoserver, and you have the advantage of using SQL for data
loading and querying if you want.

cheers,

Chris
---- Original Message ----
From: "Freeman, Aleda (EEA)"<Aleda.Freeman@anonymised.com>
To:
"geoserver-users@lists.sourceforge.net"<geoserver-users@anonymised.com
orge.net>
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on
Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly
for geometry storage. A few keywords (like USERS) use SDELOB (a
newer term than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server
and load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages
such as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/
the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-27
0510096.htm

I looked around in GeoServer and GeoTools documentation but I
couldn't find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near
future?

Aleda Freeman, GISP, Web Mapping Services Manager MassGIS Information
Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki MassGIS is the
Commonwealth's Office of Geographic Information A Technology and Data
Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses by Sophos
AntiVirus.

This email may contain confidential information which is intended for
the named recipient(s) only. If you are not the named recipient you
should not take any action in relation to this email, other than to
notify us that you have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses by Sophos AntiVirus.

This email may contain confidential information which is intended for the
named recipient(s) only. If you are not the named recipient you should not
take any action in relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint What will you do first with EVO,
the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

On 7/5/10 12:22 PM, Chris Morgan wrote:

Presumably someone could create an ESRI ST_GEOMETRY
data store for Geoserver, but at present, there isn't one.

Correct. Would be a cool feature to have, to let people drop SDE even if they didn't configure it to use the spatial backend's native stuff. But probably a non-trivial amount of work, as it'd probably involve a bit of reverse engineering.

Chris

cheers,

Chris

----- Original Message -----
From: "Gabriel Roldan"<groldan@anonymised.com>
To: "Freeman, Aleda (EEA)"<Aleda.Freeman@anonymised.com>
Cc: "'Chris Morgan'"<chris@anonymised.com>;
<geoserver-users@lists.sourceforge.net>
Sent: Monday, July 05, 2010 5:10 PM
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

Hi Aleda,

my understanding is the ST_GEOMETRY should be supported out of the box. It
is just one of the underlying geometry storage formats ESRI supports, but
it's transparent for the client API.

Cheers,
Gabriel.

On 7/2/10 6:30 PM, Freeman, Aleda (EEA) wrote:

Well... I've been reading...

This page:
http://argyron.limnology.wisc.edu:8099/arcgismanager/help/index.htm#geodatabases/an_over1698501291.htm

says that the
          ArcSDE Spatial Type ST_Geometry

   * Utilizes the ArcSDE extended spatial type for managing vector data

   * Supports the ISO and OGC SQL API for spatial

   * Based on the ISO SQL MM specification for spatial

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us/&gt; -
Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

________________________________
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris
Morgan
Sent: Friday, July 02, 2010 5:04 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

ST_GEOMETRY is an ESRI format - not sure if it is standards-compliant.
We use Oracle's SDO_GEOMETRY type - seems to work OK
with both SDE and Geoserver, and you have the advantage of using
SQL for data loading and querying if you want.

cheers,

Chris
---- Original Message ----
From: "Freeman, Aleda (EEA)"<Aleda.Freeman@anonymised.com>
To:
"geoserver-users@lists.sourceforge.net"<geoserver-users@lists.sourceforge.net>
Sent: Fri, Jul 2, 2010, 21:37 PM
Subject: [Geoserver-users] Does GeoServer support SDE's ST_GEOMETRY?

We are currently using ESRI SDE with the BLOB geometry. (SDE 9.2 on
Oracle 10.2).
(Actually my data librarian clarifies: BLOB is what is used mostly for
geometry storage. A few keywords (like USERS) use SDELOB (a newer term
than BLOB).)

We are planning to put SDE 10 (and Oracle 11) on a brand new server and
load it up with data.
My boss is now interested in ST_GEOMETRY (I guess it has advantages such
as SQL access).
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/the_st_g432914457.htm
http://webhelp.esri.com/arcgisserver/9.3/java/geodatabases/st_geom-270510096.htm

I looked around in GeoServer and GeoTools documentation but I couldn't
find an answer to the question:
Does GeoServer support ST_GEOMETRY for SDE? Or will it in the near
future?

Aleda Freeman, GISP, Web Mapping Services Manager
MassGIS
Information Technology Division
251 Causeway St. 5th floor
Boston, MA 02114
phone: 617-626-1193
fax: 617-626-1249
http://www.mass.gov/mgis - MassGIS
http://lyceum.massgis.state.ma.us - Webservices Wiki
MassGIS is the Commonwealth's Office of Geographic Information
A Technology and Data Resource for GIS Users in the Commonwealth

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only. If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: lynx@anonymised.com
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I tried the SDE geometry type ST_Geometry and unfortunately it doesn't work 100% (but it's close, it seems to be a limited where clause/filter issue).
Oracle 10.2, SDE 9.2 SP5, GeoServer 2.0.1 with SDE 9.3 jars.
Here's what I'm seeing in the few tests I've done, with more details at the bottom on errors.

Should I create a bug report? I not sure if it's one or two based on slightly different errors I've seen so far.

What works:
1. Basic WMS drawing in OpenLayers
2. WMS with a spatial filter works - Intersects
3. WMS with SLD using Rules and Filters
4. WFS DescribeFeatureType
5. WFS GetFeature URL with PropertyName to return one field
6. WFS GetFeature URL with CQL Filter
7. WFST Insert poly

What has errors:
8. WFS GetFeature shapefile extract causes error in geoserver.log:
        SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED
9. WFS GetFeature with Excel output causes error in geoserver.log:
        SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED
      This error is identical to the one in #8.
        Excel file is produced that contains an attribute field heading rows but no data rows
10. WFS XML GetFeature with Filter error in geoserver.log:
        Starts out with SDE error -42][Error desc=USER SPECIFIED WHERE CLAUSE IS INVALID
        and then goes into the same error as #8.

More details on #8:

request:
http://maps.massgis.state.ma.us/geoserver/wfs?request=GetFeature&service=wfs&version=1.0.0&typename=massgis:AFREEMAN.COUNTIES_POLY_ST_G&outputformat=SHAPE-ZIP

geoserver.log:

2010-07-15 10:37:31,347 INFO [geoserver.wfs] -
Request: getFeature
        handle = null
        service = wfs
        version = 1.0.0
        baseUrl = http://maps.massgis.state.ma.us:80/geoserver/
        providedVersion = null
        query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: nu
ll, sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{http://massgis.state.ma.us/featuretype\}
AFREEMAN.COUNTIES_POLY_ST_G])]
        maxFeatures = null
        outputFormat = SHAPE-ZIP
        resultType = results
        traverseXlinkDepth = null
        traverseXlinkExpiry = null
        formatOptions = {}
2010-07-15 10:37:31,437 WARN [data.ArcSDEQuery] - Error fetching row for AFREEMAN.COUNTIES_POLY_ST_G[
Filter: Filter.INCLUDE
where clause sent: null
geometry filter:Filter.INCLUDE
org.geotools.arcsde.ArcSdeException: [SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED.][Extended desc=
]
        at org.geotools.arcsde.session.Session.issue(Session.java:268)
        at org.geotools.arcsde.session.Session.fetch(Session.java:704)
        at org.geotools.arcsde.session.Session.fetch(Session.java:700)
        at org.geotools.arcsde.data.ArcSDEQuery.fetch(ArcSDEQuery.java:828)
        at org.geotools.arcsde.data.ArcSDEAttributeReader.hasNext(ArcSDEAttributeReader.java:182)
        at org.geotools.data.DefaultFeatureReader.hasNext(DefaultFeatureReader.java:108)
        at org.geotools.data.MaxFeatureReader.hasNext(MaxFeatureReader.java:84)
        at org.geotools.data.store.FeatureReaderIterator.hasNext(FeatureReaderIterator.java:51)
        at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.hasNext(RetypingFeatureCollection.java:116)
        at org.geoserver.wfs.response.RemappingFeatureCollection$RemappingIterator.hasNext(RemappingFeatureCollection.ja
va:129)
        at org.geoserver.wfs.response.RemappingFeatureCollection$RemappingIterator.hasNext(RemappingFeatureCollection.ja
va:129)
        at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.hasNext(RetypingFeatureCollection.java:116)
        at org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.java:260)
        at org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:244)
        at org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:160)
        at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:726)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java
:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.ja
va:249)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException:
        at com.esri.sde.sdk.client.k.v(Unknown Source)
        at com.esri.sde.sdk.client.k.d(Unknown Source)
        at com.esri.sde.sdk.client.SeQuery.fetch(Unknown Source)
        at org.geotools.arcsde.session.Session$4.execute(Session.java:708)
        at org.geotools.arcsde.session.Session$4.execute(Session.java:706)
        at org.geotools.arcsde.session.Session.issue(Session.java:265)
        ... 68 more

More details on #10:

request:

<wfs:GetFeature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs http://giswebservices.massgis.state.ma.us/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; service="WFS" version="1.0.0">
        <wfs:Query typeName="massgis:AFREEMAN.COUNTIES_POLY_ST_G" xmlns:massgis="http://massgis.state.ma.us/featuretype&quot;&gt;
                <ogc:Filter>
                        <ogc:PropertyIsEqualTo>
                                <ogc:PropertyName>COUNTY</ogc:PropertyName>
                                <ogc:Literal>ESSEX</ogc:Literal>
                        </ogc:PropertyIsEqualTo>
                </ogc:Filter>
        </wfs:Query>
</wfs:GetFeature>

geoserver.log:

2010-07-15 10:57:56,007 INFO [geoserver.wfs] -
Request: getFeature
        handle = null
        service = WFS
        version = 1.0.0
        baseUrl = http://maps.massgis.state.ma.us:80/geoserver/
        providedVersion = null
        query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: [
COUNTY = ESSEX ], sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{http://massgis.state.ma.
us/featuretype}AFREEMAN.COUNTIES_POLY_ST_G])]
        maxFeatures = null
        outputFormat = GML2
        resultType = results
        traverseXlinkDepth = null
        traverseXlinkExpiry = null
        formatOptions = {}
2010-07-15 10:57:56,017 ERROR [data.ArcSDEQuery] - ***********************
tables: [AFREEMAN.COUNTIES_POLY_ST_G]
filter: Filter.INCLUDE
SQL: AFREEMAN.COUNTIES_POLY_ST_G.COUNTY = 'ESSEX'
org.geotools.arcsde.ArcSdeException: [SDE error -42][Error desc=USER SPECIFIED WHERE CLAUSE IS INVALID.][Extended desc=
]
        at org.geotools.arcsde.session.Session.issue(Session.java:268)
        at org.geotools.arcsde.data.ArcSDEQuery.calculateQueryExtent(ArcSDEQuery.java:668)
        at org.geotools.arcsde.data.ArcSDEQuery.calculateQueryExtent(ArcSDEQuery.java:597)
        at org.geotools.arcsde.data.ArcSdeFeatureSource.getBounds(ArcSdeFeatureSource.java:187)
        at org.geotools.arcsde.data.ArcSdeFeatureSource.getBounds(ArcSdeFeatureSource.java:165)
        at org.geotools.arcsde.data.ArcSdeFeatureCollection.getBounds(ArcSdeFeatureCollection.java:85)
        at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.encode(FeatureTransformer.java:490)
        at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:714)
        at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
        at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:296)
        at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:129)
        at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:108)
        at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:265)
        at org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:284)
        at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:726)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java
:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.ja
va:249)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException:
        at com.esri.sde.sdk.client.k.a(Unknown Source)
        at com.esri.sde.sdk.client.k.a(Unknown Source)
        at com.esri.sde.sdk.client.SeQuery.calculateLayerExtent(Unknown Source)
        at org.geotools.arcsde.data.ArcSDEQuery$3.execute(ArcSDEQuery.java:707)
        at org.geotools.arcsde.data.ArcSDEQuery$3.execute(ArcSDEQuery.java:668)
        at org.geotools.arcsde.session.Session.issue(Session.java:265)
        ... 67 more
2010-07-15 10:57:56,017 WARN [data.ArcSDEQuery] - Error fetching row for AFREEMAN.COUNTIES_POLY_ST_G[
Filter: [ COUNTY = ESSEX ]
where clause sent: AFREEMAN.COUNTIES_POLY_ST_G.COUNTY = 'ESSEX'
geometry filter:Filter.INCLUDE
org.geotools.arcsde.ArcSdeException: [SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED.][Extended desc=
]
        at org.geotools.arcsde.session.Session.issue(Session.java:268)
        at org.geotools.arcsde.session.Session.fetch(Session.java:704)
        at org.geotools.arcsde.session.Session.fetch(Session.java:700)

Ok... sigh, I had problems with calculating the query bounds on Oracle before.

A single jira issue would be ok, with these same logs attached.

Gabriel

On 7/15/10 12:09 PM, Freeman, Aleda (EEA) wrote:

I tried the SDE geometry type ST_Geometry and unfortunately it doesn't work 100% (but it's close, it seems to be a limited where clause/filter issue).
Oracle 10.2, SDE 9.2 SP5, GeoServer 2.0.1 with SDE 9.3 jars.
Here's what I'm seeing in the few tests I've done, with more details at the bottom on errors.

Should I create a bug report? I not sure if it's one or two based on slightly different errors I've seen so far.

What works:
1. Basic WMS drawing in OpenLayers
2. WMS with a spatial filter works - Intersects
3. WMS with SLD using Rules and Filters
4. WFS DescribeFeatureType
5. WFS GetFeature URL with PropertyName to return one field
6. WFS GetFeature URL with CQL Filter
7. WFST Insert poly

What has errors:
8. WFS GetFeature shapefile extract causes error in geoserver.log:
         SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED
9. WFS GetFeature with Excel output causes error in geoserver.log:
         SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED
       This error is identical to the one in #8.
         Excel file is produced that contains an attribute field heading rows but no data rows
10. WFS XML GetFeature with Filter error in geoserver.log:
         Starts out with SDE error -42][Error desc=USER SPECIFIED WHERE CLAUSE IS INVALID
         and then goes into the same error as #8.

More details on #8:

request:
http://maps.massgis.state.ma.us/geoserver/wfs?request=GetFeature&service=wfs&version=1.0.0&typename=massgis:AFREEMAN.COUNTIES_POLY_ST_G&outputformat=SHAPE-ZIP

geoserver.log:

2010-07-15 10:37:31,347 INFO [geoserver.wfs] -
Request: getFeature
         handle = null
         service = wfs
         version = 1.0.0
         baseUrl = http://maps.massgis.state.ma.us:80/geoserver/
         providedVersion = null
         query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: nu
ll, sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{http://massgis.state.ma.us/featuretype\}
AFREEMAN.COUNTIES_POLY_ST_G])]
         maxFeatures = null
         outputFormat = SHAPE-ZIP
         resultType = results
         traverseXlinkDepth = null
         traverseXlinkExpiry = null
         formatOptions = {}
2010-07-15 10:37:31,437 WARN [data.ArcSDEQuery] - Error fetching row for AFREEMAN.COUNTIES_POLY_ST_G[
Filter: Filter.INCLUDE
  where clause sent: null
geometry filter:Filter.INCLUDE
org.geotools.arcsde.ArcSdeException: [SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED.][Extended desc=
]
         at org.geotools.arcsde.session.Session.issue(Session.java:268)
         at org.geotools.arcsde.session.Session.fetch(Session.java:704)
         at org.geotools.arcsde.session.Session.fetch(Session.java:700)
         at org.geotools.arcsde.data.ArcSDEQuery.fetch(ArcSDEQuery.java:828)
         at org.geotools.arcsde.data.ArcSDEAttributeReader.hasNext(ArcSDEAttributeReader.java:182)
         at org.geotools.data.DefaultFeatureReader.hasNext(DefaultFeatureReader.java:108)
         at org.geotools.data.MaxFeatureReader.hasNext(MaxFeatureReader.java:84)
         at org.geotools.data.store.FeatureReaderIterator.hasNext(FeatureReaderIterator.java:51)
         at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.hasNext(RetypingFeatureCollection.java:116)
         at org.geoserver.wfs.response.RemappingFeatureCollection$RemappingIterator.hasNext(RemappingFeatureCollection.ja
va:129)
         at org.geoserver.wfs.response.RemappingFeatureCollection$RemappingIterator.hasNext(RemappingFeatureCollection.ja
va:129)
         at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.hasNext(RetypingFeatureCollection.java:116)
         at org.geotools.data.AbstractFeatureStore.addFeatures(AbstractFeatureStore.java:260)
         at org.geoserver.wfs.response.ShapeZipOutputFormat.writeCollectionToShapefile(ShapeZipOutputFormat.java:244)
         at org.geoserver.wfs.response.ShapeZipOutputFormat.write(ShapeZipOutputFormat.java:160)
         at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
         at org.geoserver.ows.Dispatcher.response(Dispatcher.java:726)
         at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java
:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.ja
va:249)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
         at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException:
         at com.esri.sde.sdk.client.k.v(Unknown Source)
         at com.esri.sde.sdk.client.k.d(Unknown Source)
         at com.esri.sde.sdk.client.SeQuery.fetch(Unknown Source)
         at org.geotools.arcsde.session.Session$4.execute(Session.java:708)
         at org.geotools.arcsde.session.Session$4.execute(Session.java:706)
         at org.geotools.arcsde.session.Session.issue(Session.java:265)
         ... 68 more

More details on #10:

request:

<wfs:GetFeature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs http://giswebservices.massgis.state.ma.us/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; service="WFS" version="1.0.0">
         <wfs:Query typeName="massgis:AFREEMAN.COUNTIES_POLY_ST_G" xmlns:massgis="http://massgis.state.ma.us/featuretype&quot;&gt;
                 <ogc:Filter>
                         <ogc:PropertyIsEqualTo>
                                 <ogc:PropertyName>COUNTY</ogc:PropertyName>
                                 <ogc:Literal>ESSEX</ogc:Literal>
                         </ogc:PropertyIsEqualTo>
                 </ogc:Filter>
         </wfs:Query>
</wfs:GetFeature>

geoserver.log:

2010-07-15 10:57:56,007 INFO [geoserver.wfs] -
Request: getFeature
         handle = null
         service = WFS
         version = 1.0.0
         baseUrl = http://maps.massgis.state.ma.us:80/geoserver/
         providedVersion = null
         query = [net.opengis.wfs.impl.QueryTypeImpl@anonymised.com (group: null, propertyName: null, function: null, filter: [
  COUNTY = ESSEX ], sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{http://massgis.state.ma.
us/featuretype}AFREEMAN.COUNTIES_POLY_ST_G])]
         maxFeatures = null
         outputFormat = GML2
         resultType = results
         traverseXlinkDepth = null
         traverseXlinkExpiry = null
         formatOptions = {}
2010-07-15 10:57:56,017 ERROR [data.ArcSDEQuery] - ***********************
tables: [AFREEMAN.COUNTIES_POLY_ST_G]
filter: Filter.INCLUDE
SQL: AFREEMAN.COUNTIES_POLY_ST_G.COUNTY = 'ESSEX'
org.geotools.arcsde.ArcSdeException: [SDE error -42][Error desc=USER SPECIFIED WHERE CLAUSE IS INVALID.][Extended desc=
]
         at org.geotools.arcsde.session.Session.issue(Session.java:268)
         at org.geotools.arcsde.data.ArcSDEQuery.calculateQueryExtent(ArcSDEQuery.java:668)
         at org.geotools.arcsde.data.ArcSDEQuery.calculateQueryExtent(ArcSDEQuery.java:597)
         at org.geotools.arcsde.data.ArcSdeFeatureSource.getBounds(ArcSdeFeatureSource.java:187)
         at org.geotools.arcsde.data.ArcSdeFeatureSource.getBounds(ArcSdeFeatureSource.java:165)
         at org.geotools.arcsde.data.ArcSdeFeatureCollection.getBounds(ArcSdeFeatureCollection.java:85)
         at org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.encode(FeatureTransformer.java:490)
         at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:714)
         at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
         at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:296)
         at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:129)
         at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:108)
         at org.geoserver.wfs.xml.GML2OutputFormat.encode(GML2OutputFormat.java:265)
         at org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:284)
         at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:137)
         at org.geoserver.ows.Dispatcher.response(Dispatcher.java:726)
         at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java
:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.ja
va:249)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
         at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:619)
Caused by: com.esri.sde.sdk.client.SeException:
         at com.esri.sde.sdk.client.k.a(Unknown Source)
         at com.esri.sde.sdk.client.SeQuery.calculateLayerExtent(Unknown Source)
         at org.geotools.arcsde.data.ArcSDEQuery$3.execute(ArcSDEQuery.java:707)
         at org.geotools.arcsde.data.ArcSDEQuery$3.execute(ArcSDEQuery.java:668)
         at org.geotools.arcsde.session.Session.issue(Session.java:265)
         ... 67 more
2010-07-15 10:57:56,017 WARN [data.ArcSDEQuery] - Error fetching row for AFREEMAN.COUNTIES_POLY_ST_G[
Filter: [ COUNTY = ESSEX ]
  where clause sent: AFREEMAN.COUNTIES_POLY_ST_G.COUNTY = 'ESSEX'
geometry filter:Filter.INCLUDE
org.geotools.arcsde.ArcSdeException: [SDE error -51][Error desc=DATABASE LEVEL ERROR OCCURRED.][Extended desc=
]
         at org.geotools.arcsde.session.Session.issue(Session.java:268)
         at org.geotools.arcsde.session.Session.fetch(Session.java:704)
         at org.geotools.arcsde.session.Session.fetch(Session.java:700)

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.