commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "uday ogra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCS-182) Error while closing data source factory on shutdown
Date Wed, 30 Aug 2017 06:35:00 GMT
uday ogra created JCS-182:
-----------------------------

             Summary: Error while closing data source factory on shutdown
                 Key: JCS-182
                 URL: https://issues.apache.org/jira/browse/JCS-182
             Project: Commons JCS
          Issue Type: Bug
            Reporter: uday ogra
            Priority: Minor


I am using JDBC auxillary cache. Everything works fine but when server is shutdown I get the
following error. Seems JCS code is trying to close a connection which is null

ERROR Could not close data source factory null
java.sql.SQLException: Exception caught closing data source
at org.apache.commons.jcs.auxiliary.disk.jdbc.dsfactory.SharedPoolDataSo
urceFactory.close(SharedPoolDataSourceFactory.java:99)
at org.apache.commons.jcs.auxiliary.disk.jdbc.JDBCDiskCacheFactory.dispo
se(JDBCDiskCacheFactory.java:137)
at org.apache.commons.jcs.engine.control.CompositeCacheManager.shutDown(
CompositeCacheManager.java:695)
at org.apache.commons.jcs.engine.control.CompositeCacheManager$ShutdownH
ook.run(CompositeCacheManager.java:982)
Caused by: java.lang.NullPointerException
at org.apache.commons.jcs.auxiliary.disk.jdbc.dsfactory.SharedPoolDataSo
urceFactory.close(SharedPoolDataSourceFactory.java:95)
... 3 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message