Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 50904 invoked from network); 15 Dec 2010 09:07:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 09:07:25 -0000 Received: (qmail 63334 invoked by uid 500); 15 Dec 2010 09:07:25 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 63276 invoked by uid 500); 15 Dec 2010 09:07:25 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 63117 invoked by uid 99); 15 Dec 2010 09:07:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 09:07:25 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 09:07:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBF971Wh010151 for ; Wed, 15 Dec 2010 09:07:01 GMT Message-ID: <32803355.131431292404021083.JavaMail.jira@thor> Date: Wed, 15 Dec 2010 04:07:01 -0500 (EST) From: "Timothy Ward (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Resolved: (ARIES-455) Allow the Aries JPA runtime to process WAB files 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/ARIES-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Ward resolved ARIES-455. -------------------------------- Resolution: Fixed > Allow the Aries JPA runtime to process WAB files > ------------------------------------------------ > > Key: ARIES-455 > URL: https://issues.apache.org/jira/browse/ARIES-455 > Project: Aries > Issue Type: Improvement > Components: JPA > Affects Versions: 0.3 > Reporter: Timothy Ward > Assignee: Timothy Ward > Fix For: 0.3 > > > The Aries JPA runtime currently deliberately ignores WAB files because it isn't clear whether they should be processed according to Java EE rules or not. > I propose the following: > * A WAB with a Meta-Persistence header should be treated like any other persistence bundle > * A WAB with no Meta-Persistence header should follow the rules of the OSGi Web Applications specification. Namely the JPA runtime should look for META-INF/persistence.xml in any locations listed on the bundle classpath (or in the root if no classpath is defined). > This is not the normal Java EE behaviour. We will not find META-INF/persistence.xml in any jar in WEB-INF/lib, or in WEB-INF/classes unless it is explicitly on the bundle classpath. This is, however, consistent with normal WAB behaviour and I believe is therefore the correct approach. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.