Diagnostic dumps in Oracle Fusion Middleware / weblogic

In previous post, we have discussed how to take thread dumps, these are jvm thread dumps. However, I always kept wondering, if I am having an issue with adapter or connection pool, wouldn’t it be nicer to have dumps specifically for adapter. Well, yes, it is possible to take different dumps using wlst. This post shows how to find out what options are available and how to find them.

Connect to server using wlst,
$WL_HOME/common/bin/wlst.sh or wlst.cmd
connect(‘weblogic’, ‘mypassword’,’t3://Serverhost:serverport’)
Once you are connected, you can use command listDumps() which will gives you dumps those can be dumped. Let us see :


wls:/base_domain/serverConfig> listDumps()

OSB.derived-caches
OSB.jms-async-table

adf.DiagnosticsJarsVersionDump

OSB.mq-async-table
dfw.samplingArchive
dms.configuration

http.requests

dms.ecidctx
dms.metrics
dms.perThreadSensorDump
jvm.classhistogram

mds.exportSandboxMetadataDump

jvm.threads
mds.MDSInstancesDump
mds.exportMetadataDump

opss.diagTest

mds.listMetadataLabelsDump
odl.activeLogConfig
odl.logs
odl.quicktrace

opss.identityStoreUserRoleApiConfig

opss.securityContext

wls.image

Now, these dumps are taken from admin server. If you want to take dumps for SOA server, connect to SOA server. Again here in connect you need to give port for soa server, instead of admin. In order to take dumps related to SOA infra use command as below:

connect(‘weblogic’,’mypassword’,t3://localhost:8001’)


wls:/ecs12c_domain/serverConfig> listDumps(appName='soa-infra')

adf.ADFConfigDiagnosticDump
adf.ADFConfigPropertiesDump
bpel.apd

soa.adapter.ra

bpel.apt
bpel.dispatcher
mediator.resequencer
soa.adapter.connpool

soa.edn

soa.adapter.stats
soa.composite
soa.composite.trail
soa.config
soa.db
soa.env

soa.wsdl


webservices.servlet

This are dumps which are available. Nows, once you know which dump to be taken you can take dumps using second option in previous post :

executeDump(name='jvm.classhistogram',outputFile='ThreadDumpLocation’)

executeDump(name='soa.adapter.connpool', appName='soa-infra',outputFile='ThreadDumpLocation')

Please note the difference in first on second one. in second-one we have give appName also as input parameter.

Hope, this post helps you to find different options available while dumping threads.

Comments/ feedback / suggestions corrections are welcome!!

Thank you.

Note : This is tested in weblogic 12.1.3.0 and availability of these options is based on weblogic version

Leave Comment

Your email address will not be published. Required fields are marked *