-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James,

On 11/27/12 3:56 PM, James Lampert wrote:
> Christopher Schultz wrote:
> 
>> Maybe use DMPJVM? Sorry for the through-Google link [PDF]:
> 
> THANKS! Never heard of such a thing until you brought it to my 
> attention, and it's enough of an eye-opener that I would have
> gladly forgiven even a through-LMGTFY link.
> 
> DMPJVM looks like it may be just the thing. I don't want to risk 
> unnecessarily disrupting anybody right now, but later this
> afternoon, I'm going to run some test shutdowns.

If you get it figured out, please amend the wiki to include
instructions for AS/400. I don't have an AS/400 system handy, so I
can't do it myself. I'd probably go mad in the process, anyway ;)

I found some instructions for iSeries on the SAP website
(http://www.stechno.net/sap-notes.html?view=sapnote&id=710154) but I
wasn't going to copy-and-paste that or even link to it unless it
actually made some kind of sense.

> Among the responses I got on java40...@midrange.com, one fellow
> user remarked that he'd been seeing the same phenomenon, and
> another had this comment:
>> Tomcat won't shut down while there are non-daemon threads
>> running.
> 
> Still another turned me on to WRKJVMJOB (yet another command I'd
> never heard of). Applying option 11 of that ("Display Threads") to
> the QP0ZSPWT job (the only active QP0ZSPWT in the system, evidently
> slaved to the CATALINA job), I get: Thread      Name
> Status 0000515F    main              TIMW 00005162    JIT
> Compilatio >  THDW 00005164    JVMTI event re >  THDW 00005165
> Signal Dispatc >  THDW 00005167    Gc Slave Thread   THDW 00005168
> i5/OS informat >  JVAW 0000516A    MemoryPoolMXBe >  THDW 0000516B
> Attach API wai >  SEMW 0000516C    GC Daemon         THDW 0000516D
> Finalizer thread  THDW 00005172    ContainerBackg >  THDW 00005173
> http-bio-8080- >  TIMW 00005174    http-bio-8080- >  THDW 00005175
> http-bio-443-A >  TIMW 00005176    http-bio-443-A >  THDW 00005177
> ajp-bio-8009-A >  TIMW 00005178    ajp-bio-8009-A >  THDW 000051BB
> http-bio-443-e >  THDW 000051BC    http-bio-443-e >  THDW 000051BD
> http-bio-443-e >  THDW 000051BE    http-bio-443-e >  THDW 000051BF
> http-bio-8080- >  THDW 000051C0    http-bio-8080- >  THDW 000051C1
> http-bio-8080- >  THDW 000051C4    http-bio-443-e >  THDW 000051DD
> http-bio-443-e >  THDW 000051DE    http-bio-443-e >  THDW 000051DF
> http-bio-443-e >  THDW 000051E0    http-bio-443-e >  THDW 000051E1
> http-bio-443-e >  THDW 000051E8    Java2D Disposer   THDW 000051F6
> http-bio-8080- >  THDW 000051F7    http-bio-8080- >  THDW 000051F8
> http-bio-8080- >  THDW 000051F9    http-bio-8080- >  THDW 000051FA
> http-bio-8080- >  THDW 000051FC    http-bio-8080- >  THDW 0000520B
> http-bio-8080- >  THDW (funny, a few seconds ago, it didn't have
> nearly that many threads; evidently it is indeed currently in use).
> I note that option 12 appears to be plumbed into DMPJVM.

That certainly looks like a thread list at least. Now you just need to
try to get the stack trace of each of those threads.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC1RPQACgkQ9CaO5/Lv0PDZ8QCgkpIOtziAQN6EmyIP0st/uJmx
5C8AmwZyyt+UlH8/+93MddR5VJqO26Dr
=VXVF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to