[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DanteServer has a Timing Error Error on Startup?
I'm seeing a failure (when running the dante test script).
The failure is that the Principal for the DanteProtocol thread is set
to "RemoteUsers" instead of "DanteUser". Sometimes it succeeds, I
think, but most of the time it fails for me. My test system is
bro.isi.edu: FreeBSD bro.isi.edu 3.2-RELEASE, jdk-1.1.8.
The following trace output is for a modified "dante.{start,conf}"
and "nodesetup.sh". I've also added additional trace statements and
stack dumps in the code.
My working assumption is that there's a timing error, possibly in
"AppBooster.java"; then again, it could be something else, I don't
understand the code.
Craig Milo Rogers
Janos Java NodeOS v1.1.5
Parsing config file dante.config.cmr
Parsing command node
ANTS v2.0
Parsing command channel
Proxy addr: (null ; null)
Phys addr: (if/ipv4/udp ; *:8039:localhost)
Parsing command application
Creating app cfg ants.dante.DanteServer with args.length=11; argsStart=3
Config file command parsing complete.
Reading route table '/dev/null' for node 128.9.160.165
Installing ants.core.DLProtocol[(builtin)]
Installing protocol ants.core.DLProtocol[(builtin)](with principal=Principal[Rem
oteUsers])
PrimordialMessagger.installProtocol(principal=RemoteUsers)
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java)
at ants.core.PrimordialMessenger.installProtocol(PrimordialMessenger.jav
a:177)
at ants.core.Protocol.activate(Protocol.java:255)
at ants.core.DLProtocol.activate(DLProtocol.java:88)
at ants.core.Node.register(Node.java:336)
at ants.core.Node.register(Node.java:320)
at ants.core.PrimordialNode.start(PrimordialNode.java:386)
at ants.core.ConfigurationManager.run(ConfigurationManager.java:386)
at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializ
er.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)
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=Primori
dal ANTS Flow;objid=0x50ce1d4]
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=Primori
dal ANTS Flow;objid=0x50ce1d4]
Added class ants.core.MIDIDResponseCapsule to CodeGroup[gid=4df792..; ct=0; cmas
k=0; builtin]
Installing ants.core.DataProtocol[(builtin)]
Installing protocol ants.core.DataProtocol[(builtin)](with principal=Principal[R
emoteUsers])
PrimordialMessagger.installProtocol(principal=RemoteUsers)
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java)
at ants.core.PrimordialMessenger.installProtocol(PrimordialMessenger.jav
a:177)
at ants.core.Protocol.activate(Protocol.java:255)
at ants.core.Node.register(Node.java:336)
at ants.core.Node.register(Node.java:320)
at ants.core.PrimordialNode.start(PrimordialNode.java:396)
at ants.core.ConfigurationManager.run(ConfigurationManager.java:386)
at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializ
er.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)
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=Primori
dal ANTS Flow;objid=0x50ce1d4]
Added class ants.core.DataCapsule to CodeGroup[gid=7aca17..; ct=0; cmask=0; buil
tin]
fireUpNewFlow(className=ants.core.AppBooster, args.length=9).
args[0]=ants.dante.DanteServer
args[1]=-port
args[2]=14
args[3]=-start
args[4]=128.9.160.165
args[5]=-end
args[6]=128.9.160.170
args[7]=-principal
args[8]=DanteUser
installProtocol(name=ants.core.DLProtocol, principal=Principal[RemoteUsers
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java)
at ants.core.PrimordialNode.installProtocol(PrimordialNode.java:904)
at ants.core.PrimordialMessenger.dispatchInstallProtocol(PrimordialMesse
nger.java:95)
at ants.core.PrimordialMessenger.run(PrimordialMessenger.java:130)
at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:71)
fireUpNewFlow(className=ants.core.ProtocolBooster, args.length=0).
App ants.dante.DanteServer principal=Principal[DanteUser]
got puller
got port=14
passed queue to primordial flow
Starting unknown protocol. flow=Flow[name=Protocol <unknown>;objid=0x50cfad1]
installProtocol(name=ants.core.DataProtocol, principal=Principal[RemoteUsers])
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java)
at ants.core.PrimordialNode.installProtocol(PrimordialNode.java:904)
at ants.core.PrimordialMessenger.dispatchInstallProtocol(PrimordialMesse
nger.java:95)
at ants.core.PrimordialMessenger.run(PrimordialMessenger.java:130)
at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:71)
fireUpNewFlow(className=ants.core.ProtocolBooster, args.length=0).
set application port
Unknown protocol on its way! flow=Flow[name=Protocol <unknown>;objid=0x50cfad1]
Starting unknown protocol. flow=Flow[name=Protocol <unknown>;objid=0x50d0281]
ProtocolBooster.java: LOCAL_PROTOCOL ants.core.DLProtocol in Flow[name=Protocol
<unknown>;objid=0x50cfad1]
Flow[name=Protocol ants.core.DLProtocol;objid=0x50cfad1] loading LOCAL_PROTOCOL
ants.core.DLProtocol
realPort=14
Local node principal=Principal[DanteUser]
App ants.dante.DanteServer attached at port 14
Installing protocol ants.dante.DanteProtocol[(dl'd)](with principal=Principal[Re
moteUsers])
PrimordialMessagger.installProtocol(principal=RemoteUsers)
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java)
at ants.core.PrimordialMessenger.installProtocol(PrimordialMessenger.jav
a:177)
at ants.core.Protocol.activate(Protocol.java:255)
at ants.core.Node.register(Node.java:336)
at ants.core.Node.register(Node.java:320)
at ants.dante.DanteServer.start(DanteServer.java:92)
at ants.core.AppBooster.run(AppBooster.java:155)
at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializ
er.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)
CodeGroup for gid e24072.. -> null
publishing CodeGroup[gid=e24072..; ct=0; cmask=0; dynamic]
publishing CapsuleClass[ants.dante.DanteConstants; mid=0ca4a3..]
publishing CapsuleClass[ants.dante.DanteCapsule; mid=50caff..]
Registering CodeGroup[gid=e24072..; ct=4; cmask=0; dynamic] in Flow[name=App ant
s.dante.DanteServer;objid=0x50cf98f]
Added class ants.dante.DanteConstants to CodeGroup[gid=e24072..; ct=4; cmask=0;
dynamic]
Added class ants.dante.DanteCapsule to CodeGroup[gid=e24072..; ct=4; cmask=0; dy
namic]
Unknown protocol on its way! flow=Flow[name=Protocol <unknown>;objid=0x50d0281]
installProtocol(name=ants.dante.DanteProtocol, principal=Principal[RemoteUsers])
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java)
at ants.core.PrimordialNode.installProtocol(PrimordialNode.java:904)
at ants.core.PrimordialMessenger.dispatchInstallProtocol(PrimordialMesse
nger.java:95)
at ants.core.PrimordialMessenger.run(PrimordialMessenger.java:130)
at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:71)
fireUpNewFlow(className=ants.core.ProtocolBooster, args.length=0).
ProtocolBooster.java: LOCAL_PROTOCOL ants.core.DataProtocol in Flow[name=Protoco
l <unknown>;objid=0x50d0281]
Flow[name=Protocol ants.core.DataProtocol;objid=0x50d0281] loading LOCAL_PROTOCO
L 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=P
rotocol ants.core.DataProtocol;objid=0x50d0281]
Registering CodeGroup[gid=7aca17..; ct=0; cmask=ffffffff; builtin] in Flow[name=
Protocol ants.core.DataProtocol;objid=0x50d0281]
Added class ants.core.DataCapsule to CodeGroup[gid=7aca17..; ct=0; cmask=fffffff
f; builtin]
Starting unknown protocol. flow=Flow[name=Protocol <unknown>;objid=0x50d0808]
Unknown protocol on its way! flow=Flow[name=Protocol <unknown>;objid=0x50d0808]
Craig Milo Rogers
[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah