[jboss-dev-forums] [Design of JBossCache] - Re: TimeoutException printing stacktraces of threads holding

galder.zamarreno@jboss.com do-not-reply at jboss.com
Mon Nov 19 12:08:53 EST 2007


"manik.surtani at jboss.com" wrote : Could this get unnecessarily noisy for when a WL times out because of multiple RLs?

Hmmm, good point. I guess we could log it at TRACE level. Adding TRACE level for the specific lock class in use could be part of the troubleshooting steps for TimeoutExceptions. This type of exception is quite likely the one reported most often.

"manik.surtani at jboss.com" wrote : Also, these stacks would be printed to the log in the toString method, not appended to the return value of toString.  Is this what you had in mind? 

Yeah but as long as the toString is called only when TimeoutException is thrown, otherwise it'd pollute other situations. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106103#4106103

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106103



More information about the jboss-dev-forums mailing list