Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pointing at directory from manifest.mf ...

 
Maciej Bajolek
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
maciek
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic