Today we were struggling in a situation when execution blocked ("blocked" - this should be more technical word but at this point i can't figure out) in Java EE project in JBoss EAP alpha version and after sometime there were no more console messages.
Finally we figured that a colleague of mine by mistake placed System.out.println()
for logging inside a for loop, instead of slf4j
logger (loop iterates hundreds of times).
After replacing System.out.println()
with log.xxxxx() of slf4j
logger everything was fine.
I can't understand this strange issue with System.out.println()
.
also, Application server was running but unable to serve any request.
Can someone help me to understand this issue and why JBoss was unable to process other requests.