WebSphere Portal Server - Local Portlet test environment can't see my log4j.properties file...

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2004 > Local Portlet test environment can't see my log4j.properties file...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Local Portlet test environment can't see my log4j.properties file...
Lee Francis Wilhelmsen

2004-08-24, 8:23 am

Hi

After updating to WSAD 5.1.2 and Portal Toolkit 5.0.2.2 my portlet test
environment fails the recognize the log4j.properties file in my project.
The log4j.properties file is located directory under the Java Resources
(JavaSource) directory and compiles correctly to the WEB-INF/classes
directory. The file is present in the WEB-INF/classes directory when I
test, but I get the familiar:

log4j:WARN No appenders could be found for logger (loggername here).
log4j:WARN Please initialize the log4j system properly.

when running in the local test environment.

Any ideas why Log4j doesn't seem to see the file using the new project
structure? I had no trouble using WSAD 5.1.0.

Regards
Lee Francis
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com