Hey all. I'm going crazy over this problem: 

http://jira.codehaus.org/browse/GEOT-2314 jira 

(I'm using Geoserver 1.7.3)

I create a new ArcSde DataStore, then i try creating a new FeatureType. But
when i press the Generate button i get this error described in jira ([SDE
error -51][Error desc=DATABASE LEVEL ERROR OCCURRED.]...)

After some debugging this is what i found out:

in function: public Envelope calculateQueryExtent() in ArcSdeQuery class

there's a line: extent = extentQuery.calculateLayerExtent(sdeQueryInfo); and
this is where the exception jumps out. 

I also checked what happens on the database when this function gets called.
A normal SQL gets created and sent:


SELECT 1 geom,
       layer_tmp.objectid,
       layer_tmp.geom.points,
       layer_tmp.geom.numpts,
       layer_tmp.geom.entity,
       layer_tmp.geom.minx,
       layer_tmp.geom.miny,
       layer_tmp.geom.maxx,
       layer_tmp.geom.maxy,
       layer_tmp.ROWID
FROM schema.layer_tmp layer_tmp
WHERE st_envintersects (layer_tmp.geom, :1, :2, :3, :4) = 1


If i execute this in toad all works fine. 

Is anyone working on this bug? 
Or has anyone found a solution for this bug?
-- 
View this message in context: 
http://n2.nabble.com/ArcSde-problem-tp2497443p2497443.html
Sent from the geotools-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to