Maciej Bajolek

Greenhorn
+ Follow
since May 26, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Maciej Bajolek

Hi *,
I need a help
(Question 1)
I have application which has some ejb modules. My EAR file looks like:
wms.ear/
config/
config.properties
META-INF/
application.xml
manifest.mf
jboss-app.xml
ejb-module.jar
I need to have file: config.properties in ejb-module.jar classpath (there is configuration of a module).
When I use WLS or OC4J, I add "Class-Path: config" entry to ejb-module.jar manifest.mf file and in my Config service I access file using getResourceAsStream("/config.properties") method.
Unfortunatelly in JBoss 3.2.1 I get following worning messages:
-
18:22:26,102 WARN [MainDeployer] The manifest entry in file:/C:/jboss/server/default/tmp/deploy/ser
ver/default/deploy/wms.ear/51.wms.ear-contents/mdb-ejb.jar references URL file:/C:/jboss/server/defa
ult/tmp/deploy/server/default/deploy/wms.ear/51.wms.ear-contents/config which could not be opened, entry ignored
-
Is there any other solution for it?
(Question 2)
As I mentioned before I use JBoss 3.2.1. How can I deploy my application using EXPLODED directory format. When I unpack EAR and all modules, change application.xml module entries pointing to directory (module) instead of jars/wars
I read that all I need is to unpack EAE ant its modules into JBoss's deploy directory ant everything will be ok.
It does not work!
Am I doing something wrong?
How can deploy application using Exploded directory format?
--
best regards
Maciek
22 years ago
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
22 years ago