Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 42054 invoked from network); 7 Apr 2009 07:06:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2009 07:06:34 -0000 Received: (qmail 10448 invoked by uid 500); 7 Apr 2009 07:06:34 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 10369 invoked by uid 500); 7 Apr 2009 07:06:34 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 10359 invoked by uid 99); 7 Apr 2009 07:06:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 07:06:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 07:06:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E599A234C004 for ; Tue, 7 Apr 2009 00:06:12 -0700 (PDT) Message-ID: <1545199.1239087972926.JavaMail.jira@brutus> Date: Tue, 7 Apr 2009 00:06:12 -0700 (PDT) From: "Vikram Bhatia (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-788) Error finding entity class while parsing orm.xml. In-Reply-To: <1832518976.1227695806250.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696422#action_12696422 ] Vikram Bhatia commented on OPENJPA-788: --------------------------------------- The fix needs to be merged to branches 0.9.7-r547073 and 1.1.x. > Error finding entity class while parsing orm.xml. > ------------------------------------------------- > > Key: OPENJPA-788 > URL: https://issues.apache.org/jira/browse/OPENJPA-788 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0 > Environment: WebLogic Server 10.0 MP1, Oracle Database > Reporter: Vikram Bhatia > Attachments: app.jar, client.jar, OPENJPA-788.patch, test-src.zip > > > There is an error loading entity class while parsing object-relational mapping XML file with classloader. It uses environment classloader instead of application classloader to load entity class when object-relational mapping XML file is parsed. > OPENJPA-40 has introduced a change in PersistenceMetaDataFactory and sets the classloader to envClassLoader if it is not null instead of loader passed as method input parameter and there is NPE fixed with SVN change number 447112 to use envClassLoader only if it not null. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.