Using the My Oracle Support Portal (MOSC)

MOSC Banner

Thread dumps with JDK7(1.7.0_80) not working on Weblogic 10.3.4.0

edited Sep 8, 2016 10:59AM in Using the My Oracle Support Portal (MOSC) 5 commentsAnswered

We use a python script with WLST commands for hogging thread monitoring as well as capturing thread dumps.

Below is the WLST command we use to capture the thread dump.

cd("/ServerRuntimes/" + managedServerName)

cd('JVMRuntime/'+managedServerName)

dump=cmo.getThreadStackDump()

It works fine with JDK 6(jrockit-jdk1.6.0_26-R28.1.4-4.0.1) but does not work with JDK7(1.7.0_80).

The weblogic version is 10.3.4.0.

The pythong version is 2.4.3

The output for cmo.getThreadStackDump() is None.

We tried to execute the same command through WLST console and below is the output we got. The same thing works with JRockit6.

wls:/snet/domainRuntime/ServerLifeCycleRuntimes/psnitest3-snet-app1/ServerRuntimes/psnitest3-snet-app1/JVMRuntime/psnitest3-snet-app1> cmo.getThreadStackDump()

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center