Hi,
I am trying jboss 3.0.6
I have the following ear structure
my.ear
-props <--- directory that should be included in classpath
--some.properties
-myejb.jar
-somelib.jar
-META-INF
--application.xml
MANIFEST.MF of myejb.jar looks like this
Class-Path: props somelib.jar
Everything seems to work except that JBoss does not like a folder as a classpath entry
10:34:47,728 WARN [MainDeployer] The manifest entry in file:/C:/Programme/jboss-3.0.6/server/sf/tmp/deploy/server/sf/deploy/my.ear/25.my.ear-contents/myejb.jar references URL file:/C:/Programme/jboss-3.0.6/server/sf/tmp/deploy/server/sf/deploy/my.ear/25.my.ear-contents/props which could not be opened, entry ignored
I need this classpath entry because I need to read some.properties.
I have also noticed that in the expected subfolder of tmp folder of JBoss the props folder of my.ear is not created. It looks that JBoss does not unzip my.ear completly.
Any hint?
Thanks a lot,
Stephan
Some additional information.
When I unzip the ear into the deploy directory, remove the ear file and restart jboss then everything seems to deploy fine.
I have the feeling that jboss has a problem in handling ear files that include directories.