My java application running on AIX uses the DailyRollingFileAppender.
Every so often, the roll-over does not occur at midnight, but later.
Perhaps even a day later. Has anyone experienced this problem?
Thanks!
Clare H. Myers
Application Developer Advisor
Anthem - AMMS
(513) 336-5472
Howdy,
Yes.
Search the archives.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 3:00 PM
To: [EMAIL PROTECTED]
Subject: org.apache.log4j.DailyRollingFileAppender
My java application running
:
Subject: RE:
org.apache.log4j.DailyRollingFileAppender
10/03/2003 03:02
PM
: Re: A org.apache.log4j.DailyRollingFileAppender object is not assignable
to...
Whit:
so init() is called once and only once correct???
if you delete the class and recreate it.. how does JRun know this class should be
initialised again??
Sounds like JRun doesnt have capability
1.2.1 solves the problem.
At 00:07 14.07.2002 +0200, Ceki Gülcü wrote:
The error [org.apache.log4j.DailyRollingFileAppender object is not
assignable to a org.apache.log4j.Appender variable.] means in no
uncertain terms that two distinct copies of log4j classes are present
in memory each of which
1.2.1 is available here:
http://jakarta.apache.org/log4j/jakarta-log4j-1.2.1.tar.gz
(Log4j 1.2.1 ignores the TCL.)
Please let us know if using log4j 1.2.1 solves the problem.
At 00:07 14.07.2002 +0200, Ceki Gülcü wrote:
The error [org.apache.log4j.DailyRollingFileAppender object
At 11:06 15.07.2002 -0400, Whitney White wrote:
Not that I doubted you...
but you're absolutely right. Switching to log4j-1.2.1.jar fixed my
problem; my servlets are now able to reinitialize the root logger when
they're dynamically reloaded by Jrun.
Good. Thanks for letting us know.
But
the following:
log4j:ERROR A org.apache.log4j.DailyRollingFileAppender object is not
assignable to a org.apache.log4j.Appender variable.
log4j:ERROR Could not instantiate appender named A1.
log4j:ERROR A org.apache.log4j.net.SMTPAppender object is not assignable
to a org.apache.log4j.Appender
The error [org.apache.log4j.DailyRollingFileAppender object is not
assignable to a org.apache.log4j.Appender variable.] means in no
uncertain terms that two distinct copies of log4j classes are present
in memory each of which is accessible by a different class
loader.
Here is a typical scenario
A org.apache.log4j.DailyRollingFileAppender object is not
assignable to a org.apache.log4j.Appender variable.
log4j:ERROR Could not instantiate appender named A1.
log4j:ERROR A org.apache.log4j.net.SMTPAppender object is not assignable
to a org.apache.log4j.Appender variable.
log4j:ERROR Could
10 matches
Mail list logo