× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Additionally he can programmatically trigger a thread dump himself with the
IBM specific com.ibm.jvm.Dump.JavaDump(). To avoid having to use reflection
it is easier to use a Windows IBM JVM. This can be downloaded from
https://www.ibm.com/developerworks/java/jdk/eclipse/index.html - see
http://stackoverflow.com/a/10697900/53897 for what I had to do with the
64-bit distribution.


You may also consider finding out how to put Tomcat in debug mode, so he can
attach a debugger to investigate or enable dump agents.

See
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/topic/com.ibm.java.doc
.diagnostics.60/pdf/diag60.pdf for all the options (downloaded from
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/topic/com.ibm.java.doc
.diagnostics.60/homepage/plugin-homepage-java6.html but it is a bit
confusing).

Regarding the actual problem I would suspect the bells to be stuck in a
buffer somewhere, and if you wait "long enough" the buffer will fill and the
characters seen all at once.

/Thorbjørn


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Pete Helgren
Sent: 16. september 2013 21:03
To: Java Programming on and around the IBM i
Subject: Re: How do I get a thread dump on the IBM JVM?

WRKJVMJOB gives three options for dumps (30, 31, 32) They probably want a
Java dump (32) I haven't used the options before....but they are there

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 9/16/2013 10:54 AM, James H. H. Lampert wrote:
We've got an intermittent problem with a web app server running in
Tomcat on our V6 box, specifically with how it establishes a
communication link with another (ILE mixed-language) server on the
same box, and our developer on that project wants a thread dump.

How do I get this for him?

(FWIW, the handshake involves the ILE server sending an ASCII bell to
the requester [either the web app server or a desktop Java client],
one per second, until the requester responds [We call this the
"ringing phone" handshake protocol, and it's served us well for over a
decade].
The web app server is intermittently failing to respond [leaving the
ILE server "ringing the phone" indefinitely], and according to the
developer on that project, the latest internal diagnostics indicate
that it opened the socket, but never received any bells.)

--
James H. H. Lampert

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.