Return-Path: X-Original-To: apmail-karaf-user-archive@minotaur.apache.org Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB798101E8 for ; Fri, 3 Jan 2014 02:22:14 +0000 (UTC) Received: (qmail 95274 invoked by uid 500); 3 Jan 2014 02:22:14 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 95245 invoked by uid 500); 3 Jan 2014 02:22:14 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 95237 invoked by uid 99); 3 Jan 2014 02:22:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 02:22:14 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of bob.ngu@intel.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 02:22:08 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VyuOR-00009y-Id for user@karaf.apache.org; Thu, 02 Jan 2014 18:21:47 -0800 Date: Thu, 2 Jan 2014 18:21:47 -0800 (PST) From: whataboutbob To: user@karaf.apache.org Message-ID: <1388715707538-4030880.post@n3.nabble.com> Subject: Karaf 3.0.0: Problem writing resource org/h2/Driver.class MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.