0 Replies Latest reply on Dec 28, 2007 1:06 AM by vri_97

    setting classpath that refer to a jar in ear bundle

    vri_97

      Hi,
      I'm trying to set a classpath in myapp-service.xml file in Jboss 4.2.1.

      my-app.ear
      |
      +--lib
      |
      +--myappjar.jar


      Does anyone know how to add a classpath to myappjar.jar (in myapp-service.xml)?

      I have tried to use :

      1. classpath codebase="." archives="my-app.ear#myapp.jar" />
      2. classpath codebase="./deploy/my-jar.ear" archives="myappjar.jar" />
      3. classpath codebase="./deploy/my-jar.ear/lib" archives="myappjar.jar/>"

      But none is working.

      Does anyone know how ?