[Opensource] Expresso installation problems with
JBoss/Tomcat ?
Michael Rimov
rimovm at centercomp.com
Thu Jan 9 10:18:43 PST 2003
At 05:24 PM 1/9/2003 +0530, you wrote:
>The error we are getting is
> 17:12:49,671 ERROR [STDERR] Expresso Configuration initializing...
> ERROR: invalid console appender config detected, console stream
> is looping
>I have found out the following
>1) The last ERROR message (Expresso Configuration initializing...) is
>coming from StdServlet.init() method
>2) This method tries to set the ConfigManager and calls
>ConfigManager.config(ServletConfig) method
>3) In above said method ConfigManager tries to call LogManager.setupLog()
>4) At this time LogManager class is loaded and static variables are
>initialized
>5) Since LogManager has the following static variable, we are getting the
>problem
> protected static Appender setupAppender = new ConsoleAppender(
> new PatternLayout(),
>
>ConsoleAppender.SYSTEM_OUT);
>
>I don't know how to solve the problem, but this is were we are getting the
>error.
Aha,
Thanks for catching that. For an extreme measure you can change it to:
protected static Appender setupAppender = new NullAppender();
or
protected static Appender setupAppender = new FileAppender(new
PatternLayout(), <a log file name here>);
Expresso 5.1 has had logging initialization reworked so this hassle will be
no longer necessary.
HTH!
-Mike
More information about the Opensource
mailing list