[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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. 

Well, technically, you really shouldn't be starting regular flows this
way.

> 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.

You can also just start ants.core.AppBooster, but thats probably correct.

> FAILURE:assert test

The assert is because the capsule doesn't have a destination, did you use
`-target' when starting ping?

>  avivi

tim stack




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah