On 19 February 2010 17:54, Matthias Küspert <[email protected]>wrote:
> Hi,
>
> when running an OSGified .war using Pax Web Extender on Felix I
> encountered a problem with the Bundle.findEntries() method:
> Bundle.findEntries("WEB-INF", "web.xml", false) returns entries for
> all files ending with "web.xml" - here's the log entry:
>
> org.ops4j.pax.swissbox.extender.BundleWatcher - Found resources
> [bundle://5.0:0/WEB-INF/jonas-web.xml,
> bundle://5.0:0/WEB-INF/sun-web.xml, bundle://5.0:0/WEB-INF/web.xml]
>
> As stated in [1] this seems to be a bug in the findEntries()
> implementation. If this is true can somebody please open a Jira issue.
>
Hi Matthias, some things that would help whoever picks up this issue:
1) what version of Felix are you using
2) what exact URLs are returned from findEntries*
3) can you provide the WAR file (attach to issue)
* the comments in [1] suggest what's being returned, but it would be good to
make sure with debugging/println
also note anyone can raise an issue against Felix, just sign up at
http://issues.apache.org/jira/browse/FELIX
and hit create... the benefit of raising the issue yourself is that you'll
get notified when it gets updated / fixed :)
> Thanks,
> Matthias
>
> [1] http://issues.ops4j.org/browse/PAXWEB-190
>
--
Cheers, Stuart