1 Reply Latest reply on Jul 11, 2003 6:20 AM by ericmacau

    JBoss Class Loader problem ???

    ericmacau

      Hello,

      My EAR file contains 2 .ear and 1 .war files.

      in the .war, there is a .jar in the WEB-INF/lib, that includes some customer tag library and some utility classes, etc.

      In one of the Tag class, I instance the org.apache.struts.util.MessageResources. But JBoss just raised an ClassNotFoundException of that MessageResources.

      In fact, I have put the struts.jar in the WEB-INF/lib (in the .war)

      Solution:
      I put those 3rd-party JAR files under the EAR and add
      the following into the application.xml

      struts.jar

      .... (all othre 3rd-parties jar)


      Strange, it works.


      Is there any problem in the JBoss class loading ????


      I am using JBoss3.2.1 + JDK1.4.2 in Win98

      Eric