|
From: Thomas H. <mai...@ha...> - 2003-08-23 19:46:06
|
Hi,
we use wrapper with jboss on some Windows 2000 Adv. Cluster. And we
use our own log4j appender. In some situation we have a deadlock in
log4j (in conjunction with our own appender). If we have the lock
every thread that work with Logger, Catergory, System.out or
System.in hangs (System.out and Systen.in because the jboss people
redirect the output from System. to log4j). So at that time we need a
full thread dump. Normally this works perfect, but if log4j hangs
the class WrapperManager hangs too, if you call the method
WrapperManager#requestThreadDump.
So if you remove the System.out you we get the need thread dump.
--- WrapperManager.java 2003-08-23 21:23:39.000000000 +0200
+++ WrapperManager_fix.java 2003-08-23 21:24:31.000000000 +0200
@@ -639,7 +639,6 @@
*/
public static void requestThreadDump()
{
- System.out.println( "Dumping JVM state." );
if ( m_libraryOK )
{
nativeRequestThreadDump();
Thomas
|