[ https://issues.apache.org/jira/browse/ARIES-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider resolved ARIES-1173. ---------------------------------------- Resolution: Fixed Assignee: Christian Schneider (was: Mark Nuttall) Fix Version/s: jpa-2.0.0 The warning should not be logged anymore for Aries JPA 2.0.0 > 'No persistence descriptors' message confuses more people than it helps > ----------------------------------------------------------------------- > > Key: ARIES-1173 > URL: https://issues.apache.org/jira/browse/ARIES-1173 > Project: Aries > Issue Type: Bug > Components: JPA > Affects Versions: 0.4 > Reporter: Mark Nuttall > Assignee: Christian Schneider > Priority: Minor > Fix For: jpa-2.0.0 > > > org.apache.aries.jpa.container.impl.PersistenceBundleHelper.findPersistenceXmlFiles() > scans bundles for persistence.xml files. Unlike most bundles, it scans WABs > even if they contain no Meta-Persistence: header in their bundle manifest. If > no persistence.xml is found, it issues the no.persistence.descriptor warning, > "No persistence descriptors could be located in the bundle ...". > In practice this message is confusing a lot of people whose WABs don't > contain persistence.xml files, and are not intended to. I propose to delete > the warning altogether. -- This message was sent by Atlassian JIRA (v6.3.4#6332)