commons-logging-1.0.4 with log4J

2006-02-13 Thread Fredy
Hi all, i've a [maven2] webapp with struts 1.2.8 and this using commons-logging-1.0.4. I also use log4j. But Starting Tomcat throws following Exception ;-( I've tryed log4j 1.2.8, 1.2.9 and now 1.2.13 all versions fail. if I go back to struts 1.2.2 wich is using commons-logging-1.0 then tomcat s

Re: Generating SNMP traps from Java Application

2006-02-13 Thread Swarna Mani
Mark, Thanks so much for taking time to answer all my questions. I will try the same and get back to you. -- Swarna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Generating SNMP traps from Java Application

2006-02-13 Thread Mark Masterson
Ouch. Thanks for the vote of confidence, there, Elijah. FWIW, I've avoided implementing a TrapSender for the Snmp4j libary (although I find it otherwise quite cool) because it's limited to JDK 1.4, and that breaks with the design goals of log4j itself (at least up until "the release previousl

Re: Generating SNMP traps from Java Application

2006-02-13 Thread Mark Masterson
Hi Swarna, Ah, fantastic. Swarna, I've been meaning to get to your mail (to me directly) for about a week now, but I wanted to "cc" my reply to the log4j list, since most of your questions are generic log4j questions, and not specific to the SNMPTrapAppender. (http://www.m2technologies.net/a

NP exception when using FileAppender with BufferedIO = true

2006-02-13 Thread Rohnny Moland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I get a NP exception when using the FileAppender and set bufferedIO = true. Reported error: "Exception in Action for tag " at line 21 column 14 with exception java.lang.NullPointerException I am using log4j-1.3 alpha-8. Thanks, - -- Rohnny --

Re: Generating SNMP traps from Java Application

2006-02-13 Thread Swarna Mani
Thanks Heri! I will try the same. -- Swarna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Generating SNMP traps from Java Application

2006-02-13 Thread Swarna Mani
Thanks, I will look into the same. Elijah Baley hotmail.com> writes: > > There is such a logger called (if I remember correctly) JoeSNMPTrapAppender. > However, look into using SNMP4J (www.snmp4j.org - open source) and implement > your own appender... >

Re: Backup files are not getting created

2006-02-13 Thread Praveen Kumar Hasthalapuram
Hi James, I mean to say, file is getting rolled but not creating any backup file. Eventhough i have corrected as you suggested like "MaxBackupIndex", backup files are not getting created. Thanks, Praveen On 2/9/06, James Stauffer <[EMAIL PROTECTED]> wrote: > > What do you mean by "its rolling th

RE: Help with LogFilePatternReceiver

2006-02-13 Thread Scott Deboy
Can you modify the app's log4j config file? If so, add a database appender to it. If not, yes, you can specify both a logfilepatternreceive and a database appender in the same config file. Scott Deboy COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: 503.22

Help with LogFilePatternReceiver

2006-02-13 Thread Alexey Vorobiev
Hello, Could someone help me please? I need to parse log files with my program and insert filtered rows to the Database. I don't have access to the program that writes this logs but it is using log4j and i know the format. Is it possible to use LogFilePatternReceiver to read information from

RE: Generating SNMP traps from Java Application

2006-02-13 Thread Bender Heri
Hi You configure in the xml file a separate logger with the appropriate SNMP appender and name it i.e. like "MySNMPLogger". In the java code you instatiate this logger like this: Logger mySNMPLogger = Logger.getLogger( "MySNMPLogger" ). This instance is then used for the SNMP traps, other ins