[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Real Ping!
Hello!
I correct the bug with CLASSATH, but I get other bug (ioe in UDP layer: Connection refused)
When I run:
antsvm edu.utah.janos.nodeos.Main ants.core.ConfigurationManager teste.config 18.31.12.1
in machine A (with debugFlags)
I have this result:
CLASSPATH=
/activenets/ants-2.0.0/lib/jnodeos-pj-debug.zip:/activenets/ants-2.0.0/lib/emuJanosVM.jar:/activenets/ants-2.0.0/src/ants.jar:/activenets/ants-2.0.0/src/apps.jar:/activenets/ants-2.0.0/src/tests.jar:.
Janos Java NodeOS v1.1.5
Parsing config file teste.config
Parsing command node
ANTS v2.0
Parsing command channel
Proxy addr: (null ; null)
Phys addr: (if/ipv4/udp ; *:8004:143.107.231.201)
Parsing command application
Creating app cfg apps.ping.PingApplication with args.length=13; argsStart=3
Parsing command connect
Config file command parsing complete.
Reading route table 'teste.routes' for node 18.31.12.1
Adding route 18.31.12.1 -> 18.31.12.2 via 18.31.12.2(143.107.231.231:8005)
Adding neighbor 18.31.12.2 link=Address[anAddr=18.31.12.2; ProtocolSpec=if/ipv4/udp; AddressSpec=*:8005:143.107.231.231]
Got update op=CSE[CommSpaceElement[170]]
kicking listeners
Synchronize with updater
Update complete 18.31.12.2 link=Address[anAddr=18.31.12.2; ProtocolSpec=if/ipv4/udp; AddressSpec=*:8005:143.107.231.231]
Adding route 18.31.12.2 -> 18.31.12.1 via 18.31.12.1(143.107.231.201:8004)
Installing ants.core.DLProtocol[(builtin)]
Installing protocol ants.core.DLProtocol[(builtin)](with princial=Principal[RemoteUsers])
CodeGroup for gid 177487.. -> null
publishing CodeGroup[gid=177487..; ct=0; cmask=0; builtin]
publishing CapsuleClass[ants.core.DLRequestCapsule; mid=abe1a9..]
publishing CapsuleClass[ants.core.DLResponseCapsule; mid=54d682..]
publishing CapsuleClass[ants.core.MIDIDRequestCapsule; mid=94f763..]
Registering CodeGroup[gid=177487..; ct=0; cmask=0; builtin] in Flow[name=Primoridal ANTS Flow;objid=0x67e89]
Added class ants.core.DLRequestCapsule to CodeGroup[gid=177487..; ct=0; cmask=0; builtin]
Added class ants.core.DLResponseCapsule to CodeGroup[gid=177487..; ct=0; cmask=0; builtin]
Added class ants.core.MIDIDRequestCapsule to CodeGroup[gid=177487..; ct=0; cmask=0; builtin]
CodeGroup for gid 4df792.. -> null
publishing CodeGroup[gid=4df792..; ct=0; cmask=0; builtin]
publishing CapsuleClass[ants.core.MIDIDResponseCapsule; mid=a20a2f..]
Registering CodeGroup[gid=4df792..; ct=0; cmask=0; builtin] in Flow[name=Primoridal ANTS Flow;objid=0x67e89]
Added class ants.core.MIDIDResponseCapsule to CodeGroup[gid=4df792..; ct=0; cmask=0; builtin]
Installing ants.core.DataProtocol[(builtin)]
Installing protocol ants.core.DataProtocol[(builtin)](with princial=Principal[RemoteUsers])
CodeGroup for gid 7aca17.. -> null
publishing CodeGroup[gid=7aca17..; ct=0; cmask=0; builtin]
publishing CapsuleClass[ants.core.DataCapsule; mid=fc109d..]
Registering CodeGroup[gid=7aca17..; ct=0; cmask=0; builtin] in Flow[name=Primoridal ANTS Flow;objid=0x67e89]
Added class ants.core.DataCapsule to CodeGroup[gid=7aca17..; ct=0; cmask=0; builtin]
Starting unknown protocol. flow=Flow[name=Protocol <unknown>;objid=0x6db54]
Unknown protocol on its way! flow=Flow[name=Protocol <unknown>;objid=0x6db54]
ProtocolBooster.java: LOCAL_PROTOCOL ants.core.DLProtocol in Flow[name=Protocol <unknown>;objid=0x6db54]
Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54] loading LOCAL_PROTOCOL ants.core.DLProtocol
App apps.ping.PingApplication attached at port 128
Created InChan for unknown packets: pj_InChannel[flow=Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54]; handler=PacketHandler[source=pj_PortAddressMask[srcAddrMask=pj_InetAddressMask[*.*.*.*]; srcPort=-1; destPort=8004; destAddrMask=pj_InetAddressMask[143.107.231.201]]]; classifier=pj_DemultiplexKey[totalLength=32; segments={pj_DemultiplexKey.ANEPHeader[offset=0; headerMask=pj_DemultiplexKey.ByteMask[offset=0; length=4; sequence='01 XX 00 02 '; mask=[Z@4741d6]]}]; threadPool=edu.utah.janos.nodeos.pj_ThreadPool@337d0f; deliverFunc=UnknownPacketHandler for Node[a=18.31.12.1]]
CodeGroup for gid 177487.. -> null
publishing CodeGroup[gid=177487..; ct=0; cmask=0; builtin]
publishing CapsuleClass[ants.core.DLRequestCapsule; mid=abe1a9..]
publishing CapsuleClass[ants.core.DLResponseCapsule; mid=54d682..]
publishing CapsuleClass[ants.core.MIDIDRequestCapsule; mid=94f763..]
Activating CodeGroup[gid=177487..; ct=0; cmask=ffffffff; builtin] in Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54]
Registering CodeGroup[gid=177487..; ct=0; cmask=ffffffff; builtin] in Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54]
Added class ants.core.DLRequestCapsule to CodeGroup[gid=177487..; ct=0; cmask=ffffffff; builtin]
Added class ants.core.DLResponseCapsule to CodeGroup[gid=177487..; ct=0; cmask=ffffffff; builtin]
Added class ants.core.MIDIDRequestCapsule to CodeGroup[gid=177487..; ct=0; cmask=ffffffff; builtin]
CodeGroup for gid 4df792.. -> null
publishing CodeGroup[gid=4df792..; ct=0; cmask=0; builtin]
publishing CapsuleClass[ants.core.MIDIDResponseCapsule; mid=a20a2f..]
Activating CodeGroup[gid=4df792..; ct=0; cmask=ffffffff; builtin] in Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54]
Registering CodeGroup[gid=4df792..; ct=0; cmask=ffffffff; builtin] in Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54]
Added class ants.core.MIDIDResponseCapsule to CodeGroup[gid=4df792..; ct=0; cmask=ffffffff; builtin]
new capsule channel: class=class ants.core.MIDIDResponseCapsule; classifier=pj_DemultiplexKey[totalLength=52; segments={pj_DemultiplexKey.ANEPHeader[offset=0; headerMask=pj_DemultiplexKey.ByteMask[offset=0; length=4; sequence='01 XX 00 02 '; mask=[Z@4741d6]]+pj_DemultiplexKey.ByteMask[offset=4; length=16; sequence='f2 0a 0f f5 0f 0e 00 f3 0c 0b 09 fc fa
07 0e 02 '; mask=null]}]
Installing protocol apps.ping.PingProtocol[(dl'd)](with princial=Principal[RemoteUsers])
CodeGroup for gid 84d480.. -> null
publishing CodeGroup[gid=84d480..; ct=0; cmask=0; dynamic]
publishing CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
Registering CodeGroup[gid=84d480..; ct=2; cmask=0; dynamic] in Flow[name=App apps.ping.PingApplication;objid=0x64cbc4]
Added class apps.ping.PingCapsule to CodeGroup[gid=84d480..; ct=2; cmask=0; dynamic]
Starting unknown protocol. flow=Flow[name=Protocol <unknown>;objid=0x32fd8f]
sending 20 capsules at 300ms intervals
Sending primer capsule (and waiting 1000ms).
Flow[name=Protocol ants.core.DLProtocol;objid=0x6db54] loading LOCAL_PROTOCOL ants.core.DLProtocol
Unknown protocol on its way! flow=Flow[name=Protocol <unknown>;objid=0x32fd8f]
ProtocolBooster.java: LOCAL_PROTOCOL ants.core.DataProtocol in Flow[name=Protocol <unknown>;objid=0x32fd8f]
Flow[name=Protocol ants.core.DataProtocol;objid=0x32fd8f] loading LOCAL_PROTOCOL ants.core.DataProtocol
CodeGroup for gid 7aca17.. -> null
publishing CodeGroup[gid=7aca17..; ct=0; cmask=0; builtin]
publishing CapsuleClass[ants.core.DataCapsule; mid=fc109d..]
Activating CodeGroup[gid=7aca17..; ct=0; cmask=ffffffff; builtin] in Flow[name=Protocol ants.core.DataProtocol;objid=0x32fd8f]
Registering CodeGroup[gid=7aca17..; ct=0; cmask=ffffffff; builtin] in Flow[name=Protocol ants.core.DataProtocol;objid=0x32fd8f]
Added class ants.core.DataCapsule to CodeGroup[gid=7aca17..; ct=0; cmask=ffffffff; builtin]
new capsule channel: class=class ants.core.DataCapsule; classifier=pj_DemultiplexKey[totalLength=52; segments={pj_DemultiplexKey.ANEPHeader[offset=0; headerMask=pj_DemultiplexKey.ByteMask[offset=0; length=4; sequence='01 XX 00 02 '; mask=[Z@4741d6]]+pj_DemultiplexKey.ByteMask[offset=4; length=16; sequence='fc 00 fd 05 0e 02 0b 0a 0f 0c 05 fc f8 09 0c 06
'; mask=null]}]
Starting unknown protocol. flow=Flow[name=Protocol <unknown>;objid=0x5f073d]
Flow[name=Protocol ants.core.DataProtocol;objid=0x32fd8f] loading LOCAL_PROTOCOL ants.core.DataProtocol
Unknown protocol on its way! flow=Flow[name=Protocol <unknown>;objid=0x5f073d]
ProtocolBooster.java: LOCAL_PROTOCOL apps.ping.PingProtocol in Flow[name=Protocol <unknown>;objid=0x5f073d]
Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d] loading LOCAL_PROTOCOL apps.ping.PingProtocol
CodeGroup for gid 84d480.. -> null
publishing CodeGroup[gid=84d480..; ct=0; cmask=0; dynamic]
publishing CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
Activating CodeGroup[gid=84d480..; ct=2; cmask=ffffffff; dynamic] in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Registering CodeGroup[gid=84d480..; ct=2; cmask=ffffffff; dynamic] in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Added class apps.ping.PingCapsule to CodeGroup[gid=84d480..; ct=2; cmask=ffffffff; dynamic]
new capsule channel: class=class apps.ping.PingCapsule; classifier=pj_DemultiplexKey[totalLength=52; segments={pj_DemultiplexKey.ANEPHeader[offset=0; headerMask=pj_DemultiplexKey.ByteMask[offset=0; length=4; sequence='01 XX 00 02 '; mask=[Z@4741d6]]+pj_DemultiplexKey.ByteMask[offset=4; length=16; sequence='0a 0a f5 f5 f9 0d 0b f5 f7 06 fb f8 08 09 f9 0f
'; mask=null]}]
new capsule channel: class=class ants.core.MIDIDRequestCapsule; classifier=pj_DemultiplexKey[totalLength=84; segments={pj_DemultiplexKey.ANEPHeader[offset=0; headerMask=pj_DemultiplexKey.ByteMask[offset=0; length=4; sequence='01 XX 00 02 '; mask=[Z@4741d6]]+pj_DemultiplexKey.ByteMask[offset=4; length=16; sequence='f4 f7 03 ff fc 0b f9 02 f5 fb 06 fe f7 0b 0f 0f '; mask=null]+pj_DemultiplexKey.ByteMask[offset=16; length=16; sequence='0a 0a f5 f5 f9 0d 0b f5 f7 06 fb f8 08 09 f9 0f '; mask=null]}]
new capsule channel: class=class ants.core.DLRequestCapsule; classifier=pj_DemultiplexKey[totalLength=84; segments={pj_DemultiplexKey.ANEPHeader[offset=0; headerMask=pj_DemultiplexKey.ByteMask[offset=0; length=4; sequence='01 XX 00 02 '; mask=[Z@4741d6]]+pj_DemultiplexKey.ByteMask[offset=4; length=16; sequence='fb f1 f9 06 08 f4 fb f8 fb 0f 04 0a 03 0c 0d fd '; mask=null]+pj_DemultiplexKey.ByteMask[offset=16; length=16; sequence='0a 0a f5 f5 f9 0d 0b f5 f7 06 fb f8 08 09 f9 0f '; mask=null]}]
Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d] loading LOCAL_PROTOCOL apps.ping.PingProtocol
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@b66cc; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Node.addOutChannel maps 18.31.12.2 to Address[anAddr=18.31.12.2; ProtocolSpec=if/ipv4/udp; AddressSpec=*:8005:143.107.231.231]
Pushing buf pj_BufferHandle[data=<[B@31c5fa,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@3caecd; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@784386,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@5d56d5; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@6fd552,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@1dfbff; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@b4b2f,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@750159; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@2bab88,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@a7efd; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@171afc,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@6cd7d5; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@4dedfd,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@439a2d; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@3f2d5e,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@3bad12; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@5f8ff1,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@632c2d; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@697676,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@60420f; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@1106c7,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@540408; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@54c61c,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@1a626f; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@34a1fc,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@76c74b; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@16471f,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@175b59; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@6e3914,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@65855a; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@15fd19,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@1b9fb1; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@113fe2,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@7934ad; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@714ceb,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@70eed6; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@505c81,len=16384>; off=0; len=87]
cc for mid 3a7a95.. -> CapsuleClass[apps.ping.PingCapsule; mid=3a7a95..]
ProtocolBooster.java: APP_CAPSULE in Flow[name=Protocol apps.ping.PingProtocol;objid=0x5f073d]
Sending capsule apps.ping.PingCapsule[s=18.31.12.1;d=18.31.12.2;p=0.0.0.0]+DataCapsule[spt=128; dpt=128; data=ByteArray[buf=[B@691f36; offset=38; len=8]] to 18.31.12.2
Capsule being forwarded to 18.31.12.2
Pushing buf pj_BufferHandle[data=<[B@20cc,len=16384>; off=0; len=87]
ioe in UDP layer: Connection refused
and stop.
I have to set something in machine B ?
When I run:
antsvm edu.utah.janos.nodeos.Main ants.core.ConfigurationManager teste.config 18.31.12.2
in machine B, I have this result:
Janos Java NodeOS v1.1.5
Parsing config file teste.config
Config file command parsing complete.
ANTS v2.0
FAILURE:assert test
FlowInitialzier.run(): Trying to start ants.core.ConfigurationManager in new flow(Flow[name=Primoridal ANTS Flow;objid=0x12f614]) and got:
ants.core.Assert$AssertFailure: assert test
at ants.core.Assert.failure(Assert.java:59)
at ants.core.Assert.assert(Assert.java:66)
at ants.core.PrimordialNode.start(PrimordialNode.java:356)
at ants.core.ConfigurationManager.run(ConfigurationManager.java:386)
at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializer.java:107)
at edu.utah.janos.nodeos.FlowInitializer.run(FlowInitializer.java:71)
at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:71)
Shutting down.
Please someone help-me.
Thank's in advance.
Ricardo.
--------------------------------------------
No dia Mon, 5 Nov 2001 09:06:41 -0700 (MST), Timothy Stack <stack@cs.utah.edu> escreveu:
> > Hello!
> >
> > I 'm trying to make a remote ping with Ping classes. When I run in
> > machine A antsvm edu.utah.... teste.config 18.31.12.1 (with debug
> > flags) it's displayed this:
> >
> > IP_A - IP real da maquina A
> > [...]
> > ants.core.DLProtocol AppBooster: Exception starting app apps.ping.PingApplication:
> > java.lang.ClassNotFoundException:
> > Could not find bytecode for apps.ping.PingApplication.
> > at edu.utah.janos.nodeos.FlowClassLoader.readLocalBytecode(FlowClassLoader.java:222)
> > at edu.utah.janos.nodeos.FlowClassLoader.readLocalClass(FlowClassLoader.java:240)
> > at edu.utah.janos.nodeos.FlowClassLoader.loadClass(FlowClassLoader.java:376)
> > at edu.utah.janos.nodeos.FlowClassLoader.loadClass(FlowClassLoader.java:253)
> > at edu.utah.janos.nodeos.Flow.loadClass(Flow.java:304)
> > at ants.core.AppBooster.run(AppBooster.java:100)
> > at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializer.java:107)
> > at edu.utah.janos.nodeos.FlowInitializer.run(FlowInitializer.java:71)
> > at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:71)
>
> Its unable to find the byte code for apps.ping.PingApplication here...
>
> > and stop...
> >
> > My config file is...
> >
> > node 18.31.12.1 -routes teste.routes -log 255 -consoleport 2050
> > channel 18.31.12.1 IP_A:8004 -log 255
> > application 18.31.12.1 apps.ping.PingApplication -target 18.31.12.2 -iter 20 -interv 300 -lossage 1 -prime 1000
> >
> > node 18.31.12.2 -routes teste.routes -log 255 -consoleport 2051
> > channel 18.31.12.2 IP_B:8005 -log 255
> >
> > connect 18.31.12.1 18.31.12.2
> >
> >
> > My route file is
> >
> > 18.31.12.1 18.31.12.2 18.31.12.2 IP_B:8005
> > 18.31.12.2 18.31.12.1 18.31.12.1 IP_A:8004
> >
> > The CLASSPATH is
> > CLASSPATH=:
> > /activenets/ants-2.0.0/src/ants.jar:
> > /activenets/ants-2.0.0/src/apps.jar:
> > /activenets/ants-2.0.0/src/tests.jar:
> > /activenets/ants-2.0.0/lib/emuJanosVM.jar:
> > /activenets/ants-2.0.0/lib/:
> > /activenets/ants-2.0.0/lib/jnodeos-pj-debug.zip:
> > jnodeos-pj-optimized.zip:.:
>
> There should only be one jnodeos.zip in the class path. Are you sure this
> is a valid classpath and the one being used? What jvm are you using?
>
> > Thank's in advance.
> > Ricardo.
>
> tim stack
>
[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah