Re: Apache Felix Karaf (1.2.0) : ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed)

2010-01-15 Thread Charles Moulliard
Doing a apache felix karaf shutdown and restart has resolved the issue. I think that jars files which are put under the folder WEB-INF/lib of my bundle are responsible of this situation. I presume that the jars were locked by another thread bundle and when updating it, this error has been generate

Re: Apache Felix Karaf (1.2.0) : ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed)

2010-01-15 Thread Richard S. Hall
Typically when we see this sort of thing, people have multiple threads running with some trying to read stuff from bundles and others trying to update/uninstall/refresh bundles. We don't lock bundles for reads, so it is possible for it to go away in the middle of another thread's read. We've l

Apache Felix Karaf (1.2.0) : ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed)

2010-01-15 Thread Charles Moulliard
Hi, I get this error : ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed) java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:403) at java.util.zip.ZipFile.getEntry(ZipFile.java:148) at

Reducing the objects created by logging in felix.

2010-01-15 Thread peter lawrey
Hello, On profiling our application we found most objects were being created by the DirectoryWatcher. We reduced the polling interval to 5 seconds but it still creates the more objects than any other component. I noticed that debug logging creates objects even if the logging is not displayed. Is t