-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chuck,
On 2/18/14, 5:38 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Unable to shutdown tomcat > >>> "Thread-5" daemon prio=5 tid=7fe82c1f7000 nid=0x10c4bb000 >>> waiting for monitor entry [00000000] java.lang.Thread.State: >>> BLOCKED (on object monitor) > >> This thread might be a problem. > > Nope - it's a daemon, so it will go away quietly when the JVM shuts > down. > >>> "AWT-AppKit" daemon prio=5 tid=7fe82f10d000 nid=0x7fff7a5b3960 >>> runnable [00000000] java.lang.Thread.State: RUNNABLE > >> This thread might be a problem. > > Nope - it's a daemon, so it will go away quietly when the JVM shuts > down. I didn't necessarily mean that these threads would stop Tomcat (nay, the JVM) stopping... I just meant that they could be problematic. That's why I said in my summary that "you should look-into those two other threads to make sure they are handled properly, otherwise you risk memory leaks". >>> "main" prio=5 tid=7fe82c001800 nid=0x10448e000 runnable >>> [10448b000] java.lang.Thread.State: RUNNABLE at >>> sun.security.pkcs11.wrapper.PKCS11.C_GetSlotList(Native Method) >>> at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:314) at >>> sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:86) at > >> The main thread definitely looks like it's doing something a bit >> odd. > > Yes, this is the culprit. Since it's off in native code, it's much > more difficult to figure out what it's stuck on. The > C_GetSlotList() function would normally return immediately, so this > one's very strange. If there are additional crypto libraries > installed beyond the one that ships with the JVM, it might be hung > up in one of those. I might have guessed something mundane such as lack of entropy available to a crypto method, but it doesn't seem like that particular method would need any entropy at all. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTBAeWAAoJEBzwKT+lPKRYCqkP/27U+keX4LwfOUhBo1bwmDgZ s5wnDsEUIqj3t662sblM4XbGOaz9lBWlmkoYNYTQUqZS8fiXJgncTrM4zQWWhaNM ZtiIuu+wTQA5BSuNqS2oPddQZ21cL5o39G3RYIEo69gRH+UUmnSakgWHwnMH9DWP OrbU3E3Bp0Vkwn2IBS+QJuIOg2i/xqxdqY/bIHbJEYPOTL6CTD5AvAo0kwcj2zbG jn8LLkhvIAvLOWo4G6T/T+Gdto7P5AcyhamVz8RhYtYSXGMMRRenXjYvWt82CDKE sFy6raoJ8P5tUxLYyKPPbpp8kOVRlEssoIxkhg6hD8hvZvuK7ecJk9iJPSSJt8ny ixIl0KDK87DggDyc/hjzMlMRW4qR6EJ6NtFl5Yvsl+OX1x3BNV0AeztlWgpqvFIO CiKBpNL83G7n1zwUTrA6lPp1xzMj2vwrXfwcFMwPotZa1IloR9TCpBHjvL5FZhke j6OhGjBJ4pVreQRigdXMBYVWs9czmc7NYJAeOJo4ziZ1hBhNxiYyQqfAOkgkLkge MFKuQ9zPXYeEtdG+xnGo6fEBOsQ4ifhawFyUOTnMc3yVtNzwBsL/jLWe9ZBkAYM1 gdrJ4YGK1nqpLc5pi+b0RHKDUVqatHNVkpyKVhZt7GKHx01Zh2IBzvgh/vEw7tf5 gja+iPo64UB6JPC5mKdp =lfGm -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org