Mark Nuttall created ARIES-1173:
-----------------------------------
Summary: '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: Mark Nuttall
Priority: Minor
Fix For: 0.4
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.2#6252)