Re: XUPDATE from SA to OA

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: mukesh agrawal (mukesh@cs.cmu.edu)
Date: 02/03/03


> When I run the PSF SA and OA, OA outpus following error after it
> gets update from the SA.
>
> -------------------------------------------------------------------------
> Daemon.run(): Waiting for new connection on port 6789
> Daemon.run(): Received connection.
> Packet.Receive(): Expecting packet of length 1162
> Servant.run(): Received packet: /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/parkingSpace[@id='1']/usage/in-use yes /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/parkingSpace[@id='2']/usage/in-use yes /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/parkingSpace[@id='3']/usage/in-use yes
> /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/parkingSpace[@id='4']/usage/in-use yes /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/parkingSpace[@id='5']/usage/in-use yes /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/parkingSpace[@id='6']/usage/in-use yes /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/available-spaces/total 6 /tokoshiParkingROOT/usRegion/state/county/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block[@id='3']/@expiry 1044307165763 ENDMESSAGE
>
> java.lang.Exception: Message not in correct format
> at com.intel.sensors.oa.Protocol.parseIncomingMessage(Protocol.java:137)
> at com.intel.sensors.oa.Servant.run(Servant.java:94)
> at com.intel.sensors.oa.Daemon.run(Daemon.java:81)
> at java.lang.Thread.run(Thread.java:479)
> -------------------------------------------------------------------------

Rebuild parking.so and copy the new version to the appropriate directory
in the SA.


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 02/03/03 EST