Monday, August 10, 2009

Dumping the content of a Diagnostic File Store

if in WLST you try:

openfilestore(store, dir='.', create='false')

and you get this:

Traceback (innermost last):
File "", line 1, in ?
File "", line 66, in openfilestore
TypeError: getParam(): 2nd arg can't be coerced to String

don't cry (or, rather, cry but don't despair).
You can still use


openfile -store WLS_DIAGNOSTICS -dir /path/to/data/store/diagnostics

dump -store WLS_DIAGNOSTICS -out /tmp/diags.log

this should give you statistics about the content of the file (events)

No comments: