You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Martin Lichtin <li...@yahoo.com> on 2016/03/23 21:46:57 UTC

Karaf hidden java.util.zip.ZipException once a second

When profiling against a Karaf (using flight recorder), I see the following Exception exactly once a second:

java.lang.Throwable.<init>(String) line: 267
    java.lang.Exception.<init>(String) line: 52
       java.io.IOException.<init>(String) line: 58
          java.util.zip.ZipException.<init>(String) line: 58
             java.util.zip.ZipFile.open(String, int, long, boolean) line: -1
                java.util.zip.ZipFile.<init>(File, int, Charset) line: 219
                   java.util.zip.ZipFile.<init>(File, int) line: 149
                      java.util.jar.JarFile.<init>(File, boolean, int) line: 166
                         java.util.jar.JarFile.<init>(File) line: 130
org.apache.felix.fileinstall.internal.BundleTransformer.canHandle(File) line: 50
org.apache.felix.fileinstall.internal.DirectoryWatcher.findListener(File, List) line: 519
org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(Set) line: 453
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Set) line: 358
org.apache.felix.fileinstall.internal.DirectoryWatcher.run() line: 310

What could cause this, the README file in the deploy folder?



Re: Karaf hidden java.util.zip.ZipException once a second

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Martin,

I suspect it's the README file in the deploy folder.

Regards
JB

On 03/23/2016 09:46 PM, Martin Lichtin wrote:
> When profiling against a Karaf (using flight recorder), I see the
> following Exception exactly once a second:
>
> java.lang.Throwable.<init>(String) line: 267
>     java.lang.Exception.<init>(String) line: 52
>        java.io.IOException.<init>(String) line: 58
>           java.util.zip.ZipException.<init>(String) line: 58
>              java.util.zip.ZipFile.open(String, int, long, boolean)
> line: -1
>                 java.util.zip.ZipFile.<init>(File, int, Charset) line: 219
>                    java.util.zip.ZipFile.<init>(File, int) line: 149
>                       java.util.jar.JarFile.<init>(File, boolean, int)
> line: 166
>                          java.util.jar.JarFile.<init>(File) line: 130
> org.apache.felix.fileinstall.internal.BundleTransformer.canHandle(File)
> line: 50
> org.apache.felix.fileinstall.internal.DirectoryWatcher.findListener(File, List)
> line: 519
> org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(Set)
> line: 453
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Set)
> line: 358
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run() line: 310
>
> What could cause this, the README file in the deploy folder?
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com