1 Reply Latest reply on May 26, 2003 1:13 PM by maciej.bajolek

    Pointing at directory in Manifest.mf file ...

    maciej.bajolek

      Hi Allo,

      In my application I need to read some configuration files. I do that vi reading file from classpath (using: getResourceAsStream). All configuration files I put into "etc" directory. In my ejb-moduler.jar (META-INF/manifest.mf) I added line: "class-path etc". When I deploy my application I get following messages:
      ----------------------------------------------------------------

      17:21:23,837 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/server/default/deploy/wms.ear

      17:21:27,282 WARN [MainDeployer] The manifest entry in file:/C:/jboss/server/default/tmp/deploy/ser
      ver/default/deploy/wms.ear/48.wms.ear-contents/dms-ejb.jar references URL file:/C:/jboss/server/defa
      ult/tmp/deploy/server/default/deploy/wms.ear/48.wms.ear-contents/etc which could not be opened, entr
      y ignored

      ----------------------------------------------------------------

      Is there any problem with manifest.mf files in JBoss?
      A few days ago I used OC4J and it worked fine.

      Thanks for answers

      Best regards
      maciek

        • 1. Pointing at directory in Manifest.mf file ...
          maciej.bajolek

          Hi again,

          I forgot to add that there is no "etc" temporary jboss direcotry. Why JBoss does not copy "etc" directory?

          ver/default/deploy/wms.ear/48.wms.ear-contents/dms-ejb.jar references URL file:/C:/jboss/server/defa
          ult/tmp/deploy/server/default/deploy/wms.ear/48.wms.ear-contents/etc which could not be opened,

          --
          best regards
          maciek