Geometryless not disposing
--------------------------

                 Key: GEOT-1857
                 URL: http://jira.codehaus.org/browse/GEOT-1857
             Project: GeoTools
          Issue Type: Bug
          Components: data geometryless
    Affects Versions: 2.4.5
            Reporter: Ben Caradoc-Davies


Possibly two problems: unclosed QueryData, and undisposed JDBC data store:

Ben Caradoc-Davies wrote:
> Stefan Hansen wrote:
>> 2008-06-18 12:23:33,290 ERROR [data.jdbc] - There's code leaving readers, 
>> writers or iterators unclosed (you got an unclosed QueryData object, which 
>> is usually held by a reader or a writer).
>> Call reader/writer.close() or FeatureCollection.close(iterator) after using 
>> them to ensure they do not hold state such as JDCB connections.
>> QueryData was open against feature type: wq_siteloc
>
> I do not see this. A peek in the AWDIP config suggests that this is a 
> "locationsxy" (i.e. geometryless) data store. I suspect that this is a 
> problem in geometryless (which I do not use).

Running the geometryless online unit tests does suggest something is not  
disposing:

18/06/2008 14:25:44 org.geotools.data.jdbc.JDBC2DataStore finalize
SEVERE: 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
18/06/2008 14:25:44 org.geotools.data.jdbc.JDBC2DataStore finalize
SEVERE: 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
18/06/2008 14:25:44 org.geotools.data.jdbc.JDBC2DataStore finalize
SEVERE: 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


-- 
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

        

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to