• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Pointing at directory from manifest.mf ...

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi *,
In my application I need to read some configuration files. I read these files from classpath (using: getResourceAsStream). All configuration files I have in "etc" directory. In my ejb-moduler.jar (META-INF/manifest.mf) I added line: "class-path etc <other_jars>". 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?
Why JBoss does not copy all things from EAR to its temporary directory (in this example to: 48.wms.ear-contents directory)
A few days ago I deployed this application on OC4J and everything worked fine.
Thanks for answers
Best regards
    Bookmark Topic Watch Topic
  • New Topic