Ok Freeman, thanks.
2010/10/23 Freeman Fang <[email protected]>: > Hi, > This is a known issue tracked by PAXSB-33[1], and yeah, it's totally > harmless. > This noisy output is already fixed by pax-swissbox-bnd 1.3, and hopefully > next karaf release we can pick up that version. > [1]http://issues.ops4j.org/browse/PAXSB-33 > Freeman > On 2010-10-24, at 上午8:54, Jorge Riquelme wrote: > > 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 > > > -- > Freeman Fang > ------------------------ > blog: http://freemanfang.blogspot.com > twitter: http://twitter.com/freemanfang > Open Source SOA: http://fusesource.com > Apache Servicemix:http://servicemix.apache.org > Apache Cxf: http://cxf.apache.org > Apache Karaf: http://karaf.apache.org > Apache Felix: http://felix.apache.org > -- Jorge Riquelme Santana
