Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.11.2
-
None
-
None
Description
I'm running a jackrabbit locally and have my java client connected to it via webdav (http://localhost:8080/server).
When i briefly shutdown jackrabbit and restart it again (to simulate a connection failure) my logs are completely flooded (>10 messages per second). Besides, the session does not reconnect / heal itself automatically.
Stacktrace / debug logging
====================================
Workspace=default: Exception while retrieving event bundles: javax.jcr.lock.LockException: Precondition Failed
WorkspaceManager Dump:
javax.jcr.lock.LockException: Precondition Failed
at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:109)[286:wrap_mvn_org.apache.jackrabbit_jackrabbit-spi2dav_2.11.2:0.0.0]
at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:51)[286:wrap_mvn_org.apache.jackrabbit_jackrabbit-spi2dav_2.11.2:0.0.0]
at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:45)[286:wrap_mvn_org.apache.jackrabbit_jackrabbit-spi2dav_2.11.2:0.0.0]
at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.poll(RepositoryServiceImpl.java:2411)[286:wrap_mvn_org.apache.jackrabbit_jackrabbit-spi2dav_2.11.2:0.0.0]
at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getEvents(RepositoryServiceImpl.java:2179)[286:wrap_mvn_org.apache.jackrabbit_jackrabbit-spi2dav_2.11.2:0.0.0]
at org.apache.jackrabbit.jcr2spi.WorkspaceManager$ChangePolling.run(WorkspaceManager.java:1240)[272:com.mycompany.filemover.jcr:4.0.1.SNAPSHOT]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
Caused by: org.apache.jackrabbit.webdav.DavException: Precondition Failed
at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getResponseException(DavMethodBase.java:165)[287:org.apache.jackrabbit.jackrabbit-webdav:2.11.2]
at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.checkSuccess(DavMethodBase.java:174)[287:org.apache.jackrabbit.jackrabbit-webdav:2.11.2]
at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.poll(RepositoryServiceImpl.java:2379)[286:wrap_mvn_org.apache.jackrabbit_jackrabbit-spi2dav_2.11.2:0.0.0]
... 3 more