Link to home
Start Free TrialLog in
Avatar of mscprojhk
mscprojhk

asked on

Placing properties files on EAR, instead of WAR file

I have some config properties, e.g. log4j.properties (and other app config files) and I would like to place the on the EAR level, instead of WAR level? Any ideas how to do so on Websphere 6?

On WAR level, I can simply then under WEB-INF/classes.

I tried to put those properties files on the EAR root level and then add the Class-Path: log4j.properties xxxx

But, seems the WAR application (war and log4j.jar) can't read those properties..
ASKER CERTIFIED SOLUTION
Avatar of valipotor
valipotor

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin