[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[6]: Starting ANTS apps over Linux on different PCs
TS> Just add `-consoleport 5000', or whatever port number, and then `telnet
TS> localhost 5000' and type `help'.
I can run classes which extend from FlowRun or FlowBase using 'app
classname' in the telnet. But when I run application(PingApplication
or other applications), I get the following message:
FlowInitialzier.run(): Trying to start apps.ping.PingApplication in new flow(Flow[name=Unnamed Flow;objid=0x439a2d]) and got:
java.lang.Error: apps.ping.PingApplication is not an instanceof FlowRun.
at edu.utah.janos.nodeos.FlowInitializer.createStartClassInstance(FlowInitializer.java:144)
at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializer.java:101)
at edu.utah.janos.nodeos.FlowInitializer.run(FlowInitializer.java:74)
at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:77)
If I change fireUpNewFlow() to fireUpNewAppFlow() in
ConsoleWorker.java, I get assert failure.
FAILURE:assert test
Error starting new mid in Flow[name=Protocol apps.ping.PingProtocol;objid=0x54c61c]: assert test
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.Node.routeForNode(Node.java:444)
at apps.ping.PingCapsule.evaluate(PingCapsule.java:106)
at ants.core.ProtocolBooster.dispatch(ProtocolBooster.java:267)
at ants.core.ProtocolBooster.msgLoop(ProtocolBooster.java:162)
at ants.core.ProtocolBooster.access$000(ProtocolBooster.java:57)
at ants.core.ProtocolBooster$1.run(ProtocolBooster.java:141)
at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:77)
How can I run apps?
--
Best regards,
avivi
[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah