I just noticed that if I give java net.tinyos.drain.Drain only once or not at all then, mostly, it start showing the results of queries but the results show two unexpected behaviors:
1. Once the result start coming blank they always come as blank i.e. no output on screen.
2. If I give java net.tinyos.drain.Drain for second time then queries are showing result for maximum one more time. Some times they dont even show results at all after second time I give the above command.

For instance Look at the following out put:
==============================


[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
15: TOS_LOCAL_ADDRESS = 15
15: SequenceNumber = 8

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
15: TOS_LOCAL_ADDRESS = 15
15: SequenceNumber = 11

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
15: TOS_LOCAL_ADDRESS = 15
15: SequenceNumber = 13

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
15: TOS_LOCAL_ADDRESS = 15
15: SequenceNumber = 115

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ java net.tinyos.drain.Drain
Drain: root_address=3 instance=130 period=0 delay=4
Sending beacon...
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ java net.tinyos.drain.Drain
Drain: root_address=3 instance=235 period=0 delay=4
Sending beacon...
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
15: TOS_LOCAL_ADDRESS = 15
15: SequenceNumber = 171
(Now results are shown only for one more time, they are not going to show any more for rest of testing)
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$


Please tell, whats going wrong? My code is in order as per manual. Is there anything I should change in code or it's a bug.

Regards,
Sumit

On 9/13/06, Sumit Gupta <[EMAIL PROTECTED]> wrote:
Hi,

I am trying to test nucleus using SurgeTelos Application. I started with retrieving basic information from only one node. I tried to retrieve information like Sequence Number. But each time I ran query I got following Warnings.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ java net.tinyos.drain.Drain
Drain: root_address=3 instance=117 period=0 delay=4
Sending beacon...
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery SequenceNumber
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.

Also, I could see the sequence number of node only at very first query. After that it always returned blank. I dont understand why its happening. I always tried to update Drain tree before running new query. Is there any time restriction that I should have wait before running next query?

Please advice.

Regards,
Sumit

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to