You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2017/09/24 19:24:00 UTC

[jira] [Updated] (JCS-182) Error while closing data source factory on shutdown

     [ https://issues.apache.org/jira/browse/JCS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Vandahl updated JCS-182:
-------------------------------
    Fix Version/s: jcs-3.0

> 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
>             Fix For: jcs-3.0
>
>
> 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)