Bugs item #736653, was opened at 2003-05-12 20:20
Message generated for change (Settings changed) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=736653&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: John Zittlau (naarok)
Assigned to: Nobody/Anonymous (nobody)
Summary: invalid console appender config detected

Initial Comment:
Under high load we occasionally see the following error 
message on JBoss 3.0.4's console.




ERROR: invalid console appender config detected, console 
stream is looping




Since this only happens at high load and log message 
appear fine the rest of the time, I'm reluctant to believe 
we have an invalid config. I'm 95% certain we do not 
have more than one console appender.




Looking at the source for JBoss 3.0.7 in 
org.jboss.logging.util.CategoryStream.java (the only place 
I found this error message), it looks like there is some 
suspect code in the write(byte[], int, int) method. 




The error message is triggered by inWrite being true. 
Setting/reading inWrite is guarded by synchronized 
blocks.




I believe that if a Category is marked static in some 
class, then multiple threads can enter the write method. 




If a thread is in between the two synchronized blocks 
when another thread calls write, inWrite will be true 
because of threading issues, not config issues, and thus 
will display the ERROR.






----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=736653&group_id=22866


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to