logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amgad Mohamed" <amoha...@gn4me.com>
Subject RE: Need to create a thread dump in OAS
Date Wed, 06 Aug 2008 15:09:13 GMT
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

--------

08/08/06 18:08:16 Warning: Error reading transaction-log file
(/D:/OraHome/j2ee/development/persistence/development_default_island_1/trans
action.state) for recovery: premature end of file

08/08/06 18:08:16 Forced or abrupt (crash etc) server shutdown detected,
starting recovery process...

08/08/06 18:08:16 Recovery completed, 0 connections committed and 0 rolled
back...

08/08/06 18:08:18 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2) initialized

 

Any suggestions?

 

Regards,

Amgad Muhammad

Software Engineer

GoodNews4Me

Tel: +2 02 2792 40 40 ext. 426

Fax: +2 02 2795 89 38

2 Abdel Kader Hamza St., Garden City

Cairo, Egypt

  _____  

From: Christophe Elek [mailto:celek@ca.ibm.com] 
Sent: Wednesday, August 06, 2008 5:32 PM
To: Log4J Users List
Cc: log4j-user@logging.apache.org
Subject: Re: Need to create a thread dump in OAS

 

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 Serviceability Architect 
IBM Toronto Lab 8200 Warden Avenue, Markham, Ontario, L6G 1C7 
Phone Number: (905) 413-3467 
Email: celek@ca.ibm.com

 
<http://w3.rchland.ibm.com/projects/process/swg/rational/serviceability/serv
iceability.shtml> Rational Internal Serviceability Portal
"Don't just fix the mistakes - fix whatever permitted the mistake in the
first place." Charles Fishman 

  _____  


Web:http://www.ibm.com/software/rational/ 

  _____  



Inactive hide details for "Amgad Mohamed" ---08/06/2008 10:27:10
AM---Hi,"Amgad Mohamed" ---08/06/2008 10:27:10 AM---Hi,



From:


"Amgad Mohamed" <amohamed@gn4me.com>



To:


<log4j-user@logging.apache.org>



Date:


08/06/2008 10:27 AM



Subject:


Need to create a thread dump in OAS

  _____  




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: +2 02 2795 89 38

2 Abdel Kader Hamza St., Garden City

Cairo, Egypt







Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message