hi steve,

first i was unsure what you advice is. but then i have set
the timeout value to 0 and everything executed like a hurricane.
i still have no clue what happend behind the scenes when the
timeout was 1000, but i hope that i can rely on the current state...

thanks
/eike


"Stephen McConnell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]
>
> Eike:
>
> The 100ms time is normal assuming you have a deployment timeout set to
> 0.  Basically if the timeout is 0, the commissioner sleeps for 100ms and
> following a wakeup checks for deployment completion or error.  If the
> code was perfect the message would read "commissioning completed in less
> than 100ms".
>
> Cheers, Steve.
>
>
>
> Eike Stepper wrote:
> >>>do you furthermore have an idea why the commissioning of some components
> >>>_exactly_
> >>>lasts 1000 milliseconds. from start to start another subset of the
> >>>components show this behaviour.
> >>>seems like something in merlin blocks during commisioning and is always
> >>>canceled by something
> >>>like a supervision timer...
> >>
> >>This sounds like some lifecycle method doesn't return ( start(), execute()
> >
> > ?
> >
> >>), and the commissioning times out, and aborts. Which would also explain
> >
> > why
> >
> >>the components are decommissioned immediately.
> >
> >
> > most of the components don't have start() or execute() methods (should
> > they?).
> > and i can't see that they are decommissioned immediately. they even seem to
> > work.
> > i've used grep to filter just the commission times for three runs:
> >
> > RUN1:
> > =====
> >
> > (app.net4j): commissioning of [BufferPool] completed in 63 milliseconds
> > (app.net4j): commissioning of [ProtocolManager] completed in 0 milliseconds
> > (app.net4j): commissioning of [BasicServerProtocol] completed in 1000 milliseconds
> > (app.net4j): commissioning of [BasicClientProtocol] completed in 1000 milliseconds
> > (app.net4j): commissioning of [ConnectionManager] completed in 1000 milliseconds
> > (app.net4j): commissioning of [Multiplexer] completed in 1000 milliseconds
> > (app.net4j): commissioning of [SelectorManager] completed in 0 milliseconds
> > (app.net4j): commissioning of [Channel] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [BufferPool] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [ConnectionManager] completed in 0 
> > milliseconds
> > (app.net4j.socket): commissioning of [ProtocolManager] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [SelectorManager] completed in 1000 
> > milliseconds
> > (app.net4j.socket): commissioning of [SocketAcceptor] completed in 47 milliseconds
> > (app.net4j.socket): commissioning of [PassiveSocketConnector] completed in 0 
> > milliseconds
> > (app.net4j): commissioning of [socket] completed in 1078 milliseconds
> > (app): commissioning of [net4j] completed in 5219 milliseconds
> > (app): commissioning of [Client1] completed in 0 milliseconds
> > (): commissioning of [app] completed in 5235 milliseconds
> >
> > RUN2:
> > =====
> >
> > (app.net4j): commissioning of [BufferPool] completed in 78 milliseconds
> > (app.net4j): commissioning of [ProtocolManager] completed in 16 milliseconds
> > (app.net4j): commissioning of [BasicServerProtocol] completed in 16 milliseconds
> > (app.net4j): commissioning of [BasicClientProtocol] completed in 0 milliseconds
> > (app.net4j): commissioning of [ConnectionManager] completed in 15 milliseconds
> > (app.net4j): commissioning of [Multiplexer] completed in 1000 milliseconds
> > (app.net4j): commissioning of [SelectorManager] completed in 0 milliseconds
> > (app.net4j): commissioning of [Channel] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [BufferPool] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [ConnectionManager] completed in 0 
> > milliseconds
> > (app.net4j.socket): commissioning of [ProtocolManager] completed in 1000 
> > milliseconds
> > (app.net4j.socket): commissioning of [SelectorManager] completed in 1000 
> > milliseconds
> > (app.net4j.socket): commissioning of [SocketAcceptor] completed in 47 milliseconds
> > (app.net4j.socket): commissioning of [PassiveSocketConnector] completed in 0 
> > milliseconds
> > (app.net4j): commissioning of [socket] completed in 2078 milliseconds
> > (app): commissioning of [net4j] completed in 3266 milliseconds
> > (app): commissioning of [Client1] completed in 0 milliseconds
> > (): commissioning of [app] completed in 3266 milliseconds
> >
> > RUN3:
> > =====
> >
> > (app.net4j): commissioning of [BufferPool] completed in 94 milliseconds
> > (app.net4j): commissioning of [ProtocolManager] completed in 15 milliseconds
> > (app.net4j): commissioning of [BasicServerProtocol] completed in 16 milliseconds
> > (app.net4j): commissioning of [BasicClientProtocol] completed in 0 milliseconds
> > (app.net4j): commissioning of [ConnectionManager] completed in 0 milliseconds
> > (app.net4j): commissioning of [Multiplexer] completed in 0 milliseconds
> > (app.net4j): commissioning of [SelectorManager] completed in 15 milliseconds
> > (app.net4j): commissioning of [Channel] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [BufferPool] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [ConnectionManager] completed in 0 
> > milliseconds
> > (app.net4j.socket): commissioning of [ProtocolManager] completed in 0 milliseconds
> > (app.net4j.socket): commissioning of [SelectorManager] completed in 1000 
> > milliseconds
> > (app.net4j.socket): commissioning of [SocketAcceptor] completed in 78 milliseconds
> > (app.net4j.socket): commissioning of [PassiveSocketConnector] completed in 0 
> > milliseconds
> > (app.net4j): commissioning of [socket] completed in 1110 milliseconds
> > (app): commissioning of [net4j] completed in 1297 milliseconds
> > (app): commissioning of [Client1] completed in 0 milliseconds
> > (): commissioning of [app] completed in 1359 milliseconds
> >
> > as you can see, the 1000 milli peaks appear randomly and unpredictably.
> > does that really match your explanation?
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -- 
>
> |---------------------------------------|
> | Magic by Merlin                       |
> | Production by Avalon                  |
> |                                       |
> | http://avalon.apache.org              |
> |---------------------------------------|




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to