by access you mean classLoader.getResource?
No, you can't do that.
Thanks for immediate reply.
If I can not do that then, can you please let me know how can I use log4j.xml to share between .ejb3 package and .war file, so that it writes to same log file. I do not want to use the file defined in conf/log4j.xml.