Problem/Instability with DOMConfigurator and several loggers

2002-08-21 Thread Arnold Dieter
I try to configure log4j (log4j-1.2.6) with an XML file and the DOMConfigurator (application running on Tomcat 4, Windows 2000). When I define several loggers in the file, the initialization works fine, but I observe failures in the application (ClassCastException, NoClassDefFoundError) which seem

Database logging and high loads

2002-08-21 Thread Buchanan, Paul
Hi all -- I have run into a somewhat odd problem with a centralized logging facility I am testing. The application has a servlet front end, which takes in XML messages and passes them off to log4j, which then is logging to a database. Under high load, around 1,500 transactions a minute, around 1

Logger serializable?

2002-08-21 Thread Ryan Cuprak
Just out of curiosity - are loggers serializable? In other words, can they be safely put into jndi? I was going to setup the loggers for my EJBs in Mbeans and put the loggers into jndi (using jboss). -Ryan -- Ryan Cuprak

RE: Logger serializable?

2002-08-21 Thread Shapira, Yoav
Hi, Much like "are my beloved Patriots going to win the SuperBowl again?", the answer to your question is almost definitely no. Logger is not serializable. You can easily and quickly tell that from the JavaDoc, at: http://jakarta.apache.org/log4j/docs/api/index.html (class Logger or an ancestor

Re: Logger serializable?

2002-08-21 Thread Ryan Cuprak
Thanks for the reply. I was going to put the loggers into jndi so that I could gain access to them from within my EJBs. I know that Jboss does have built-in jboss support but I am trying to keep my EJBs pure so that I would not be tied to one app server (actually a constraint on my project). I

RE: Logger serializable?

2002-08-21 Thread Shapira, Yoav
Hi, >but I am trying to keep my EJBs pure so that I would not be tied to one app >server (actually a constraint on my project). I also wanted to manage the >logging via mbeans. Right now I don't see any clear way to use log4j in >enterprise beans and easily manage the logging at run time. Here's

Re: Logger serializable?

2002-08-21 Thread Eric Jain
> I was going to put the loggers into jndi so that I could gain access to > them from within my EJBs. I know that Jboss does have built-in jboss support > but I am trying to keep my EJBs pure so that I would not be tied to one app > server (actually a constraint on my project). Another possibili

RE: Problem/Instability with DOMConfigurator and several loggers

2002-08-21 Thread Mark Womack
Dieter, I think we would need to see your configuration file and an example of the failures you are seeing to better give you an answer. -Mark > -Original Message- > From: Arnold Dieter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 7:00 AM > To: '[EMAIL PROTECTED]' > Sub

Re: FileAppender problems during load testing

2002-08-21 Thread Laura M. Ly
Do not use the same PatternLayout for different appenders. PatternLayout has a StringBuffer field that is only used in format(). Multiple appenders end up sharing the same buffer. -- Sometimes an event would get written to a wrong file (in addition to, and sometimes in place of the corre

synchronization issues in log4j

2002-08-21 Thread Arun Jannela
Hi Is there any option available in log4j . I have a requirement to log daily and move the content to another file daily by cleaning the content in the original file and Delete old files monthly. Thanks, Arun [EMAIL PROTECTED] -Original Message- From: Mark Womack [mailto:[EMAIL PR

Logging Stress test

2002-08-21 Thread Arun Jannela
Hi, I Need to stress test Logging component [Search process itself]. I want to Use JMeter from apache for this. How can I load test this component with and without log4j component. Regards, arun **Disclaimer Information contained i

Log4J performance measuring

2002-08-21 Thread Arun Jannela
How Log4J affects the performance? How to Test the component with and without logging. How can I Collect the metrics? Regards, Arun **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privilege