[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Real Ping!
> 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