[
https://issues.apache.org/jira/browse/OPENEJB-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745070#action_12745070
]
Jean-Louis MONTEIRO commented on OPENEJB-1059:
----------------------------------------------
I looked quickly xbean-finder sources and for me both methods are equivalent as
xbean seems to go throughout the list.
1.
ResourceFinder finder = new ResourceFinder("",
ClassLoader.getSystemClassLoader(), urls);
Map<String, URL> descriptors =
altDDSources(finder.getResourcesMap("META-INF/"), false);
...
2.
for (URL url : urls) {
ResourceFinder finder = new ResourceFinder(urls);
Map<String, URL> descriptors =
altDDSources(finder.getResourcesMap("META-INF/"), false);
...
}
isn't it ?
For the moment, i chose the first solution. I'm adding some tests to see if it
works fine and if i will face logging problems.
> 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.