[Geoserver-devel] [jira] Created: (GEOS-2278) datastore disposal with regard to connection pools

datastore disposal with regard to connection pools
--------------------------------------------------

                 Key: GEOS-2278
                 URL: http://jira.codehaus.org/browse/GEOS-2278
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.0-RC3
            Reporter: Justin Deoliveira
            Assignee: Justin Deoliveira
             Fix For: 1.7.1

User reported this issue when saving modification to GeoServer:

ERROR [geotools.rendering] - Pool not open
java.lang.IllegalStateException: Pool not open
  at
org.apache.commons.pool.BaseObjectPool.assertOpen(BaseObjectPool.java:78)
  at
org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjectPool.java:916)
  at
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
  at
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:181)
  at org.geotools.data.jdbc.JDBCUtils.close(JDBCUtils.java:148)
  at org.geotools.data.jdbc.QueryData.close(QueryData.java:200)
  at
org.geotools.data.jdbc.JDBCFeatureReader.close(JDBCFeatureReader.java:66)
  at
org.geotools.data.jdbc.JDBCFeatureReader.close(JDBCFeatureReader.java:62)
  at
org.geotools.data.store.FeatureReaderIterator.close(FeatureReaderIterator.java:94)
  at
org.geotools.data.store.FeatureReaderIterator.hasNext(FeatureReaderIterator.java:57)
  at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1595)
  at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:642)
  at
org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1472)
  at
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1341)
  at
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:265)

Look into datastore disposal. Either stale entries are being maintained in the cache or datastores are being disposed prematurely.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira