2001 +, you wrote:
>| >Thanx, Ceki.
>| >
>| >Again, allow me to suggest that the loop in Dispatcher is guarded by a
>| >try/catch block, thus preventing it from exiting disgracefully.
>| >
>| >--
>| >
>| >Thomas
>| >
>| >| -Original Message-
omas
| -Original Message-
| From: Ceki Gulcu [mailto:[EMAIL PROTECTED]]
| Sent: 16 December 2001 11:31
| To: Log4J Users List
| Subject: RE: ArrayIndexOutOfBoundsException in AsyncAppender
|
|
|
| Thomas,
|
| This is a very interesting comment. I disagree with it for the
| following reason. W
to:[EMAIL PROTECTED]]
>| Sent: 14 December 2001 22:11
>| To: Log4J Users List
>| Subject: Re: ArrayIndexOutOfBoundsException in AsyncAppender
>|
>|
>|
>| Thomas,
>|
>| Looks like a bug to me. Thanks for the info. The likely cause of
>| this problem is that the
| Subject: Re: ArrayIndexOutOfBoundsException in AsyncAppender
|
|
|
| Thomas,
|
| Looks like a bug to me. Thanks for the info. The likely cause of
| this problem is that the 'vw' static variable of type
| VectorWriter is not accessed in a synchronized manner. You have
| two threads trying to lo
Thomas,
Looks like a bug to me. Thanks for the info. The likely cause of this problem is that
the 'vw' static variable of type VectorWriter is not accessed in a synchronized
manner. You have two threads trying to log an event containing an exception near
simultaneously.
One easy solution is