2011/11/16 Gregorio Muñoz <[email protected]>
>
> Hello,
> We have problems adding new layers in geoserver. When we use “Compute from 
> native bounds” we get the following error:
> java.lang.RuntimeException: java.io.IOException: Error occurred calculating 
> bounds …. (Attached screenshot)
> And in the file “geoserver.log”:
> 2011-11-16 14:14:21,548 WARN [geotools.jdbc] - Failed to use 
> SDO_TUNE.EXTENT_OF, falling back on envelope aggregation
> java.sql.SQLException: No hay más datos para leer del socket

Which translates as "No more data to read from socket".
I guess you don't have reliable connections towards the Oracle
database, or that the db drops them down because they stayed
up for too long.
Try enabling the "connection validation" flag in the data store
configuration, GeoServer will make a quick query to check if the
connection is still usable before actually try to use it to read data,
and throw it out of the pool and build a new one if it's not.

Cheers
Andrea


--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to