Any help is appreciated or if you have a differnt method to allow the App Server access to the log4.properties. I've also tried to place the log4.properties file on the class path of the J2EE server. That did not work with but it gave me a different error:
log4j:WARN No Appenders could be found for logger...
If you got it working, I do appreciate your help.
Joined: Nov 16, 2003
I may answered my question. I've found the following comment on another conversation thread. According to this comment, what I am trying to do can not be done..Here is the comment that I've found:
EJB spec explicitly indicates that (section 24.1.2 Programming restrictions):
quote: An enterprise bean must not use the java.io package to attempt to access files and directories in the file system. The file system APIs are not well-suited for business components to access data. Business components should use a resource manager API, such as JDBC, to store data.
subject: EJB, log4j, and access denied to log4.properties