File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Pointing at directory from ... 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 ..." Watch "Pointing at directory from ..." New topic

Pointing at directory from ...

Maciej Bajolek

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/ 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 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
I agree. Here's the link:
subject: Pointing at directory from ...
It's not a secret anymore!