Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Slave JVM freezes on Windows when started from SSH

Revision as of 21:08, 14 December 2012 by Scott.fisher.oracle.com (Talk | contribs) (New page: On some occasions, a slave JVM freezes when using <code>stdout/stderr</code> for communicating with the master. The characteristics of this problem are: * Only on Windows * Slave uses its...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

On some occasions, a slave JVM freezes when using stdout/stderr for communicating with the master. The characteristics of this problem are:

  • Only on Windows
  • Slave uses its stdout/stderr for communication. This includes launching a slave via command line and via SSH.
  • You cannot attach JConsole to the hanging process
  • Process Explorer fails to show you the thread list of the hanging process

Adding a debug option to JVM can help with the problem. That is, start JVM like this:

java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=29999 -jar slave.jar

Copyright © Eclipse Foundation, Inc. All Rights Reserved.