myLogParser sample fails to import (hangs 4ever) [message #35135] |
Thu, 13 October 2005 10:42  |
Eclipse User |
|
|
|
Hello,
I am trying out the sample log parser from the tutorial
http://www.eclipse.org/tptp/home/documents/tutorials/gla/GLA _CreatingLogParser/GLA_CreatingLogParser.viewlet/GLA_Creatin gLogParser_viewlet_swf.html
When I try import the sample log file the progress quickly goes to 98%, then
seems to hang indefinitely (for minutes, at least). When I cancel I get an
error message
IWAT0027E Error importing the specified log file(s)
The details have around 18.000 entries, so many that the output is garbled
up, but I can copy-paste to a text editor. The output looks like this:
==========snip===========
IWAT0027E Error importing the specified log file(s).
IWAT0412E Errors occurred parsing the log file d:\Temp\sample.log.
IWAT0398I Sensor will read file sample.log from directory d:\Temp using
the converter command null.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 5 items.
IWAT0425I Component OS File Sensor is returning 1 items.
IWAT0425I Component OS File Sensor is returning 0 items.
IWAT0425I Component OS File Sensor is returning 0 items.
IWAT0425I Component OS File Sensor is returning 0 items.
==========snap===========
then repeat the last line "to infinity". Eclipse seems to be missing the
fact that the file is at it's end.
Can anybody help? More info required?
This is the configuration:
WinXP
eclipse 3.1.1
EMF 2.1.0
TPTP 4.0.0
RAServer 4.0.0.0
Thanks,
Norbert Ploett
|
|
|
|
|
|
|
Re: myLogParser sample fails to import (hangs 4ever) [message #35306 is a reply to message #35270] |
Fri, 14 October 2005 05:34  |
Eclipse User |
|
|
|
The question "Where does my output go"? led me to the solution. It can also
be found in the documentation (at least partially):
Help book Monitoring and analyzing ... --> Determining problems ...-->
Creating a log parser --> Creating a rules-based adapter --> Configuring the
outputter component
says:
"4. ... Update the Name, Description and Executable Class for the Outputter.
Refer to the Configuration file structure reference to obtain the correct
name of outputter classes to use. In the example below, the outputter has
been changed to use the LogImportOutputter which receives Common Base Event
instances and writes the externalized records to the Log Import loader of
the Log and Trace Analyzer."
In the demo the outputter type is preset to LoggingAgentOutputter, and
consequently the output goes nowhere and nothing is shown in the Log View.
BTW when I follow the link to the Configuration file structure then the
LogImportOutputter is not listed there so the list does not seem to be
up-to-date. The LogImportOutputter can of course be found with the java
search, but that is not the way it is supposed to be.
OK, so now I have answered all my own questions, maybe others can learn
something from it. (I sure learned a lot)
I hope that it was not all my fault by making some blunder, but I think
somebody should look through the demo example and documentations.
Bye,
Norbert
|
|
|
Powered by
FUDForum. Page generated in 0.06350 seconds