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 8225C7470 for ; Sat, 10 Sep 2011 13:30:31 +0000 (UTC) Received: (qmail 89442 invoked by uid 500); 10 Sep 2011 13:30:31 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 89191 invoked by uid 500); 10 Sep 2011 13:30:25 -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 89183 invoked by uid 99); 10 Sep 2011 13:30:24 -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 13:30:24 +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 13:30:16 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R2Nd5-0003eR-I2 for users@openjpa.apache.org; Sat, 10 Sep 2011 06:29:55 -0700 Date: Sat, 10 Sep 2011 06:29:55 -0700 (PDT) From: koenr To: users@openjpa.apache.org Message-ID: <1315661395549-6778727.post@n2.nabble.com> Subject: Enhancement necessary in GlassFish 3? 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 deployed an .ear to GlassFish with the following structure: (Result from: jar tf MyProject.ear) META-INF/ META-INF/MANIFEST.MF lib/ lib/openjpa-all-2.1.1.jar lib/MyProject-pojo.jar MyProject-ejb.jar MyProject-ws.war Both MyProject-ejb.jar and MyProject-ws.war have a MANIFEST.MF file with a "Class-Path: lib/MyProject-pojo.jar" in them. However, when I deploy this .ear archive to GlassFish (3.1.1), I receive an error: [...] at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:144) ... 77 more Caused by: java.lang.ClassNotFoundException: my.package.MyClass [...] Apart from the error message, which I'm still investigating, it looks as if GlassFish indeed automatically tries to enhance my entities. Can I safely ignore vague warnings on the web NOT to thrust this "auto enhance feature", or is there a particular reason I should still enhance the entities myself at build time (when deploying to GF3)? -- View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-necessary-in-GlassFish-3-tp6778727p6778727.html Sent from the OpenJPA Users mailing list archive at Nabble.com.