Dear ,
I've removed -Xrs option from the starting parameters and still
nothing.
<process-type id="development" module-id="OC4J">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-server -Xrs
-Djava.security.policy=D:\OraHome\j2ee\development\config\java2.policy
-Djava.awt.headless=true"/>
<data id="java-options" value="-server
-Djava.security.policy=D:\OraHome\j2ee\development\config\java2.policy
-Djava.awt.headless=true"/> //new line
<data id="oc4j-options" value="-properties"/>
</category>
<category id="stop-parameters">
<data id="java-options"
value="-Djava.security.policy=D:\OraHome\j2ee\development\config\java2.polic
y -Djava.awt.headless=true"/>
</category>
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:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 6:34 PM
To: Log4J Users List
Cc: 'Log4J Users List'
Subject: RE: Need to create a thread dump in OAS
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 in Oracle/Bea or their JVM (is it Jrockit) but they may
also have parameters.. ?
For instance, I found this
(http://edocs.bea.com/wls/docs81/cluster/trouble.html) and I am wondering if
this is what you are looking for ?
I presume you are using the BEA/Oracle application server right ?
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: [EMAIL PROTECTED]
<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 11:19:35 AM---Hi
Christophe,"Amgad Mohamed" ---08/06/2008 11:19:35 AM---Hi Christophe,
From:
"Amgad Mohamed" <[EMAIL PROTECTED]>
To:
"'Log4J Users List'" <[email protected]>
Date:
08/06/2008 11:19 AM
Subject:
RE: Need to create a thread dump in OAS
_____
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:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 5:32 PM
To: Log4J Users List
Cc: [email protected]
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: [EMAIL PROTECTED]
<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" <[EMAIL PROTECTED]>
To:
<[email protected]>
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