Henrik Hald Nørgaard created JCR-5062:
-----------------------------------------
Summary: Attempt to return connection twice
Key: JCR-5062
URL: https://issues.apache.org/jira/browse/JCR-5062
Project: Jackrabbit Content Repository
Issue Type: Bug
Affects Versions: 2.20.16
Reporter: Henrik Hald Nørgaard
Attachments: stacktrace.txt
We are using a JackRabbit content repository and are going to update some nodes
with a new mixin. While iterating through the nodes that should be updated, the
following warning sometimes appears in the log:
{{WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(ServerService Thread Pool -- 88) IJ000609: Attempt to return connection twice:
org.jboss.jca.core.connectionmanager.listener.NoTxConnectionListener@f6ff104[state=NORMAL
managed
connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f3ceaf7
connection handles=0 lastReturned=1715156332529 lastValidated=1715156332529
lastCheckedOut=1715156332528 trackByTx=false
pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@16cc91e8
mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@53f6d09[pool=DezideAuthorJackrabbit]]:
java.lang.Throwable: STACKTRACE}}
I have attached a stacktrace.
It seems that the database connection handled by the BundleDbPersistenceManager
can in some situations be closed twice?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)