Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1EC77125 for ; Sat, 10 Sep 2011 05:36:55 +0000 (UTC) Received: (qmail 78842 invoked by uid 500); 10 Sep 2011 05:36:55 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 78581 invoked by uid 500); 10 Sep 2011 05:36:45 -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 78565 invoked by uid 99); 10 Sep 2011 05:36:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2011 05:36:42 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2011 05:36:35 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R2GEg-0008HA-BD for users@openjpa.apache.org; Fri, 09 Sep 2011 22:36:14 -0700 Date: Fri, 9 Sep 2011 22:36:14 -0700 (PDT) From: koenr To: users@openjpa.apache.org Message-ID: <1315632974319-6778182.post@n2.nabble.com> Subject: Invalid resource: jdbc/MyDataSource__pm MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org If I try to deploy my .ear to GlassFish 3, it always fails with "Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method: java.lang.RuntimeException: Invalid resource: jdbc/MyDataSource__pm". Thing is, in persistence.xml I specified jdbc/MyDataSource. Any idea what I'm doing wrong, i.e. where does the __pm come from and how do I get rid of it? -- View this message in context: http://openjpa.208410.n2.nabble.com/Invalid-resource-jdbc-MyDataSource-pm-tp6778182p6778182.html Sent from the OpenJPA Users mailing list archive at Nabble.com.