[Opensource] Expresso installation problems with JBoss/Tomcat ?

Peter A. Pilgrim peterp at xenonsoft.demon.co.uk
Fri Jan 10 18:23:29 PST 2003


Ravishankar Bhat wrote:
> Hi All,
> I wanted to find out more on this problem, but could not do much.
> All I could find out are the following
> 1) There is a conflict of console appenders happening, when we use expresso with JBOSS
> 2) JBOSS has it's own console appender and adding any more console appenders will result into this problem
> 3) If we remove the console appender definition in expressoLogging will not solve this conflict. [So there is some class is adding the console appender directly]
> 4) There is only one class in expresso classes that uses ConsoleAppender of log4j and that is LogManager
> 5) LogManager creates this cosole appender as 
> 	setupAppender = new ConsoleAppender( new PatternLayout(), ConsoleAppender.SYSTEM_OUT);
> 	So it does not use any of the expressoLogging setups
> 6) LogManager has the following public method
>     synchronized public static Category setupLog() {
>         if (setupLog == null) {
>             setupLog = Logger.getLogger("expresso.initialize");
>             setupLog.setLevel(setupPriority);
>             setupLog.addAppender(setupAppender);
>         }
> 
>         return setupLog;
>     } /* setupLog() */
> 
> 7) Field Summary (JAVADOCS) of setupAppender fields states as follows,
> 	"Change this to get initial setup logging logged to a different location other than stdout." Author : Michael Rimov
> 
> I am sure, someone of you Expresso Gurus, can help me from here.
> 
> Looking forward for your help,
> 
> Thanks
> Ravi

I think that I read about a thread on Struts /JBoss, where the
log4j jar on the application server was out of date.
So one suggestion is to replace/update the jboss server to the
latest log4j.1.2.7.jar

-- 
Peter Pilgrim
ServerSide Java Specialist

My on-line resume and for interview videos about myself, J2EE
Open Source, Struts and Expresso.
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''




More information about the Opensource mailing list