2 Replies Latest reply on May 14, 2002 6:20 PM by Corby Page

    Dynamic resolving a class in deployed JAR from shared JAR in

    Hacking Bear Newbie


      I have put a shared JAR (Jython) in lib/ext. At some point, a method in this JAR wants to resolve a class, given the class name util.Foo, defined in a deployed (EJB) JAR. I get a ClassNotFoundException. Apparently the lib/ext JARs are loaded in a parent ClassLoader whereas deployed JARs are loaded in their own child ClassLoader so shared JARs cannot know classes in the deployed JARS. Is this correct? Any way to make it work?