3 Replies Latest reply on Dec 29, 2003 4:33 PM by lekkim

    How to reference third party jar in a MANIFEST file

    stanimir

      hi,
      I have deployed an EAR file containing EJB jar on JBoss.
      My EJB use third party jar that I put in the lib directory inder the root of my application EAR directory.
      The structure of my EAR file is :
      application-root\
      ejbJar.jar
      META-INF\application.xml
      META-INF\\MANIFEST.MF
      lib\thirdParty.jar

      I want to reference this third party jar in the MANIFEST file in the META-INF directory.
      Can anybody tell me what the semantic of the MANIFEST File entry should be?
      my current MANIFEST file looks like this:

      Manifest-Version: 1.0
      Created-By: 1.4.1_01 (Sun Microsystems Inc.)
      Class-Path: lib\thirdParty.jar


      The Application classloader could not find the thirdPary jar.
      So, what the Class-Path entry should be so JBoss successfully load the required jar??

      thank you.
      Stan.