Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pointing at directory from ...  RSS feed

Maciej Bajolek
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/ 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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!