You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by whataboutbob <bo...@intel.com> on 2014/01/03 03:21:47 UTC
Karaf 3.0.0: Problem writing resource org/h2/Driver.class
I just downloaded Karaf 3.0.0 and trying to get it working with my bundles. I
am using blueprint to load my H2 database, before loading the database, I
need to install enterprise and H2 bundles:
install -s mvn:org.osgi/org.osgi.enterprise/4.2.0
install -s mvn:com.h2database/h2/1.3.174
Next I drop the blueprint xml file into deploy and it loads just fine. Next
comes my bundle which uses H2 driver but it throws this error when the
activator starts when it tried to access JNDI datasource value
java.lang.Exception: Problem writing resource org/h2/Driver.class
at
aQute.bnd.osgi.Jar.writeResource(Jar.java:534)[26:biz.aQute.bndlib:2.1.0.20130426-122213]
at
aQute.bnd.osgi.Jar.write(Jar.java:306)[26:biz.aQute.bndlib:2.1.0.20130426-122213]
at
org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:194)[20:org.ops4j.pax.swissbox.bnd:1.7.0]
Caused by: java.io.IOException: Pipe closed
at
java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)[:1.7.0_25]
at java.io.PipedInputStream.receive(PipedInputStream.java:227)[:1.7.0_25]
at java.io.PipedOutputStream.write(PipedOutputStream.java:149)[:1.7.0_25]
at
java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)[:1.7.0_25]
at
java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)[:1.7.0_25]
at
aQute.bnd.osgi.Jar.writeResource(Jar.java:531)[26:biz.aQute.bndlib:2.1.0.20130426-122213]
... 2 more
Any insights will be much appreciated.
Thanks,
Bob
--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-0-Problem-writing-resource-org-h2-Driver-class-tp4030880.html
Sent from the Karaf - User mailing list archive at Nabble.com.