× 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.



If your tomcat is using the JDK provided by IBM i, the micros "jvminfo"
and "processinfo" in the STRSST can help you generate a thread dump for
your tomcat job.

Best regards.
____________________________________________________________________________________________

Gavin, Zhang Gan
IBM i J9 Dev, http://www.ibm.com/developerworks/ibmi/techupdates/java
Email: zhanggan@xxxxxxxxxx
Phone: +86-10-82452719
Address: 1/F, 28, ZhongGuanCun Software Park, No.8 Dong Bei Wang West
Road, Haidian District, Beijing P.R.China 100193



James Lampert <jamesl@xxxxxxxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
11/28/2012 01:42 AM
Please respond to
Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx>


To
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>,
cc

Subject
Tomcat's Shutdown.sh doesn't. At least not reliably. (7.0.25) -- Anybody
know how to get a thread dump of a job?






About an hour ago, I posed this question to the Tomcat list (at
apache.org):

Running Tomcat on various AS/400s (V6R1 or later OS), we've found
that shutdown.sh doesn't reliably shut down the server, and we
frequently have to shut it down forcibly (i.e., finding CATALINA on a
WRKACTJOB, and giving it a "4" with "OPTION(*IMMED)").

Port 8009 does appear to be open before we call shutdown.sh, and it
does appear to be closed after we call it.

Or where I should look for indications of what it could be?


On the Tomcat list, Chuck Caldarale suggested:
Can you take a thread dump of the Tomcat process after shutdown.sh
has been used?

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F


Unfortunately, the link he gave me doesn't say anything about how to get
a thread dump on an AS/400.

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.