Yes, this is a bug. It only occurs when the eserver goes down in the middle of a session. I will log it to Jira.

Cheers,
Philip

--On Sunday, November 14, 2004 4:32 PM -1000 Burt Leung <[EMAIL PROTECTED]> 
wrote:

Hello Everyone,

I found out that the "tool" field is set to "Sensor Shell" whenever offline
data is sent following a sensor restart. Therefore this affects not only the
Jira sensor but other sensors as well.

For example:
I started up my localhost hackystat server (LHS) and Eclipse. I did some
work and the Eclipse sensor sent data normally. Then I did a shutdown of LHS
and then I shutdown Eclipse. Looking at the SensorShell logs for Eclipse
shows that during the period that LHS was shutdown the sensor data created
was stored offline.
I then restarted LHS and then restarted Eclipse. The SensorShell logs show
that the Eclipse sensor sent the offline data on startup. I looked at the
LHS account webpage and verified that those entries recovered offline shows
the "tool" as "Sensor Shell" instead of "Eclipse."

Here is an excerpt of the Eclise SensorShell logs: (commented)

/** @@@ Both Hackystat and Eclipse are running from the beginning */

Hackystat Version: 6.2.1016 (October 16 2004 10:39:00)
SensorShell started at: 11/14/2004 15:48:45
Type 'help' for a list of commands.
Host: http://localhost:8080/ is not available or key not valid.
Defined shell command: Issue
Defined shell command: Perf
Defined shell command: FileMetric
Defined shell command: ReviewIssue
Defined shell command: Activity
Defined shell command: Cli
Defined shell command: ReviewActivity
Defined shell command: Coverage
Defined shell command: BuffTrans
Defined shell command: Commit
Defined shell command: UnitTest
Defined shell command: Build
AutoSend not enabled.
Server not available; offline data not recovered this session.
#> Activity [setTool, Eclipse]
setTool OK
#> Activity [add, Open File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens
or/usermap/SensorShellMap.java]
Activity add OK (1 total)
#> ReviewActivity [setTool, Jupiter]
setTool OK
#> ReviewIssue [setTool, Jupiter]
setTool OK
#> Activity [add, Open File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi
n/SensorProperties.java]
Activity add OK (2 total)
#> ReviewActivity [add, , individual, , ]
ReviewActivity add OK (1 total)
#> Activity [statechange,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi
n/SensorProperties.java, 7802]
Activity statechange OK (initial file name and buffer size)
#> Activity [add, Close File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor
/jira/JiraSensor.java]
Activity add OK (3 total)
#> Activity [add, Close File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi
n/SensorProperties.java]
Activity add OK (4 total)
#> Activity [add, Open File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens
or/usermap/TestSensorShellMap.java]
Activity add OK (5 total)
#> Activity [add, Close File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens
or/usermap/SensorShellMap.java]
Activity add OK (6 total)
#> Activity [add, Close File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens
or/usermap/TestSensorShellMap.java]
Activity add OK (7 total)
/** @@@ At this point I shutdown Eclipse and a send was done. The Hackystat
server had been shutdown a little bit before this was done */
#> send
Server not available. Storing commands offline.



/** @@@ During this time I restarted Hackystat and then restarted Eclipse.
You can tell in the upcoming log entry that it is sending the offline data.
Looking at the Hackystat webpage shows that the offline entries show the
tool as "Sensor Shell" instead of "Eclipse". */


Hackystat Version: 6.2.1016 (October 16 2004 10:39:00) SensorShell started at: 11/14/2004 15:55:01 Type 'help' for a list of commands. Host: http://localhost:8080/ is available and key is valid. Defined shell command: Issue Defined shell command: Perf Defined shell command: FileMetric Defined shell command: ReviewIssue Defined shell command: Activity Defined shell command: Cli Defined shell command: ReviewActivity Defined shell command: Coverage Defined shell command: BuffTrans Defined shell command: Commit Defined shell command: UnitTest Defined shell command: Build AutoSend not enabled. Checking for offline data to recover. #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor /jira/JiraSensor.java] Activity add OK (1 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/issue/ sdt/IssueShellCommand.java] Activity add OK (2 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (1 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (2 total) #> Activity [add, State Change, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor /jira/JiraSensor.java] Activity add OK (3 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/TestSensorShellMap.java] Activity add OK (4 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (3 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/command/ShellCommand.java] Activity add OK (5 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (4 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/SensorShellMap.java] Activity add OK (6 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (5 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/command/ShellCommandAdapter.java] Activity add OK (7 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (6 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (7 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (8 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (9 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (10 total) #> Activity [add, State Change, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/command/ShellCommandAdapter.java] Activity add OK (8 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (11 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (12 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (13 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (14 total) #> Activity [add, Save File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/command/ShellCommandAdapter.java] Activity add OK (9 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/command/ShellCommandAdapter.java] Activity add OK (10 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (15 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (16 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/command/ShellCommand.java] Activity add OK (11 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (17 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor /jira/JiraSensor.java] Activity add OK (12 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/issue/ sdt/IssueShellCommand.java] Activity add OK (13 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/SensorShellMap.java] Activity add OK (14 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/TestSensorShellMap.java] Activity add OK (15 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/SensorShellMap.java] Activity add OK (16 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi n/SensorProperties.java] Activity add OK (17 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (18 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor /jira/JiraSensor.java] Activity add OK (18 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi n/SensorProperties.java] Activity add OK (19 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/TestSensorShellMap.java] Activity add OK (20 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/SensorShellMap.java] Activity add OK (21 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/TestSensorShellMap.java] Activity add OK (22 total) #> Build [add, Failure, compile, file:C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/local.build.xml:59: Compile failed; see the compiler error output for details. , project=${ProjectID},configuration=${dailybuild.configuration},dailybuild=tr ue] Build add OK (1 total) #> Build [add, Failure, compile, file:C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/local.build.xml:59: Compile failed; see the compiler error output for details. , project=${ProjectID},configuration=${dailybuild.configuration},dailybuild=tr ue] Build add OK (2 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor /jira/JiraSensor.java] Activity add OK (23 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (19 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (20 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (21 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (22 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (23 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (24 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (25 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (26 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (27 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (28 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (29 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (30 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (31 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (32 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (33 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (34 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (35 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (36 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (37 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (38 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (39 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (40 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (41 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (42 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (43 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (44 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (45 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (46 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (47 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (48 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (49 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (50 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (51 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (52 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (53 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (54 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (55 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (56 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (57 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (58 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (59 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (60 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (61 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (62 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (63 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (64 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (65 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (66 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (67 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (68 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (69 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (70 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (71 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (72 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (73 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (74 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (75 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (76 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (77 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (78 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (79 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (80 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (81 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (82 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (83 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (84 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (85 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (86 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (87 total) #> ReviewActivity [add, , individual, , ] ReviewActivity add OK (88 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor /jira/JiraSensor.java] Activity add OK (24 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/SensorShell.java] Activity add OK (25 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi n/SensorProperties.java] Activity add OK (26 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/SensorShellMap.java] Activity add OK (27 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/shel l/SensorShell.java] Activity add OK (28 total) #> Activity [add, Open File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/TestSensorShellMap.java] Activity add OK (29 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/SensorShellMap.java] Activity add OK (30 total) #> Activity [add, Close File, C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/sens or/usermap/TestSensorShellMap.java] Activity add OK (31 total) Summary of recovered offline data: 11/14/2004 15:40:26#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/s ensor/jira/JiraSensor.java 11/14/2004 15:41:21#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/i ssue/sdt/IssueShellCommand.java 11/14/2004 15:41:21#ReviewActivity#add##individual## 11/14/2004 15:42:10#ReviewActivity#add##individual## 11/14/2004 15:43:26#Activity#add#State Change#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext /sensor/jira/JiraSensor.java 11/14/2004 15:45:06#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/TestSensorShellMap.java 11/14/2004 15:45:07#ReviewActivity#add##individual## 11/14/2004 15:45:11#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/command/ShellCommand.java 11/14/2004 15:45:11#ReviewActivity#add##individual## 11/14/2004 15:45:13#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/SensorShellMap.java 11/14/2004 15:45:14#ReviewActivity#add##individual## 11/14/2004 15:45:17#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/command/ShellCommandAdapter.java 11/14/2004 15:45:17#ReviewActivity#add##individual## 11/14/2004 15:45:22#ReviewActivity#add##individual## 11/14/2004 15:45:24#ReviewActivity#add##individual## 11/14/2004 15:45:28#ReviewActivity#add##individual## 11/14/2004 15:45:29#ReviewActivity#add##individual## 11/14/2004 15:45:56#Activity#add#State Change#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kern el/shell/command/ShellCommandAdapter.java 11/14/2004 15:46:32#ReviewActivity#add##individual## 11/14/2004 15:46:32#ReviewActivity#add##individual## 11/14/2004 15:46:32#ReviewActivity#add##individual## 11/14/2004 15:46:32#ReviewActivity#add##individual## 11/14/2004 15:46:32#Activity#add#Save File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/command/ShellCommandAdapter.java 11/14/2004 15:46:38#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/command/ShellCommandAdapter.java 11/14/2004 15:46:38#ReviewActivity#add##individual## 11/14/2004 15:46:43#ReviewActivity#add##individual## 11/14/2004 15:46:45#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/command/ShellCommand.java 11/14/2004 15:46:45#ReviewActivity#add##individual## 11/14/2004 15:47:54#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/s ensor/jira/JiraSensor.java 11/14/2004 15:47:54#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/i ssue/sdt/IssueShellCommand.java 11/14/2004 15:47:54#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/SensorShellMap.java 11/14/2004 15:47:54#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/TestSensorShellMap.java 11/14/2004 15:48:46#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/SensorShellMap.java 11/14/2004 15:48:56#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /admin/SensorProperties.java 11/14/2004 15:48:56#ReviewActivity#add##individual## 11/14/2004 15:49:27#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/s ensor/jira/JiraSensor.java 11/14/2004 15:49:27#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /admin/SensorProperties.java 11/14/2004 15:49:27#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/TestSensorShellMap.java 11/14/2004 15:49:27#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/SensorShellMap.java 11/14/2004 15:49:28#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/TestSensorShellMap.java 11/14/2004 15:49:45#Build#add#Failure#compile#file:C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/h ackyJira/local.build.xml:59: Compile failed; see the compiler error output for details. # project=${ProjectID},configuration=${dailybuild.configuration},dailybuild=t rue 11/14/2004 15:52:04#Build#add#Failure#compile#file:C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/h ackyJira/local.build.xml:59: Compile failed; see the compiler error output for details. # project=${ProjectID},configuration=${dailybuild.configuration},dailybuild=t rue 11/14/2004 15:53:13#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/s ensor/jira/JiraSensor.java 11/14/2004 15:53:22#ReviewActivity#add##individual## 11/14/2004 15:53:25#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:26#ReviewActivity#add##individual## 11/14/2004 15:53:27#ReviewActivity#add##individual## 11/14/2004 15:53:28#ReviewActivity#add##individual## 11/14/2004 15:53:42#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/s ensor/jira/JiraSensor.java 11/14/2004 15:53:42#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/SensorShell.java 11/14/2004 15:53:43#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /admin/SensorProperties.java 11/14/2004 15:53:43#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/SensorShellMap.java 11/14/2004 15:53:43#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /shell/SensorShell.java 11/14/2004 15:53:43#Activity#add#Open File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/TestSensorShellMap.java 11/14/2004 15:53:43#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/SensorShellMap.java 11/14/2004 15:53:43#Activity#add#Close File#C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel /sensor/usermap/TestSensorShellMap.java

#> send
Sending sensor data (11/14 15:55:02)
  Ping: Ping OK (contacted server http://localhost:8080/ with valid key.)
  AutoSend: AutoSend OK ('send' command ignored)
  Issue: Send OK (No entries to send.)
  Perf: Send OK (No entries to send.)
  FileMetric: Send OK (No entries to send.)
  ReviewIssue: Send OK (No entries to send.)
  Activity: Send OK (31 entries)
  Cli: Send OK (No entries to send.)
  ReviewActivity: Send OK (88 entries)
  Coverage: Send OK (No entries to send.)
  BuffTrans: Send OK (No entries to send.)
  Commit: Send OK (No entries to send.)
  UnitTest: Send OK (No entries to send.)
  Build: Send OK (2 entries)
#> Activity [setTool, Eclipse]
setTool OK
#> Activity [add, Open File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor
/jira/JiraSensor.java]
Activity add OK (1 total)
#> ReviewActivity [setTool, Jupiter]
setTool OK
#> ReviewIssue [setTool, Jupiter]
setTool OK
#> Activity [statechange,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/sensor
/jira/JiraSensor.java, 19235]
Activity statechange OK (initial file name and buffer size)
#> Activity [add, Open File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/issue/
sdt/IssueShellCommand.java]
Activity add OK (2 total)
#> ReviewActivity [add, , individual, , ]
ReviewActivity add OK (1 total)
#> Activity [statechange,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyJira/src/org/hackystat/stdext/issue/
sdt/IssueShellCommand.java, 3703]
Activity statechange OK (no change)
#> Activity [add, Open File,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi
n/SensorProperties.java]
Activity add OK (3 total)
#> ReviewActivity [add, , individual, , ]
ReviewActivity add OK (2 total)
#> Activity [statechange,
C:/__DATA/OFFICIAL_HACKYSTAT_BUILD/hackyKernel/src/org/hackystat/kernel/admi
n/SensorProperties.java, 7802]
Activity statechange OK (no change)
#> ReviewActivity [add, , individual, , ]
ReviewActivity add OK (3 total)
#> ReviewActivity [add, , individual, , ]
ReviewActivity add OK (4 total)




-----Original Message-----
From: Burt Leung [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 14, 2004 1:46 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [HACKYSTAT-DEV-L:304] Re: Issue "tool" field getting
overwritten

Hello Aaron,

Thank you for your input.

I've closely monitored the Jira log file and now my earlier observations
may have been incorrect. Currently what is known is that ALL offline data
has its tool field sent as "Sensor Shell" instead of "Jira".

Here is an excerpt of the log file that is commented:




/** @@@ A log session for both Jira and Hackystat running */

Hackystat Version: 6.3.1114 (November 14 2004 12:05:59)
SensorShell started at: 11/14/2004 13:34:10
Type 'help' for a list of commands.
Host: http://localhost:8080/ is available and key is valid.
Defined shell command: Issue
Defined shell command: Perf
Defined shell command: FileMetric
Defined shell command: ReviewIssue
Defined shell command: Activity
Defined shell command: Cli
Defined shell command: ReviewActivity
Defined shell command: Coverage
Defined shell command: BuffTrans
Defined shell command: Commit
Defined shell command: UnitTest
Defined shell command: Build
AutoSend not enabled.
Checking for offline data to recover.
No offline data found.
#> Issue [setTool, Jira]
setTool OK
#> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTARTED, ,
project=10010,status=In Progress]
Issue add OK (1)
#> send
Sending sensor data (11/14 13:34:11)
  Ping: Ping OK (contacted server http://localhost:8080/ with valid key.)
  AutoSend: AutoSend OK ('send' command ignored)
  Issue: Send OK (1 entries)
  Perf: Send OK (No entries to send.)
  FileMetric: Send OK (No entries to send.)
  ReviewIssue: Send OK (No entries to send.)
  Activity: Send OK (No entries to send.)
  Cli: Send OK (No entries to send.)
  ReviewActivity: Send OK (No entries to send.)
  Coverage: Send OK (No entries to send.)
  BuffTrans: Send OK (No entries to send.)
  Commit: Send OK (No entries to send.)
  UnitTest: Send OK (No entries to send.)
  Build: Send OK (No entries to send.)
>> #> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTOPPED, ,
project=10010,status=Open]
Issue add OK (1)
#> send
Sending sensor data (11/14 13:35:05)
  Ping: Ping OK (contacted server http://localhost:8080/ with valid key.)
  AutoSend: AutoSend OK ('send' command ignored)
  Issue: Send OK (1 entries)
  Perf: Send OK (No entries to send.)
  FileMetric: Send OK (No entries to send.)
  ReviewIssue: Send OK (No entries to send.)
  Activity: Send OK (No entries to send.)
  Cli: Send OK (No entries to send.)
  ReviewActivity: Send OK (No entries to send.)
  Coverage: Send OK (No entries to send.)
  BuffTrans: Send OK (No entries to send.)
  Commit: Send OK (No entries to send.)
  UnitTest: Send OK (No entries to send.)
  Build: Send OK (No entries to send.)
>> #> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTARTED, ,
project=10010,status=In Progress]
Issue add OK (1)
#> send /** @@@ At this point I took my localhost Hackystat server offline
*/
Server not available. Storing commands offline.
>> #> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTOPPED, ,
project=10010,status=Open]
Issue add OK (2)
#> send
Server not available. Storing commands offline.
>>

/** @@@ At this point I brought the Hackystat server online again and
restarted Jira */

Hackystat Version: 6.3.1114 (November 14 2004 12:05:59)
SensorShell started at: 11/14/2004 13:37:15
Type 'help' for a list of commands.
Host: http://localhost:8080/ is available and key is valid.
Defined shell command: Issue
Defined shell command: Perf
Defined shell command: FileMetric
Defined shell command: ReviewIssue
Defined shell command: Activity
Defined shell command: Cli
Defined shell command: ReviewActivity
Defined shell command: Coverage
Defined shell command: BuffTrans
Defined shell command: Commit
Defined shell command: UnitTest
Defined shell command: Build
AutoSend not enabled.
Checking for offline data to recover.
#> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTARTED, ,
project=10010,status=In Progress]
Issue add OK (1)
#> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTOPPED, ,
project=10010,status=Open]
Issue add OK (2)
Summary of recovered offline data:
11/14/2004 13:35:49#Issue#add#Task1 for
proj2#Task#Critical#ISSUE_WORKSTARTED##project=10010,status=In Progress
11/14/2004 13:35:53#Issue#add#Task1 for
proj2#Task#Critical#ISSUE_WORKSTOPPED##project=10010,status=Open

/** @@@ All the offline data sent has its tool as "Sensor Shell" instead
of "Jira" */

#> send
Sending sensor data (11/14 13:37:15)
  Ping: Ping OK (contacted server http://localhost:8080/ with valid key.)
  AutoSend: AutoSend OK ('send' command ignored)
  Issue: Send OK (2 entries)
  Perf: Send OK (No entries to send.)
  FileMetric: Send OK (No entries to send.)
  ReviewIssue: Send OK (No entries to send.)
  Activity: Send OK (No entries to send.)
  Cli: Send OK (No entries to send.)
  ReviewActivity: Send OK (No entries to send.)
  Coverage: Send OK (No entries to send.)
  BuffTrans: Send OK (No entries to send.)
  Commit: Send OK (No entries to send.)
  UnitTest: Send OK (No entries to send.)
  Build: Send OK (No entries to send.)
>> #> Issue [setTool, Jira]
setTool OK
#> Issue [add, Task1 for proj2, Task, Critical, ISSUE_WORKSTARTED, ,
project=10010,status=In Progress]
Issue add OK (1)
#> send
Sending sensor data (11/14 13:37:15)
  Ping: Ping OK (contacted server http://localhost:8080/ with valid key.)
  AutoSend: AutoSend OK ('send' command ignored)
  Issue: Send OK (1 entries)
  Perf: Send OK (No entries to send.)
  FileMetric: Send OK (No entries to send.)
  ReviewIssue: Send OK (No entries to send.)
  Activity: Send OK (No entries to send.)
  Cli: Send OK (No entries to send.)
  ReviewActivity: Send OK (No entries to send.)
  Coverage: Send OK (No entries to send.)
  BuffTrans: Send OK (No entries to send.)
  Commit: Send OK (No entries to send.)
  UnitTest: Send OK (No entries to send.)
  Build: Send OK (No entries to send.)
>>



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owner-hackystat-dev-
> [EMAIL PROTECTED] On Behalf Of Aaron Kagawa
> Sent: Sunday, November 14, 2004 3:30 AM
> To: [EMAIL PROTECTED]
> Subject: [HACKYSTAT-DEV-L:304] Re: Issue "tool" field getting
overwritten
>
> Here are some comments that could be of use:
>
> 1) My initial thought is that this problem isn't on the server side. So,
> lets rule that out for now and focus on the client side.
> 2) You didn't answer my initial question about the sensor log.  I would
> hope that the Jira Sensor would have a log file that looks something
like
> the following (of course the Sensor Data Types should be Issue instead
of
> what is shown here):
>
>  >> #> Activity [add, Open File,
>
f:/java/cvs/hackyStdExt/src/org/hackystat/stdext/activity/analysis/activet
> ime/ActiveTimeTrend.java]
> Activity add OK (1 total)
> #> Activity [statechange,
>
f:/java/cvs/hackyStdExt/src/org/hackystat/stdext/activity/analysis/activet
> ime/ActiveTimeTrend.java,
> 6418]
> Activity statechange OK (initial file name and buffer size)
> #> Activity [add, Open File,
>
f:/java/cvs/hackyStdExt/src/org/hackystat/stdext/workspace/map/javamap/Pro
> jectJavaClassWorkspaceMapManager.java]
> Activity add OK (2 total)
>
> Again, I think that something funny is going on in the Sensor and you
can
> hopefully use the log file to help debug.
>
> thanks, aaron
>
> At 12:07 AM 11/14/2004 -1000, you wrote:
> > I have been able to consistently reproduce the error.
> >
> > It appears that this occurs whenever I:
> > (Assuming both Hackystat and Jira are running from the beginning)
> > 1. Shutdown Hackystat
> > 2. Initiate some Jira issue events, which generates offline sensor
data.
> > Let's say I do 2 events.
> > 3. Bring Hackystat back up
> > 4. Shutdown Jira and restart it
> > 5. Again initiate a Jira issue event (this is necessary because the
Jira
> > sensor is "lazy" initialized)
> > 6. When I look at sensor data on Hackystat webpage it shows an
> overwritten
> > "tool" fields: in #2 I did 2 events, on the webpage it shows that the
> last 2
> > previous sensor data entries immediately before the newest entries just
> > received were the ones overwritten.
> >
> > Note: it does not matter whether "quickStart" or "freshStart" ant tasks
> are
> > used.
> >
> > Does anyone have comments on this?
> >
> > Thanks,
> > Burt
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:owner-hackystat-dev-
> > > [EMAIL PROTECTED] On Behalf Of Aaron Kagawa
> > > Sent: Saturday, November 13, 2004 12:05 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [HACKYSTAT-DEV-L:296] Re: Issue "tool" field getting
> overwritten
> > >
> > > Do you have a client side logging mechanism that prints out adding
the
> > > issues to the sensorshell before sending it off to the server?  I
> believe
> > > that would be useful in debugging this problem.
> > >
> > > thanks, aaron
> > >
> > >
> > > At 10:02 AM 11/13/2004 -1000, you wrote:
> > > > Hello Everyone,
> > > >
> > > > I'm testing the Jira sensor and I recently implemented an
> initialization
> > > > mechanism that will fetch all pre-existing issues on Jira upon
> installing
> > > > the sensor.
> > > >
> > > > For the most part it's looking good, the sensor data is showing up
as
> it
> > > > should on my localhost Hackystat server.
> > > >
> > > > The problem is that occasionally when I have initiated some Jira
> issue
> > > > events and then click on the "Analyze" button in the "Sensor Data
> Links"
> > > > section to verify that the data is being received correctly, some
> Issue
> > > > sensor data entries show the "tool" field as "Sensor Shell" instead
> of
> > > > "Jira". Here's another thing that is strange: it appears that the
> sensor
> > > > data entries that say tool=Sensor Shell are actually older entries
> than
> > > the
> > > > new entries that were just sent by the sensor. Closer examination
> > > revealed
> > > > that some older sensor data entries had their tool field
overwritten
> from
> > > > "Jira" to "Sensor Shell".
> > > >
> > > > What could be causing this problem? Does it have anything to do
with
> the
> > > > fact that the Jira sensor invokes "send()" upon each issue event
> instead
> > > of
> > > > only once at server shutdown? The current implementation invokes
the
> > > setTool
> > > > doCommand on each instance of SensorShell at creation so setting
the
> tool
> > > is
> > > > not the problem.
> > > >
> > > > Thank you for your help!
> > > > Burt








Reply via email to