GitHub user aledsage opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/381
BROOKLYN-72: Fix deletion of OSGi cache dir
- Previously stopping Brooklyn almost always resulted in an
`IllegalArgumentException` at `log.info`, caused by a concurrent modification
when trying to delete the dir.
- Now will catch that to log.debug, and will also retry for one second.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
fix/exception-logged-on-stop-for-osgi-dir-deletion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/381.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #381
----
commit 4c1727d59f8d6aec3ed8300c3f4701697b33fa52
Author: Aled Sage <[email protected]>
Date: 2014-12-09T16:12:20Z
BROOKLYN-72: Fix deletion of OSGi cache dir
- Previously stopping Brooklyn almost always resulted in an
IllegalArgumentException at log.info, caused by a concurrent
modification when trying to delete the dir.
- Now will catch that to log.debug, and will also retry for one second.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---