aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1173) 'No persistence descriptors' message confuses more people than it helps
Date Fri, 13 Feb 2015 17:43:13 GMT

     [ https://issues.apache.org/jira/browse/ARIES-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schneider updated ARIES-1173:
---------------------------------------
    Fix Version/s:     (was: 0.4)

> '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
>
> 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)

Mime
View raw message