From open-jpa-dev-return-4208-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Mon May 21 20:46:37 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 86051 invoked from network); 21 May 2007 20:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 20:46:37 -0000 Received: (qmail 26918 invoked by uid 500); 21 May 2007 20:46:42 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 26884 invoked by uid 500); 21 May 2007 20:46:42 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 26874 invoked by uid 99); 21 May 2007 20:46:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 13:46:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 13:46:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 31C26714022 for ; Mon, 21 May 2007 13:46:16 -0700 (PDT) Message-ID: <31575195.1179780376184.JavaMail.jira@brutus> Date: Mon, 21 May 2007 13:46:16 -0700 (PDT) From: "Marc Prud'hommeaux (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Commented: (OPENJPA-148) Parsing exception while using an "exploded" archive In-Reply-To: <31938683.1171489565494.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497575 ] Marc Prud'hommeaux commented on OPENJPA-148: -------------------------------------------- I've gone ahead and applied OPENJPA-148-2.patch. If this works for you, please go ahead and mark this issue as resolved. > Parsing exception while using an "exploded" archive > --------------------------------------------------- > > Key: OPENJPA-148 > URL: https://issues.apache.org/jira/browse/OPENJPA-148 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Environment: Sun JDK 5.0 / EasyBeans / OpenJPA snapshot 0.9.7 > Reporter: Florent BENOIT > Priority: Minor > Fix For: 0.9.8 > > Attachments: debug_traces_directorymode.txt, debug_traces_filemode_working.txt, OPENJPA-148-2.patch, OPENJPA-148.patch, stacktrace-error.txt, steps.txt > > > This happens when using OpenJPA as persistence provider for the EasyBeans ObjectWeb container. > The error is happening with "exploded" archive. > Exploded means that there is a directory, named "entitybean.jar" with a folder META-INF which contains a file named persistence.xml, and other directories/files for the classes. > It seems that when using this mode, OpenJPA is trying to parse the directory inputstream (which is failing). > This exception is not occuring if a jar file is used instead of the "exploded" mode, but the exploded mode is the default mode for EasyBeans. > Note also that this exception don't occur by using Hibernate Entity Manager or Oracle TopLink Essentials as persistence provider. > I will attach to this issue a stack trace (with the exploded directory) which fails and at the end with a jar file (which work) > And 4 steps used to reproduce this problem -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.