Need to create a thread dump in OAS

2008-08-06 Thread Amgad Mohamed
Hi, Does anybody know how to get a thread dump for the JVM. I'm developing my application under oracle application server and java 1.4 and I need a thread dump to trace logging problem. Regards, Amgad Muhammad Software Engineer GoodNews4Me Tel: +2 02 2792 40 40 ext. 426 Fax:

Re: Need to create a thread dump in OAS

2008-08-06 Thread Christophe Elek
Hey Amgad, I usually create a dummy exception and printStackTrace so it lists my thread You want a 'full jvm dump' ? If so, I usually sendSignal.exe to the PID or I use the IBM JVM and I programmaticlaly call the dump method Does it help ? Christophe Elek - Senior Software Analyst IBM Rational

RE: Need to create a thread dump in OAS

2008-08-06 Thread Amgad Mohamed
Hi Christophe, I'm using sendsignal.exe and am passing the PID of the OC4J instance under which am developing my application then I check the log and I can't find any dump just the oc4j is forced to shut down and restarted successfully. 08/08/06 18:08:13 Start process

RE: Need to create a thread dump in OAS

2008-08-06 Thread Christophe Elek
Hey Amgad, Umm... the way sendsignal works ( believe) is it sends a 'signal' to the JVM. The JVM then decides what to do. I know in the IBM JVM that we have properties to determine if we pass the signal to the OS (to get a OS dump) or if we handle it and dump our own threads I am not an expert

Re: Need to create a thread dump in OAS

2008-08-06 Thread Thorbjørn Ravn Andersen
Amgad Mohamed skrev den 06-08-2008 16:08: Hi, Does anybody know how to get a thread dump for the JVM. I'm developing my application under oracle application server and java 1.4 and I need a thread dump to trace logging problem. That is a JVM facility. For Unixbased systems this

log4j.xml

2008-08-06 Thread Ginzburg Helena
Hi Where I can find my chainsaw log4j.xml file? Where his save my configuration (receivers for example) ? Helena.