RE: ArrayIndexOutOfBoundsException in AsyncAppender

2001-12-16 Thread Ceki Gulcu
-- >| 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 r

RE: ArrayIndexOutOfBoundsException in AsyncAppender

2001-12-16 Thread Thomas Tuft Muller
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

RE: ArrayIndexOutOfBoundsException in AsyncAppender

2001-12-16 Thread Ceki Gulcu
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 &#

RE: ArrayIndexOutOfBoundsException in AsyncAppender

2001-12-16 Thread Thomas Tuft Muller
| 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

Re: ArrayIndexOutOfBoundsException in AsyncAppender

2001-12-14 Thread Ceki Gulcu
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

ArrayIndexOutOfBoundsException in AsyncAppender

2001-12-14 Thread Thomas Tuft Muller
Hi, This error inside the log4j API caused our server to hang (this trace was logged in system.err.) 2001-12-14 10:07:28,735 - "java.lang.ArrayIndexOutOfBoundsException: 0 >= 0" 2001-12-14 10:07:28,735 - " at java.util.Vector.elementAt(Vector.java:417)" 2001-12-14 10:07:28,745 - " at org