[Geoserver-devel] [jira] (GEOS-5348) Layers page is slow with an inaccessible data store

Evan Martin created ImprovementGEOS-5348
Layers page is slow with an inaccessible data store

Issue Type:

ImprovementImprovement

Affects Versions:

2.2

Assignee:

Andrea Aime

Components:

UI

Created:

14/Oct/12 9:46 PM

Description:

I have two PostGIS data stores configured. One of them is on a remote machine that is currently down. When GeoServer starts it pauses for a while on reading that store and then disables it, as expected. However, even though it’s disabled, every time I click on the Layers or Tile Layers links it takes about 10 seconds to load (presumably is tries to access that data store). Also, the following error is logged:

ERROR [geotools.jdbc] - There’s code using JDBC based datastore and not disposing them. This may lead to temporary loss of database connections. Please make sure all data access code calls DataStore.dispose() before freeing all references to it

Having an inaccessible store should not slow down working with the entire server so much. If I tried to access that store then fair enough, I would expect a delay while it times out, but listing the layers should not be affected.

Environment:

Windows 7 x64, PostGIS data store

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Evan Martin

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)