Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 187525

Summary: Confusing error messages in servicelog.log file
Product: z_Archived Reporter: Joe Toomey <jptoomey>
Component: TPTPAssignee: Jonathan West <jgwest>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jkubasta, xubing
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: closed460
Attachments:
Description Flags
Patch to Bug 187525 none

Description Joe Toomey CLA 2007-05-17 08:38:57 EDT
Normal use of AC results in several messages in the servicelog.log file that indicate errors, but which are, in fact, innocuous.  This causes some confusion for support and for power users who look in the log to do problem determination, and waste time investigating these non-issues.  Examples include unrecognized command errors and unrecognized interface errors:

<CommonBaseEvent creationTime="2007-05-15T18:09:23.727000Z" globalInstanceId="AD60A8AC46FA4BFFA193960A65CC1B40" msg="CCTL Received unrecognized command: iid=org.eclipse.tptp.agentManager, cmd=agentDeregistered" severity="50" version="1.0.1">
	<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200705080102\agntctrl\src\transport\TPTPClientCompTL\Connect2AC.c, line 1648" instanceId="1004" location="wus-jtoomey04.rationalnt.ibm.com" locationType="IPV4" processId="9476" subComponent="Client Compatibility TL" threadId="9160" componentType="Eclipse_TPTP"/>
	<situation categoryName="ReportSituation">
		<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
	</situation>
</CommonBaseEvent>

<CommonBaseEvent creationTime="2007-05-15T18:08:36.446000Z" globalInstanceId="AF68588A76AA4B65A8A041248BD0CB84" msg="Received command for unrecognized interface: iid=org.eclipse.tptp.eventProvider, cmd=listenerAccepted" severity="50" version="1.0.1">
	<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200705080102\agntctrl\src\transport\TPTPClientCompTL\Connect2AC.c, line 2200" instanceId="1004" location="wus-jtoomey04.rationalnt.ibm.com" locationType="IPV4" processId="9476" subComponent="Client Compatibility TL" threadId="8776" componentType="Eclipse_TPTP"/>
	<situation categoryName="ReportSituation">
		<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
	</situation>
</CommonBaseEvent>
Comment 1 jkubasta CLA 2007-05-18 08:53:19 EDT
Not high enough priority to address in 4.4 given other remaining work
Comment 2 Bing Xu CLA 2008-01-18 11:39:27 EST
Jonathan,  I tried with latest AC with SampleClient.   The log file contains this:

<CommonBaseEvent creationTime="2008-01-18T16:31:05.499000Z" globalInstanceId="A2EC49DB53DD4BC0BEC45B7D91174222" msg="Received command for unrecognized interface: iid=org.eclipse.tptp.eventProvider, cmd=listenerAccepted" severity="50" version="1.0.1">
	<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.5.0\TPTP-4.5.0-200712211700\agntctrl\src\transport\TPTPClientCompTL\Connect2AC.c, line 2238" instanceId="1004" location="bing.torolab.ibm.com" locationType="IPV4" processId="3012" subComponent="Client Compatibility TL" threadId="5852" componentType="Eclipse_TPTP"/>
	<situation categoryName="ReportSituation">
		<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
	</situation>
</CommonBaseEvent>

The fix has to be done on the native side.  Can you take a look.
Comment 3 jkubasta CLA 2008-03-04 12:19:41 EST
Needed by a consuming product
Comment 4 Jonathan West CLA 2008-04-18 13:48:40 EDT
Created attachment 96628 [details]
Patch to Bug 187525

Patch fixes the two event messages listed by both Bing and Joe, above.
Comment 5 Bing Xu CLA 2008-04-22 10:12:11 EDT
Patch looks good.
Comment 6 jkubasta CLA 2008-04-22 11:27:28 EDT
patch committed to head
Comment 7 Paul Slauenwhite CLA 2009-06-30 12:11:17 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.