0 Replies Latest reply: Mar 2, 2006 10:03 PM by 843844 RSS

    unable to move the lib directory from war to ear level in jboss

    843844
      I've an ear file which has an ejb jar, war, rar...it is successfully deployed & run
      but now i'm asked to move the lib folder(having all jars used by war files) out from war to up one level i.e ear level...
      for this i've updated classpath in manifest file inside war .....still ear is not getting deployed, I'm getting class not found exception. any idea?
      I'm using jboss 4.0.1,
      Is this problem due to the different class loaders used by jboss for war & ear
      pls help

      ear
      |
      |----war
      | |----WEB-INF
      | |----lib/ all.jar
      | |----classes
      | |----META-INF/MANIFEST.MF
      |
      |----jar
      |----rar
      |----META-INF/MANIFEST.MF

      the above should be changed like the one below

      ear
      |----all.jar
      |----war
      | |----WEB-INF
      | |----classes
      | |----META-INF/MANIFEST.MF (Class-path: mule.jar bpel.jar)
      |----jar
      |----rar
      |----META-INF/MANIFEST.MF (no classpath set)