-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chuck,

On 6/24/13 5:19 PM, Caldarale, Charles R wrote:
>> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Subject: Re:
>> Strange tomcat error and running out of file handles
> 
>>> SEVERE: Unable to process request in NioReceiver 
>>> java.lang.ThreadDeath at
>>> java.lang.Thread.stop(Thread.java:758) at
>>> net.bull.javamelody.Action.stopThread(Action.java:388)
> 
>> Looks like your application is calling Thread.stop().
> 
> In case the OP is unaware, _any_ use of Thread.stop() is a serious
> mistake. The Javadoc description warns against its usage, but the
> warning is nowhere near strong enough:

+1

> stop() Deprecated.
> 

Specifically, this part:

> " This method is inherently unsafe. Stopping a thread with
> Thread.stop causes it to unlock all of the monitors that it has
> locked (as a natural consequence of the unchecked ThreadDeath
> exception propagating up the stack). If any of the objects
> previously protected by these monitors were in an inconsistent
> state, the damaged objects become visible to other threads,
> potentially resulting in arbitrary behavior. [...]"

Sounds an awful lot like what the OP is observing, here.

It appears to be Java Melody that is calling stop() on that thread. I
suppose it's possible that the tool (Melody) is being used to perform
unwise operations.

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

iQIcBAEBCAAGBQJRyMPxAAoJEBzwKT+lPKRYdckQAKfdNnDhiNruz7zwEIxMvfyL
zhhxr0Z9ihAGja0VKFsXXwNtuzZeWR2dRclxORbkk0MVWkd4NjgMnIbiw1/dpZgJ
/0UuUG7Ji3PuOWSEzTVPqbTTaMKk+QpTXzdj0yflf07/DldN8IAkLykcSdRuFF6Y
JTTkywwbFXKfIuFy9u2R+7Si+u7T/W5U8fs19BhSj4k3p9meYt/UW2FYk5nkqI+r
eZKJ1hKl58K9gXGJDPuivMbeOlsp4PdxWfkH+76GkQ9s23P+VOtnq6/Pl5YHOm/F
2v7MyEkacAfAILWYmtyvMcYnlZL+fJEm99ZQepqlfUMX2pByZzuNsVJxQOq9HYF2
FvDqKkYcMMz9ABf/5ksy6ICmiv9P1t1mlqD5D/vdlaXjNFucW/Eo3bDUVsjyI1P5
2Khc4GZkq39JqDpjqrqS4+zbIxwpydnrrkLS5YnBrsaZpDQ8M4mRHOxkuEK8TQhG
xFp6NajhdGhwFIWjOfiSaXjiZsQ22cusxryz73RdMt58R8ztNKe8r21Tcwmg5UTn
FIUs+skAWTX2l50xxgP1IUpHU6AW2BAGekCwtPoxP+9JyKDhzpqDYZxuKBR8u1pz
e7aXOUDfPlcuGwrdpsgyfutH0PhMHfjkESEvo+N6NQAuisJHurZfSKEHQJe2TMQd
3aX4O1S+/ZcBfBe4ZGBu
=DuXA
-----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