wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Pointing at directory from manifest.mf ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Pointing at directory from manifest.mf ..." Watch "Pointing at directory from manifest.mf ..." New topic
Author

Pointing at directory from manifest.mf ...

Maciej Bajolek
Greenhorn

Joined: May 26, 2003
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pointing at directory from manifest.mf ...