RE: Tomcat

2002-11-25 Thread Koes, Derrick
I've had problems with tomcat not picking up my xml configuration file in web-inf/classes. I do a similar thing as Yoav suggests. String systemId = getServletContext().getRealPath(/conf/logconfig.xml); DOMConfigurator.configureAndWatch(systemId, logConfigWatch); -Original Message-

RE: log4j.dtd not found ?

2002-11-21 Thread Koes, Derrick
Is the SYSTEM path to log4j.dtd in your XML configuration file correct? You might try: jar:file:/path/to/jar/log4j-1.2.6.jar!/org/apache/log4j/xml/log4j.dtd -Original Message- From: Clive Beavis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 5:06 PM To: [EMAIL

RE: log4j

2002-09-20 Thread Koes, Derrick
You can make one appender inherit from another appender using a specific naming convention. The two files is not a problem since each appender will append to its own file. This is a DOMConfigurator example, but I think the same holds for properties (Can someone verify?). appender name=A

Request for working log4j configuration file (properties or XML) in Tomcat 4.0.4

2002-09-19 Thread Koes, Derrick
If anyone has a working log4j configuration file that they are using in Tomcat 4.0.4, please forward. I always get the no appenders warnings. log4j:WARN No appenders could be found for logger (DoraLogger). log4j:WARN Please initialize the log4j system properly. The following

configuration problem

2002-09-11 Thread Koes, Derrick
When I run my web app I get: log4j:WARN No appenders could be found for logger (DoraLogger). log4j:WARN Please initialize the log4j system properly. I cannot figure out why. I believe I have things configured correctly. Below is my configuration. Can anyone help? W2K Pro

RE: configuration problem

2002-09-11 Thread Koes, Derrick
What is the 'debug=true' supposed to do? I did this and did not notice anything different. Yes, logconfig.xml is in WEB-INF/classes/. -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 12:57 PM To: Log4J Users List Subject: Re:

RE: configuration problem

2002-09-11 Thread Koes, Derrick
Any suggestions on what to check next? -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 1:30 PM To: Log4J Users List Subject: RE: configuration problem debug=true makes log4j emit internal messages. The fact that you are not seeing

RE: configuration problem

2002-09-11 Thread Koes, Derrick
After a bit of agony, I figured out a bit of a pattern--I think. If I start tomcat from the command prompt, then I see logging (and the log4j internal debug statements). However, if I run tomcat from the start menu or as an NT service I get no logging. I don't know how to fix this. This

RE: log4j in tomcat

2002-07-31 Thread Koes, Derrick
winded. Charlie -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 8:40 AM To: 'Tomcat Users List' Subject: log4j in tomcat If I start Tomcat as an NT service I get the WARNings that no log4j appenders could be found. If I start Tomcat

FW: log4j in tomcat

2002-07-31 Thread Koes, Derrick
-Original Message- From: Koes, Derrick Sent: Wednesday, July 31, 2002 12:13 PM To: 'Tomcat Users List' Cc: '[EMAIL PROTECTED]'; Courtney, Brian; Monnelly, Susan; Chamarthi, Harish Subject: RE: log4j in tomcat The long-winded answer was fine and helpful. That's what I wanted to know

NT Event Viewer dll question

2002-07-09 Thread Koes, Derrick
I'm using log4j in my web app. I'm also using the dll that allows logging to the NT Event Viewer application log. However, I cannot use the manager servlet to undeploy and redeploy an updated version of my web app because of a stack trace produced that states that the dll is already loaded. Is

RE: NTEventLogAppender

2002-06-18 Thread Koes, Derrick
User error. The dll must be in %SystemRoot%/System32 specifically. It cannot merely be on the path. -Original Message- From: Koes, Derrick Sent: Tuesday, June 18, 2002 11:08 AM To: '[EMAIL PROTECTED]' Subject: NTEventLogAppender I added the NTEventLogAppender.dll to the path