3 Replies Latest reply on Apr 2, 2002 12:29 PM by Ken

    ClassLoader looking in EJB JAR and not WAR

    Aaron Smith Newbie

      I have a factory class that tries to instantiate a class from my WAR file, but a

      is thrown instead. If I also add the class to the EJB JAR file that is deployed in the same EAR, the class can be found and the app works.

      It seems to me that the problem is the ClassLoader using a different ClassPath. I've tested the code in JBoss 2.3 and 2.4 and the reference implementation from Sun (1.3), and the only positive news is it's consistent :) Any ideas?