Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 36129 invoked from network); 5 May 2010 20:31:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 20:31:52 -0000 Received: (qmail 24423 invoked by uid 500); 5 May 2010 20:31:52 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 24398 invoked by uid 500); 5 May 2010 20:31:52 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 24390 invoked by uid 99); 5 May 2010 20:31:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 20:31:52 +0000 X-ASF-Spam-Status: No, hits=-1.1 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [152.54.5.52] (HELO mail.ad.renci.org) (152.54.5.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 20:31:44 +0000 Received: from [152.54.8.202] (152.54.8.202) by mail.ad.renci.org (152.54.5.53) with Microsoft SMTP Server (TLS) id 8.2.234.1; Wed, 5 May 2010 16:31:21 -0400 Message-ID: <4BE1D595.9040501@renci.org> Date: Wed, 5 May 2010 16:31:17 -0400 From: Jason Reilly User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: "users@openjpa.apache.org" Subject: openjpa/karaf Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi all, I am trying to get a project that uses OpenJPA deployed as a Service in the Apache Karaf OSGi container. I am getting an exception when I do an osgi:install of my project. The exception message is: javax.persistence.PersistenceException: No persistence providers for "rsp" after trying the following discovered implementations: NONE This is what my META-INF/persistence.xml looks like: org.apache.openjpa.persistence.PersistenceProviderImpl ....snip classes.... Here is a list of relevant installed bundles: [ 95] [Active ] [ ] [ 60] Commons Lang (2.4) [ 102] [Active ] [ ] [ 60] Commons Collections (3.2.1) [ 103] [Active ] [ ] [ 60] Commons Pool (1.5.3) [ 122] [Active ] [ ] [ 60] postgresql-8.4-701.jdbc4 (0) [ 145] [Active ] [ ] [ 60] Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1) [ 146] [Active ] [ ] [ 60] Apache Geronimo JSR-303 Bean Validation Spec API (1.1) [ 148] [Active ] [ ] [ 60] mvn:org.apache.openjpa/openjpa-all/2.1.0-SNAPSHOT The Karaf version is 1.5.0-SNAPSHOT. Any insight on how to remedy this error would be great &, of course, let me know if I need to provide more info. Thanks, Jason