[
https://issues.apache.org/jira/browse/JCR-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019503#comment-17019503
]
Julian Reschke commented on JCR-4521:
-------------------------------------
I tried to replace the dependency: [^JCR-4521.diff] - but I'm getting test
failures in -core:
{noformat}
[INFO] Running org.apache.jackrabbit.core.query.lucene.TestAll
Exception in thread "Thread-203" java.lang.RuntimeException:
javax.jcr.NoSuchWorkspaceException: indexing-test
at
org.apache.jackrabbit.core.query.lucene.IndexingQueueTest$1.run(IndexingQueueTest.java:108)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.jcr.NoSuchWorkspaceException: indexing-test
at
org.apache.jackrabbit.core.RepositoryImpl.getWorkspaceInfo(RepositoryImpl.java:714)
at
org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1483)
at
org.apache.jackrabbit.test.RepositoryHelper.getSuperuserSession(RepositoryHelper.java:95)
at
org.apache.jackrabbit.core.query.lucene.IndexingQueueTest$1.run(IndexingQueueTest.java:106)
... 1 more
[ERROR] Tests run: 42, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.83 s
<<< FAILURE! - in org.apache.jackrabbit.core.query.lucene.TestAll
[ERROR]
testReaderUpToDate(org.apache.jackrabbit.core.query.lucene.IndexingQueueTest)
Time elapsed: 0.093 s <<< ERROR!
javax.jcr.NoSuchWorkspaceException: indexing-test
at
org.apache.jackrabbit.core.query.lucene.IndexingQueueTest.testReaderUpToDate(IndexingQueueTest.java:158)
[ERROR]
testInitialIndex(org.apache.jackrabbit.core.query.lucene.IndexingQueueTest)
Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException
at
org.apache.jackrabbit.core.query.lucene.IndexingQueueTest.testInitialIndex(IndexingQueueTest.java:125)
{noformat}
> When will Jackrabbit support dbcp 2.0
> --------------------------------------
>
> Key: JCR-4521
> URL: https://issues.apache.org/jira/browse/JCR-4521
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core
> Affects Versions: 2.20
> Reporter: john tal
> Priority: Major
> Attachments: JCR-4521.diff
>
>
> Jackrabbit 2.20.20 (core) appears to still use commons-dbcp 1.3
> If true, based on https://issues.apache.org/jira/browse/DBCP-156 support for
> setting maximum connection lifetimes was added to dbcp with v 2.x (back in
> 2013).
> We are running Jackrabbit in an enterprise solution and all of our other
> content/application solutions use connection pools which support setting many
> connection/pool attributes such maximum connection lifetimes. But, AFAIK,
> not Jackrabbit.
> When tuning large applications for all aspects of the environment fine
> grained control over treatment of database connection pool maintenance is
> standard and required. But not provided in Jackrabbit (AFAIK).
> Sending the current many defaults of the datasource in Jackrabbit
> ConnectionFactory, is making a lot of assumptions and provides little ability
> for tuning based on specific environment needs.
> When will Jackrabbit upgrade from this old commons-dbcp version to something
> modern and provide for the ability to set custom configurations for: ?
> * Maximum connection lifetime
> * Override the current defaults in ConnectionFactory (example
> ds.setTestOnBorrow(false))
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)