commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject RE: [Logging] Standalone App using BeanUtils getting wierd exception
Date Mon, 28 Apr 2003 16:00:31 GMT

On Mon, 28 Apr 2003, Brandon Goodin wrote:

> I am running this app in eclipse 2.1 at this point simply because it is
> still in development. Is eclipse interferring?

Likely so, if Eclispe is doing something wierd when it sets up the class
loader hierarchy for your app.  To assist in debugging things, you should
try running the app *really* standalone, to see if the behavior is

> Anyways, let's forget about Log4j and just try to get SimpleLog working.
> BTW I DO have the most current Commons-Logging and I have the most current
> BeanUtils (and Log4j 1.2.8 but, that doesn't matter at this point).
> I placed a properties file in my called where it
> is visible to my app.
> I set this property in the
> org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Simple
> Log

This is not the right setting -- try the following:


Note that the property name ends in "Log", not "LogFactory" -- you really
do want to use the default LogFactory implementation, just not the default
Log implementation.


View raw message