[
https://issues.apache.org/jira/browse/OPENEJB-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742595#action_12742595
]
David Blevins commented on OPENEJB-1059:
----------------------------------------
I hadn't noticed that we had an explicit list of URLs in this method. Maybe we
just want to go over each URL individually, create a finder for just that URL,
then execute:
Map<String, URL> descriptors =
altDDSources(finder.getResourcesMap("META-INF/"), false);
Pull just the "persistence.xml" entry out of the list -- guaranteed to be a
single URL if present -- and add it to the persistenceUrls list.
Not logging twice might still be a challenge -- not sure if that "urls" list
includes the URLs of know modules like EjbModules and so on. If it does then
we might get some double logging which we'd want to avoid somehow.
> altdd support seems broken for persistence.xml files
> ----------------------------------------------------
>
> Key: OPENEJB-1059
> URL: https://issues.apache.org/jira/browse/OPENEJB-1059
> Project: OpenEJB
> Issue Type: Bug
> Affects Versions: 3.1.1
> Environment: win xp
> Reporter: Jean-Louis MONTEIRO
> Fix For: 3.1.2
>
>
> As reported by Marrck in the user's list
> http://www.nabble.com/openejb.altdd.prefix-not-working-for-persistence.xml-to24926543.html
> altdd support potentially contains a bug with persistence.xml files.
> The issue seems located in DeploymentLoader.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.