0 Replies Latest reply on Mar 24, 2003 12:45 AM by heejune

    [J2EE Management] Correction

    heejune

      I've posted the bug and the corresponding patch at sourceforge:
      http://sourceforge.net/tracker/index.php?func=detail&aid=692157&group_id=22866&atid=376685

      > what will getResources("a/b/c") return exactly ?
      From java.lang.ClassLoader:
      Finds all the resources with the given name

      If you have resources with the same name in multiple jars,
      getResources gives you all the urls to theses resources.

      In my case, I have a marker file in each jar, let's call it "marker.properties".
      With getResources("marker.properties") I'm supposed to get all of them, not only the first one as with getResource().

      In current implementation, you find only the resources located in the same jar as the class that called getResources.

      To reproduce the problem, just have JBoss load 2 jars, for exemple by adding those 2 jars in the classpath of a xxx-service.xml