0 Replies Latest reply on Dec 4, 2004 7:04 PM by Ignacio de Cordoba

    How to set a ear classloader in a different webapp

    Ignacio de Cordoba Novice

      Hi there,
      I have an application divided into an ear archive, which contains several Jar files with EJBs and a webapp directory with JSPs and "client" classes to access EJBs.
      I can't package the web application inside the ear file because graphic designers need to make changes to JSPs often.
      I want to avoid having to unpak jars inside ear each time I make a change into any client class (client classes and Transfer objects must reside both in .ear file and in WEB-INF/lib directory in the webapp.

      Can I avoid putting jar files in WEB-INF/lib in the application and make webapp container to load the ear classpath for that web application?
      Maybe there is some type of entry in jbossweb.xml to make it use the classloader in the ear file specified in jboss-app.xml with:
      <loader-repository>some.dot.com:loader=webtest.ear</loader-repository>

      Thanks for any help.