This discussion is archived
1 Reply Latest reply: Nov 28, 2009 5:45 AM by 669362 RSS

exportDiagnosticData & exportDiagnosticDataFromServer

669362 Newbie
Currently Being Moderated
Hi,

2 questions about extracting harvesteddata :
1. When i use exportDiagnosticData i get an xml file without data. The files contains only the description of columns :
<?xml version='1.0' encoding='utf-8'?>
<DiagnosticData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/diagnostics/accessor/export.xsd export.xsd" xmlns="http://www.bea.com/ns/weblogic/90/diagnostics/accessor/Export">
<DataInfo>
<ColumnInfo><Name>RECORDID</Name><Type>java.lang.Long</Type></ColumnInfo>
<ColumnInfo><Name>DATE</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>SEVERITY</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>SUBSYSTEM</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>MACHINE</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>SERVER</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>THREAD</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>USERID</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>TXID</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>CONTEXTID</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>TIMESTAMP</Name><Type>java.lang.Long</Type></ColumnInfo>
<ColumnInfo><Name>MSGID</Name><Type>java.lang.String</Type></ColumnInfo>
<ColumnInfo><Name>MESSAGE</Name><Type>java.lang.String</Type></ColumnInfo>
</DataInfo>
</DiagnosticData>

2. I get the following exception when running the exportDiagnosticDataFromServer command :
Response: '401: Unauthorized' for url: 'http://...:8001/bea_wls_diagnostics/accessor?logicalName=HTTPAccessL
og&query=&beginTimestamp=0&endTimestamp=9223372036854775807'


Thx for your help.
Emmanuel

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points