1 Reply Latest reply on Jun 20, 2003 10:51 AM by luisfpg

    Classloading problem

    luisfpg

      Hi!
      I need some help to configure my app under JBoss 3.2.
      I have an .ear containing a .jar with my EJB's and a .war with the web app.
      The EJB's needs some classes that are in another package (ie, lib.jar). That lib.jar needs the Struts classes, that are in the struts.jar file. The web app also needs the lib.jar and the struts.jar.
      I tried to set up the files like this:
      app.ear
      ejbs.jar
      lib.jar
      struts.jar
      web.war
      WEB-INF/lib/lib.jar
      WEB-INF/lib/struts.jar
      WEB-INF/classes/ApplicationResources.properties
      The ear is deployed ok, but when I browse the web app, the Struts cannot find the ApplicationResources.properties.
      Does anyone know what am I doing wrong?

        • 1. Re: Classloading problem
          luisfpg

          Sorry, but the ear tree was not visible...
          Here is the correct:
          app.ear
          --- ejbs.jar
          ------ lib.jar
          ------ struts.jar
          ---web.war
          ------ WEB-INF/lib/lib.jar
          ------ WEB-INF/lib/struts.jar
          ------ WEB-INF/classes/ApplicationResources.properties