Tuesday, May 17, 2016

JDB remote debugging locking Oracle WebLogic Server 11g

Problem:

Are you trying to do remote JDB debugging on Oracle WebLogic Server 11g and the server locks up? The cluster, the AdminServer, the EM Console... everything simply locks up.

Here are the standard settings you may be accustomed to using:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=7009,suspend=n


Solution:

This is a bug which was fixed in Java SE 8 update 72, released in January, 2016.

Once workaround is to change the suspend=n portion of the debug flag to suspend=y, allowing the port to never lock and the JVM can be created. Alternatively, use any version of Java SE 8 from update 72 or later to avoid this issue.


References:

  • Oracle Doc ID 2104909.1





No comments: