Hi list, i'm new with karaf. I'm migrating a J2EE app to OSGI. So far
I only experienced little problems. One of the remainder "issues" are
some exceptions that appear when I deploy my feature:

ka...@root> features:install contentcompass
Exception in thread "Thread-20" java.lang.RuntimeException: Bundle
cannot be generated
        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
Caused by: java.io.IOException: Pipe closed
        at 
java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)
        at java.io.PipedInputStream.receive(PipedInputStream.java:227)
        at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
        at 
java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:178)
        at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:213)
        at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
        at aQute.lib.osgi.Jar.write(Jar.java:211)
        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)
Exception in thread "Thread-21" java.lang.RuntimeException: Bundle
cannot be generated
        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
Caused by: java.io.IOException: Pipe closed
        at 
java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)
        at java.io.PipedInputStream.receive(PipedInputStream.java:227)
        at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
        at 
java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:178)
        at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:213)
        at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
        at aQute.lib.osgi.Jar.write(Jar.java:211)
        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)
Exception in thread "Thread-22" java.lang.RuntimeException: Bundle
cannot be generated
        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:171)
Caused by: java.io.IOException: Pipe closed
        at 
java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)
        at java.io.PipedInputStream.receive(PipedInputStream.java:202)
        at java.io.PipedOutputStream.write(PipedOutputStream.java:122)
        at java.util.zip.ZipOutputStream.writeInt(ZipOutputStream.java:462)
        at java.util.zip.ZipOutputStream.writeEXT(ZipOutputStream.java:379)
        at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:237)
        at aQute.lib.osgi.Jar.writeResource(Jar.java:301)
        at aQute.lib.osgi.Jar.write(Jar.java:211)
        at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:167)


This is, apparently, harmless because everything works correctly, but
it's ugly (and I don't want any argument against this technology :P).
Some suggestion?

 Thanks in advance.

-- 
Jorge Riquelme Santana

Reply via email to