commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vandahl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCS-182) Error while closing data source factory on shutdown
Date Sun, 24 Sep 2017 19:24:00 GMT

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

Mime
View raw message