Following this page, I tried to get all the list of incident logs using listIncidents() WLST command.
Inspite of some existing incidents on the 'adr/diag/ofm....incident' directory, the command output nothing.
Could someone point me out if there is any issue with the command. Here is the console output for WLST command run
wls:/offline> connect('weblogic', 'weblogic1', 't3://slc02jtl.us.oracle.com:7101')
Connecting to t3://slc02jtl.us.oracle.com:7101 with userid weblogic ...
Successfully connected to Admin Server 'DefaultServer' that belongs to domain 'DefaultDomain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Incident Id Problem Key Incident Time Here is the listing actual existing incidents
[vsingava@slc02jtl incident]$ pwd
[vsingava@slc02jtl incident]$ ls -lrt
drwxr----- 2 vsingava dba 4096 Jan 11 08:45 incdir_1
You need to create the incidents manually first, then you can list down the same using the command. Please find the metalink id for the same.
When and How to Manually Generate Incidents for Fusion Diagnostics Troubleshooting [ID 1373056.1]
If this helps please mark.
Thanks for your response. I took a look at the pointed metalink. But one would need to create an incident manually, only if a specific exception would not get logged as incident right?
Are you saying incidents created by application automatically, in the event of some exception, would not be listed using the command?
My requirement is to be able fetch already automatically logged incidents using WLST commands.