Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Configuration Error in Log4j

692232Mar 26 2009
Hi



I’m getting following error after I deploy my Web-App in WebLogic10, and run the first screen.





log4j:ERROR Could not read configuration file [null\config\null].

java.io.FileNotFoundException: null\config\null (The system cannot find the path specified)

.

.

.

at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

log4j:ERROR Ignoring configuration file *[null\config\null*].

log4j:WARN No appenders could be found for logger (PropsCache).

log4j:WARN Please initialize the log4j system properly.

Exception in reading property filenull

log4j:ERROR Could not read configuration file [null\config\null].

java.io.FileNotFoundException: null\config\null (The system cannot find the path specified)





I’m using a customized properties file DEPWEBlog.properties for Log4J props. And I put it at all possible location in Domain’s root folder, class-path, lib etc… but all in vain.



I set this file as Java_Option in my Domain’s Env script as (setDomainEnv.cmd, i m in Windows env)



-DAPP_LOGPROPERTIES=DEPWEBlog.properties


Also i made following change in prop file:

log4j.appender.A2.File=....\bea\user_projects\domains\myAppDOMAIN\myAppHome\logs\appweb.log


Any help or suggestion???

Am i doing it correctly?

*Advance apology if i m breaking any of forum's rule as i'm a nwbie here
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2009
Added on Mar 26 2009
0 comments
883 views