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



Tomcat won't shut down while there are non-daemon threads running. Make sure all the threads you start are daemon threads or monitor the shutdown and end them. Be especially careful of JDBC connections. Make sure the connections are closed.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Tuesday, November 27, 2012 11:42 AM
To: Java Programming on and around the iSeries / AS400
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_m
y_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

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