rajesh
2018-09-25 11:51:17 UTC
Hi,
I am using Jackrabbit oak 1.8.7 version. It is working fine with the
SegmentNodeStore, MongoDocumentNodeStore but when I tried with
RDBDocumentNodeStore, it is failing with the java.sql.SqlException
Datasource is closed.
I am using the following code to create the document nodestore backed by
S3DataStore and EmbeddedH2Server as datasource.
*documentNodeStore =
RDBDocumentNodeStoreBuilder.newRDBDocumentNodeStoreBuilder()
.setBlobStore(new DataStoreBlobStore(dataStore))
.setRDBConnection(dataSource)
.build();*
I am using this in springboot application. Jar is up correctly. When I tried
to put content,
* binary = (ReferenceBinary)
session.getValueFactory().createBinary(content.getContentStream())*
I am getting the following exceptions.
/*2018-09-25 17:13:04.798 ERROR 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.r.RDBDocumentStore : SQL exception on query
java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1676)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:292)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:281)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.all(ClusterNodeInfoDocument.java:123)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.updateClusterState(DocumentNodeStore.java:2145)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundClusterUpdate.execute(DocumentNodeStore.java:3181)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
2018-09-25 17:13:04.798 WARN 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.DocumentNodeStore : Background operation failed:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1731)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:292)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:281)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.all(ClusterNodeInfoDocument.java:123)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.updateClusterState(DocumentNodeStore.java:2145)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundClusterUpdate.execute(DocumentNodeStore.java:3181)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1676)
~[oak-store-document-1.8.7.jar:1.8.7]
... 7 more
2018-09-25 17:13:04.802 WARN 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.ClusterNodeInfo : Reading ClusterNodeInfoDocument
for id 1 failed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1426)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:270)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.renewLease(ClusterNodeInfo.java:932)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.renewClusterIdLease(DocumentNodeStore.java:2133)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundLeaseUpdate.execute(DocumentNodeStore.java:3167)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 8 more
2018-09-25 17:13:04.842 WARN 11532 --- [refimpl, , , ] [read thread (1)]
o.a.j.o.p.d.DocumentNodeStore : Background read operation failed:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1469)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDocumentStoreWrapper.find(LeaseCheckDocumentStoreWrapper.java:73)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ExternalChange.process(ExternalChange.java:100)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.backgroundRead(DocumentNodeStore.java:2244)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.internalRunBackgroundReadOperations(DocumentNodeStore.java:2069)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.runBackgroundReadOperations(DocumentNodeStore.java:2053)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundReadOperation.execute(DocumentNodeStore.java:3104)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 10 more
2018-09-25 17:13:04.842 WARN 11532 --- [refimpl, , , ] [read thread (1)]
o.a.j.o.p.d.DocumentNodeStore : Background operation failed:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1469)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDocumentStoreWrapper.find(LeaseCheckDocumentStoreWrapper.java:73)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ExternalChange.process(ExternalChange.java:100)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.backgroundRead(DocumentNodeStore.java:2244)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.internalRunBackgroundReadOperations(DocumentNodeStore.java:2069)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.runBackgroundReadOperations(DocumentNodeStore.java:2053)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundReadOperation.execute(DocumentNodeStore.java:3104)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 10 more
2018-09-25 17:13:05.772 WARN 11532 --- [refimpl, fcfc710bf36e8eb0,
fcfc710bf36e8eb0 , ] [nio-8080-exec-1]
.m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by
Handler execution:
com.skava.core.contentrepository.ContentRepositoryException: The specified
key does not exist.
2018-09-25 17:13:05.785 DEBUG 11532 --- [refimpl, fcfc710bf36e8eb0,
fcfc710bf36e8eb0 , ] [nio-8080-exec-1]
o.s.b.w.s.f.OrderedRequestContextFilter : Cleared thread-bound request
context: ***@2d86de87
2018-09-25 17:13:05.801 ERROR 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.r.RDBDocumentStore : SQL exception on query
java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1676)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:292)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:281)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.all(ClusterNodeInfoDocument.java:123)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.updateClusterState(DocumentNodeStore.java:2145)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundClusterUpdate.execute(DocumentNodeStore.java:3181)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
2018-09-25 17:13:05.805 WARN 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.ClusterNodeInfo : Reading ClusterNodeInfoDocument
for id 1 failed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1426)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:270)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.renewLease(ClusterNodeInfo.java:932)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.renewClusterIdLease(DocumentNodeStore.java:2133)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundLeaseUpdate.execute(DocumentNodeStore.java:3167)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 8 more
*/
--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html
I am using Jackrabbit oak 1.8.7 version. It is working fine with the
SegmentNodeStore, MongoDocumentNodeStore but when I tried with
RDBDocumentNodeStore, it is failing with the java.sql.SqlException
Datasource is closed.
I am using the following code to create the document nodestore backed by
S3DataStore and EmbeddedH2Server as datasource.
*documentNodeStore =
RDBDocumentNodeStoreBuilder.newRDBDocumentNodeStoreBuilder()
.setBlobStore(new DataStoreBlobStore(dataStore))
.setRDBConnection(dataSource)
.build();*
I am using this in springboot application. Jar is up correctly. When I tried
to put content,
* binary = (ReferenceBinary)
session.getValueFactory().createBinary(content.getContentStream())*
I am getting the following exceptions.
/*2018-09-25 17:13:04.798 ERROR 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.r.RDBDocumentStore : SQL exception on query
java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1676)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:292)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:281)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.all(ClusterNodeInfoDocument.java:123)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.updateClusterState(DocumentNodeStore.java:2145)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundClusterUpdate.execute(DocumentNodeStore.java:3181)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
2018-09-25 17:13:04.798 WARN 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.DocumentNodeStore : Background operation failed:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1731)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:292)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:281)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.all(ClusterNodeInfoDocument.java:123)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.updateClusterState(DocumentNodeStore.java:2145)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundClusterUpdate.execute(DocumentNodeStore.java:3181)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1676)
~[oak-store-document-1.8.7.jar:1.8.7]
... 7 more
2018-09-25 17:13:04.802 WARN 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.ClusterNodeInfo : Reading ClusterNodeInfoDocument
for id 1 failed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1426)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:270)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.renewLease(ClusterNodeInfo.java:932)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.renewClusterIdLease(DocumentNodeStore.java:2133)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundLeaseUpdate.execute(DocumentNodeStore.java:3167)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 8 more
2018-09-25 17:13:04.842 WARN 11532 --- [refimpl, , , ] [read thread (1)]
o.a.j.o.p.d.DocumentNodeStore : Background read operation failed:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1469)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDocumentStoreWrapper.find(LeaseCheckDocumentStoreWrapper.java:73)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ExternalChange.process(ExternalChange.java:100)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.backgroundRead(DocumentNodeStore.java:2244)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.internalRunBackgroundReadOperations(DocumentNodeStore.java:2069)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.runBackgroundReadOperations(DocumentNodeStore.java:2053)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundReadOperation.execute(DocumentNodeStore.java:3104)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 10 more
2018-09-25 17:13:04.842 WARN 11532 --- [refimpl, , , ] [read thread (1)]
o.a.j.o.p.d.DocumentNodeStore : Background operation failed:
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1469)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDocumentStoreWrapper.find(LeaseCheckDocumentStoreWrapper.java:73)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ExternalChange.process(ExternalChange.java:100)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.backgroundRead(DocumentNodeStore.java:2244)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.internalRunBackgroundReadOperations(DocumentNodeStore.java:2069)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.runBackgroundReadOperations(DocumentNodeStore.java:2053)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundReadOperation.execute(DocumentNodeStore.java:3104)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 10 more
2018-09-25 17:13:05.772 WARN 11532 --- [refimpl, fcfc710bf36e8eb0,
fcfc710bf36e8eb0 , ] [nio-8080-exec-1]
.m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by
Handler execution:
com.skava.core.contentrepository.ContentRepositoryException: The specified
key does not exist.
2018-09-25 17:13:05.785 DEBUG 11532 --- [refimpl, fcfc710bf36e8eb0,
fcfc710bf36e8eb0 , ] [nio-8080-exec-1]
o.s.b.w.s.f.OrderedRequestContextFilter : Cleared thread-bound request
context: ***@2d86de87
2018-09-25 17:13:05.801 ERROR 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.r.RDBDocumentStore : SQL exception on query
java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalQuery(RDBDocumentStore.java:1676)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:292)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.query(RDBDocumentStore.java:281)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfoDocument.all(ClusterNodeInfoDocument.java:123)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.updateClusterState(DocumentNodeStore.java:2145)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundClusterUpdate.execute(DocumentNodeStore.java:3181)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
2018-09-25 17:13:05.805 WARN 11532 --- [refimpl, , , ] [date thread (1)]
o.a.j.o.p.d.ClusterNodeInfo : Reading ClusterNodeInfoDocument
for id 1 failed
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
java.sql.SQLException: Data source is closed
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1872)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1426)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:275)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.find(RDBDocumentStore.java:270)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.renewLease(ClusterNodeInfo.java:932)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.renewClusterIdLease(DocumentNodeStore.java:2133)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundLeaseUpdate.execute(DocumentNodeStore.java:3167)
[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3057)
[oak-store-document-1.8.7.jar:1.8.7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.sql.SQLException: Data source is closed
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
~[commons-dbcp2-2.2.0.jar:2.2.0]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getConnection(RDBConnectionHandler.java:147)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBConnectionHandler.getROConnection(RDBConnectionHandler.java:60)
~[oak-store-document-1.8.7.jar:1.8.7]
at
org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1856)
~[oak-store-document-1.8.7.jar:1.8.7]
... 8 more
*/
--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html