3 Replies Latest reply: Jan 22, 2013 10:20 PM by 720834 RSS

    Listing incident log information using WLST commands

    720834
      Hi,
      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.

      wls:/DefaultDomain/serverConfig> listIncidents()
      Incident Id Problem Key Incident Time


      Here is the listing actual existing incidents

      [vsingava@slc02jtl incident]$ pwd
      /scratch/vsingava/view_storage/vsingava_CRC_Impl2/.jdev_user_home/system11.1.1.7.40.64.11/DefaultDomain/servers/DefaultServer/adr/diag/ofm/fusionapps/Configurator/incident
      [vsingava@slc02jtl incident]$ ls -lrt
      total 4
      drwxr----- 2 vsingava dba 4096 Jan 11 08:45 incdir_1
      [vsingava@slc02jtl incident]$