5 Replies Latest reply on Oct 8, 2002 8:44 AM by dimkaz

    Deployment problem

    dimkaz

      Hello,

      I have following problem. Maybe there's anybody who can help me.

      I do deployment of application application.ear, which consists of:

      application.ear
      |- lib.jar
      |- ejb.jar
      '- web.war

      The idea is to be able from web application to use classes from lib.jar.

      Having following:

      application.xml

      <display-name>TestApp</display-name>

      ejb.jar



      <web-uri>web.war</web-uri>
      <context-root>myweb</context-root>



      lib.jar



      application.ear/web.war/META-INF/Manifest.mf
      Manifest-Version: 1.0
      Created-By: Ant 1.4.1
      Class-Path: ./lib.jar

      After deployment in

      tmp/deploy/Default
      |- application.ear /DIR/
      '- lib1003.jar

      So lib1003.jar is a copy of my lib.jar. I invoke a jsp file from my web application using Explorer. jsp file has import of some class from the lib.jar.

      Result - ClassNotFoundException.

      Did I miss something ? Does anybody can help me?

      Thanks,


      Dmitri