1 Reply Latest reply on Oct 13, 2005 11:32 AM by Matt Johnston

    HAR in EAR, how does MANIFEST work?

    Matt Johnston Newbie

      I have an EAR file with one WAR and one HAR. I have compiled all my classes into a JAR file. My question is, how do I package the ear so both the HAR and the WAR can read the classes in the JAR file? I have tried setting the Class-Path in the EAR and the HAR Manifest, but that doesn't work. When I start my application, the HAR deployment complains that it can't find the classes. I am trying to use isolated class loading, so I don't want to just throw everything under server/lib.

      My setup is
      conman.ear
      --conman.har
      --conman.war
      --conman.jar
      --META-INF
      ----application.xml
      ----jboss-app.xml
      ----MANIFEST.MF

      My Manifest.MF is:
      Manifest-Version: 1.0
      Class-Path: conman.jar

      I've also included the same manifest in the META-INF directory under the HAR file.

      Any help would be greatly appreciated. Thanks.