JVM crashes with configured debug port

Java Add comments

This weekend I had to experience that running a Tomcat in a JVM with debug settings configuring is not suited for productive environments. After the first instance suddenly stopped working I did not suspect that the debug setting were to blame but after the second one died the same mysterious way my suspicion hardened.

The following line in the log file made it clear:

ERROR: transport error 202: handshake failed - received get - excepted jdwp-handshake ["transport.c",L41]
JDWP exit error JVMTI_ERROR_NONE(0): could not connect, timeout or fatal error jdwp-handshake

It is a known Sun JVM bug that the JVM crash when JDWP port is “pinged” or “scanned”. So be careful and do not forget to remove the debug setting before leaving the server unobserved.

2 Responses to “JVM crashes with configured debug port”

  1. GD Says:

    Thanks for the post!

  2. kolemik Says:

    Thanks a lot! :)

Leave a Reply



WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in