0 Replies Latest reply on Apr 9, 2004 7:33 AM by bazu

    WAR calss loading (JBoss 3.2.3)

    bazu

      For compatibility reasons i put the "UseJBossWebLoader" in deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml on false as follow:
      false

      BUT there is a sigle WAR into an EAR that needs to use shared classes ... my dirty solution is to put all "model" classes into WEB-INF and also into EJB package ...but this is dirty.
      I use into application.xml of ear:
      ----
      <module>

      <web-uri>diadoracommunity.war</web-uri>
      <context-root>/webapp.diadoracommunity</context-root>

      &lt;/module&gt;

      &lt;module&gt;
      common-libs/commons-lang.jar

      &lt;/module&gt;
      &lt;module&gt;
      common-libs/commons-logging.jar

      &lt;/module&gt;
      -----

      But my war can use commons-logging.jar only if UseJBossWebLoader is set to true ... there is a solution to my problem (for example into jboss-web.xml)?