You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Mark Nuttall (JIRA)" <ji...@apache.org> on 2014/04/16 17:58:15 UTC

[jira] [Created] (ARIES-1173) 'No persistence descriptors' message confuses more people than it helps

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)