3 Replies Latest reply on Mar 16, 2010 1:22 AM by jaikiran pai

    JBoss classloading issue

    Sameer Pokarna Newbie

      Hi All,


      I have a class A and C defined in a WAR file, and a class B defined in the container EAR. I have class A invoking class B (which works fine) and class B in turn wanting to load class C (this fails).


      Any ideas on how this can work? This works if I pass the WAR Class loader as an argument to the class B, which is used by B to load the class C.


      I am wondering if the Class loader repository will allow the EAR to load a class from any of the WAR files in the EAR.



      Thanks and regards,