Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 52951 invoked from network); 6 May 2010 14:26:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 May 2010 14:26:29 -0000 Received: (qmail 98881 invoked by uid 500); 6 May 2010 14:26:24 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 98805 invoked by uid 500); 6 May 2010 14:26:24 -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 98786 invoked by uid 99); 6 May 2010 14:26:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 14:26:23 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 14:26:17 +0000 Received: from jim.nabble.com ([192.168.236.80]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OA21U-0000a2-KA for users@openjpa.apache.org; Thu, 06 May 2010 07:25:56 -0700 Date: Thu, 6 May 2010 07:25:56 -0700 (PDT) From: Pinaki Poddar To: users@openjpa.apache.org Message-ID: <1273155956618-5014448.post@n2.nabble.com> In-Reply-To: <1273154263899-5014297.post@n2.nabble.com> References: <1273086870336-5010582.post@n2.nabble.com> <1273154263899-5014297.post@n2.nabble.com> Subject: Re: ClassNotFoundException in PCEnhancerTask when class has already been enhanced MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, 1. How does persistence.xml exactly refer to the orm.xml? Are these in the same directory? 2. Can you replace with direct invocation of PCEnhancer and see if there is any difference. notice how #MyUnit is used to qualify the persistence.xml. Here MyUnit is the name of the persistence unit. ----- Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/ClassNotFoundException-in-PCEnhancerTask-when-class-has-already-been-enhanced-tp5010582p5014448.html Sent from the OpenJPA Users mailing list archive at Nabble.com.