Diagnosing Engine Crashes Logging Enhancements

24-10 Publishing Reports to the Web with Oracle Reports Services Location of Audit Log Files Oracle Reports audit log files are located at : ■ For J2EE applications: DOMAIN_HOMEserversWLS_ REPORTSlogsauditlogsReportsServeraudit.log ■ For J2SE components: ORACLE_ INSTANCEauditlogsReportsServerReportsServerComponentaud it.log Audit Log Example Following is an example for audit log: 2008-09-10 13:15:32.263 - CheckAuthorization true Authorization of user username passed for webcommand showjobs. - 0000HlCPYyE2VOJpMkH7ie18lwWx000001,0 - - - - 12 - - - - - - 2008-09-10 13:15:25.247 - UserLogin true Authentication of user username passed. - 0000HlCPYyE2VOJpMkH7ie18lwWx000001,0 - - - - 12 - - - - - - 2008-09-10 13:15:25.310 - CheckAuthorization true Authorization of user username passed for webcommand showjobs. - 0000HlCPYyE2VOJpMkH7ie18lwWx000001,0 - - - - 12 - - - - - - 2008-09-10 13:15:32.263 - CheckAuthorization true Authorization of user username failed for webcommand showjobs. - 0000HlCPYyE2VOJpMkH7ie18lwWx000001,0 - - - - 12 - - - - - - 2008-09-10 13:15:25.247 - UserLogin true Authentication of user username failed. - 0000HlCPYyE2VOJpMkH7ie18lwWx000001,0 - - - - 12 - - - - - - 2008-09-10 13:15:25.310 - CheckAuthorization true Authorization of user username failed for webcommand showjobs. - 0000HlCPYyE2VOJpMkH7ie18lwWx000001,0 - - - - 12 - - - - - -

24.3.3 About WLST

The WebLogic Scripting Tool WLST is a command-line scripting interface, that helps you to perform administrative tasks and initiate WebLogic Server configuration changes to WebLogic Server instances and domains. You can invoke the WLST shell by running the following command: ORACLE_HOMEcommonbinwlst.sh wls:offline connectweblogic,weblogic, hostname:7001 wls:domain2serverConfig domainRuntime

24.3.3.1 Using WLST Commands for System Components

You can use the following WLST commands to run the Reports Components: You can invoke the WLST shell by running the following command: ORACLE_HOMEcommonbinwlst.sh wls:offline connectweblogic,weblogic, hostname:7001 wls:domain2serverConfig domainRuntime wls:domain2domainRuntime listLogstarget=opmn:cinst56ReportsServer_hostname_ cinst56 file:hostnamescratchrrpaicinst56diagnosticslogsReportsServerComponentRepo rtsServer_hostname_cinst56server_diagnostic.log 2008-10-27 02:59:47 302K server_diagnostic.log file:hostnamescratchrrpaicinst56diagnosticslogsReportsServerComponentRepo rtsServer_hostname_cinst56rwEng-0_diagnostic.log 2008-10-27 02:59:13 7.3K rwEng-0_diagnostic.log Diagnosing and Tuning Oracle Reports 24-11 wls:domain2domainRuntime displayLogstarget=opmn:cinst56ReportsServer_ hostname_cinst56, tail=10 [2008-10-27T02:31:52.133-07:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname] [nwaddr: 144.20.207.149] [tid: 10] [ecid: 0000HoxdIF14EwQRyaQ5T0191Oe7000001,0] ServerConfig:logConf server version=11.1.1.0.0 xmlns=http:xmlns.oracle.comreportsserver[[ [2008-10-27T02:44:38.684-07:00] [reports] [INCIDENT_ERROR] [REP-50125] [oracle.reports.engine] [host: hostname] [nwaddr: 144.20.207.149] [pid: 18787] [tid: 10] [ecid: 0000HoxgDPr4EwQRyaQ5T00004_Z000000,0] [EngineName: rwEng-0] REP-50125 : org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No [[ …… wls:domain2domainRuntime displayLogstarget=opmn:cinst56ReportsServer_ hostname_cinst56, tail=10, query=MODULE_ID equals oracle.reports.server [2008-10-27T02:31:01.085-07:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname] [nwaddr: 144.20.207.149] [tid: 10] [ecid: 0000Hoxd5lP4EwQRyaQ5T0191OdK000001,0] ServerConfig:logConf server version=11.1.1.0.0 xmlns=http:xmlns.oracle.comreportsserver[[ [2008-10-27T02:59:47.383-07:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname] [nwaddr: 144.20.207.149] [tid: 10] [ecid: 0000HoxjfEr4EwQRyaQ5T0191P4I000001,0] ServerConfig:logConf Reading server config file wls:domain2domainRuntime exit

24.3.3.2 Using WLST Commands for Java EE Components

You can use the following WLST commands to run the Reports Components: You can invoke the WLST shell by running the following command: ORACLE_HOMEcommonbinwlst.sh wls:offline connectweblogic,weblogic, hostname:7001 wls:domain2serverConfig domainRuntime wls:domain2domainRuntime listLoggerstarget=WLS_REPORTS ---------------------------------------------------------------------------------- ---+----------------- Logger | Level ---------------------------------------------------------------------------------- ---+----------------- root | WARNING:1 com.sun.xml.bind.v2.ClassFactory | Inherited .... oracle.reports.adminlogconfig | Inherited oracle.reports.configMbeans | Inherited oracle.reports.engine | NOTIFICATION:1 oracle.reports.server | NOTIFICATION:16 oracle.reports.servlet | NOTIFICATION:1