Re: Testing log4j with UTF-16

2006-08-25 Thread Curt Arnold
On Aug 22, 2006, at 1:57 PM, Kamal Ahmed wrote: Hi, How is it possible to ignore/skip the first 2 bytes (which is 0xFEFF) "BOM" Byte Order Mark, in the class BinaryCompare.java (as copied below) The UTF-16 test checks the produced log file against an expected log file. The expected log

Chainsaw stops receiving events after a while

2006-08-25 Thread BoD
Hi! I've been using chainsaw for a few days now, and I'm experiencing a problem. After not using my application for a while (+/- 1 hour) chainsaw stops receiving (or at least it stops displaying) events. If I quit my application and restarts it, then it starts receiving them again. I didn't s

RE: How can i built a java application using java debug class on

2006-08-25 Thread Blok, Eelke
Hi, I'm assuming by o/p you mean output. I think that you're confusing a logging API with a debugging API. I'm not familiar with the Java debugging API that you mention, but I'm guessing it's not the same as the Java logging API, and I would expect that it taps into the JVM somehow (that, AFAICS,

Re: MDC Query

2006-08-25 Thread James Stauffer
To comment on that link, ThreadLocals are safe if used correctly. You should always assume that you need to reset the ThreadLocal right after you retrieve a Thread from a pool. On 8/25/06, Meera Mehta <[EMAIL PROTECTED]> wrote: Hi ysuneel, Thanks for your short and sweet reply but i w

Re: MDC Query

2006-08-25 Thread James Stauffer
I am 99% sure that the MDC isn't cleaned up by the app server. You need to manually clear it if needed. On 8/25/06, Meera Mehta <[EMAIL PROTECTED]> wrote: Hi All , I have small doubt related to MDC are we relying on MDC(ThreadLocal) being cleaned up by the application server when the thread is

Re: How can i built a java application using java debug class on

2006-08-25 Thread James Stauffer
What do you mean by "o/p" On 8/25/06, debasis <[EMAIL PROTECTED]> wrote: yes i need to track the method entry and exit abt need the o/p as -- VM Started -- > == main == > main -- HelloExample > callerMethod -- HelloExample > == main end == > -- The application exited -- > this

RE: MDC Query

2006-08-25 Thread Meera Mehta
Hi ysuneel, Thanks for your short and sweet reply but i was expecting little detailed answer if possible! I have gone threw following link , http://www.devwebsphere.com/devwebsphere/2005/06/dont_use_thread.html where they trying to encourage against it's(ThreadLocal) use. I dont kno

Re: How can i built a java application using java debug class on

2006-08-25 Thread debasis
yes i need to track the method entry and exit abt need the o/p as -- VM Started -- > == main == > main -- HelloExample > callerMethod -- HelloExample > == main end == > -- The application exited -- > this typr of o/p is possible using java Debug API. but i need to built this sort

Re: How can i built a java application using java debug class on

2006-08-25 Thread James Stauffer
I don't quite understand what you want to do. One note is that you mignt want to use the log4j NDC class to track method entry and exit. On 8/25/06, debasis <[EMAIL PROTECTED]> wrote: Hi, As java API support the MethodEntryEvent, using which I can get the automatic logging statements when the

I am getting DatagramSocket exception on HPUX

2006-08-25 Thread Madhava
Hi All, When my application uses log4j at system bootup time it crashes with following message. Can any one give some pointers like are there any limitations in log4j? Thanks in advance. java.net.SocketException: Operation not supported (errno:223) at java.net.PlainDatagramSocketImpl.d

RE: MDC Query

2006-08-25 Thread ysuneelreddy
Bcz of using MDC Nothing happened side effects.. -Original Message- From: Meera Mehta [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 3:47 PM To: log4j-user@logging.apache.org Subject: MDC Query Hi All , I have small doubt related to MDC are we relying on MDC(ThreadLocal) being

MDC Query

2006-08-25 Thread Meera Mehta
Hi All , I have small doubt related to MDC are we relying on MDC(ThreadLocal) being cleaned up by the application server when the thread is returned to the pool?? if yes What are the side effects of this reliance??? please reply in detail. Thanks in advance. __

RE: NTEventLogAppender Usage for Custom Event Log Reporting

2006-08-25 Thread Amit Pathak
I Really appreciate your reply. I will try it today definitely. Thanks and Best Regards, Amit Pathak -Original Message- From: Bender Heri [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 8:57 PM To: Log4J Users List Subject: RE: NTEventLogAppender Usage for Custom Event Log Rep