Thread dumps with JDK7(1.7.0_80) not working on Weblogic 10.3.4.0
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()