hi all,

somehow the nntp server ref of this thread had been messed up
and i could not post to this thread. in the meantime i've been
emailing with niclas and for completeness reasons i'll copy the
infos here:


hi niclas,

for some strange reason i can't post to gmane.comp.jakarta.avalon.user
anymore since this morning ;-((( until that goes away, i'll give you my
answer via email:


"Niclas Hedhman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]
> On Thursday 10 June 2004 02:13, Eike Stepper wrote:
>
> > do you have an idea how this can happen / what happens here?
> > please consider that there is no ClassCastException in service()!
> > nor is there any further strange behavior...
>
> I am somewhat stunned... Looks like either a JVM bug or a hidden caching
> mechanism in LogKit, which I trongly doubt as well.
>
> Could you do (and report what happens);
>
> getLogger().debug("Resolved service " + connectionManager + ", " +
> protocolManager + ", " + bufferPool  );

actually there's one more point that i've hidden in the first post
because i believe that it has nothing to do with the weird log behaviour:
the service() method i showed is in an abstract base class of the component
and called by the service() method of a concrete descendent component via super.
the concrete component adds another service resolution.
so maybe i better give you the big picture:


public interface ConnectorMBean
{
  [...]
}

/**
 * @avalon.service version="1.0.0" name="Connector"
 */
public interface Connector extends ConnectorMBean
{
  [...]
}

public abstract class AbstractConnector extends AbstractLogEnabled implements 
Connector,
    Contextualizable, Serviceable, Initializable, Startable, Disposable
{
  /**
   * @avalon.dependency type="de.escnet.net4j.protocol.ProtocolManager:1.0"
   * @avalon.dependency type="de.escnet.net4j.transport.ConnectionManager:1.0"
   * @avalon.dependency type="de.escnet.net4j.util.BufferPool:1.0"
   */
  public void service(ServiceManager serviceManager) throws ServiceException
  {
    connectionManager = (ConnectionManager) 
serviceManager.lookup(ConnectionManager.class.getName());
    //    getLogger().debug("Resolved service " + connectionManager);

    protocolManager = (ProtocolManager) 
serviceManager.lookup(ProtocolManager.class.getName());
    //    getLogger().debug("Resolved service " + protocolManager);

    bufferPool = (BufferPool) serviceManager.lookup(BufferPool.class.getName());
    //    getLogger().debug("Resolved service " + bufferPool);

    getLogger().debug("Resolved services: " + connectionManager + ", " +
        protocolManager + ", " + bufferPool  );
  }
}

public abstract class AbstractSocketConnector extends AbstractConnector implements
    SelectionListener
{
  /**
   * @avalon.dependency type="de.escnet.net4j.transport.SelectorManager:1.0"
   */
  public void service(ServiceManager serviceManager) throws ServiceException
  {
    super.service(serviceManager);
    selectorManager = (SelectorManager) 
serviceManager.lookup(SelectorManager.class.getName());
    getLogger().debug("Resolved service " + selectorManager);
  }
}

/**
 * @avalon.component version="1.0" name="SocketConnector" lifestyle="transient"
 * @avalon.service version="1.0" type="de.escnet.net4j.transport.Connector"
 */
public class SocketConnector extends AbstractSocketConnector implements 
SocketConnectorMBean,
    Configurable
{
  [...]
}


that's why there are 4 (different) services resolved. but all of them are logged
as _identical_ (not only of same class/interface):

[DEBUG  ] (app.Client1.lifecycle): applying service manager
[DEBUG  ] (app.Client1): Resolved services: [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
[DEBUG  ] (app.Client1.lifecycle): applying configuration

btw. i've read the comments of mansour, but i'm indeed working with
and casting to interfaces (not classes)!

> Another test;
> Have a different "Prefix" text...
>     getLogger().debug("Resolved service 1:" + connectionManager);
>     getLogger().debug("Resolved service 2:" + protocolManager);
>     getLogger().debug("Resolved service 3:" + bufferPool);

really amazing:

[DEBUG  ] (app.Client1.lifecycle): applying service manager
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service 1: [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service 2: [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service 3: [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved services: [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
[DEBUG  ] (app.Client1.lifecycle): applying configuration

normal calls to the resolved interfaces work as expected and there
doesn't exist a common base class/interface for each pair of them:

   getLogger().debug("Resolved service " + connectionManager);
   getLogger().debug("Session count: " + connectionManager.getSessionCount());

    getLogger().debug("Resolved service " + protocolManager);
    getLogger().debug("Protocol count: " + protocolManager.getProtocolCount());

    getLogger().debug("Resolved service " + bufferPool);
    getLogger().debug("Maximum capacity: " + bufferPool.getMaximumCapacity());

logs:

[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
Session count: 0
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
Protocol count: 1
[DEBUG  ] (app.Client1): Resolved service [EMAIL PROTECTED]
Maximum capacity: 100

also changing from getLogger().debug() to System.out.println() will
give exactly the same result ;-((

if you'd like to have a look at the whole sources, you could
check out the project from http://developer.berlios.de/projects/net4j
it's open source. you'd need the following cvs modules:

de.escnet.util
de.escnet.net4j
de.escnet.net4j.test

the .test project contains a Main class which  starts the MerlinEmbedder
each project is an eclipse plugin project but you should also be able to
treat them as normal java projects (for eclipse). if something is unclear
i'll be glad to answer your questions ;-))

happy debugging ;-)
/eike


hi niclas,

hmm, when i told you there is no common base class, it was
actually not true. they all inherit AbstractLogEnabled and share
some lifecycle interfaces...

ciao
/eike

----- Original Message ----- 
From: "Niclas Hedhman" <[EMAIL PROTECTED]>
To: "Eike Stepper" <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 2004 11:27 AM
Subject: Re: Fw: strange log output


> On Thursday 10 June 2004 14:10, you wrote:
> > hmm, when i told you there is no common base class, it was
> > actually not true. they all inherit AbstractLogEnabled and share
> > some lifecycle interfaces...
>
> I suspect that you don't have Type generated properly in the looked up
> classes, and I am not sure how Merlin deal with that...
>
> Check that ProtocolManager implementation (and the others) has a
>
> @avalon.component type="com.abc.def.ghi.Jkl"
>
> in them, where 'type' is the type used in the lookup. And check the .xinfo
> file of these guys as well, to see that they are generated properly.

i fear it's not that easy. the components and descriptors are ok.
but i've made another interesting observation. beside the SocketConnector
there's a PassiveSocketConnector that also extends AbstractSocketConnector.
they both share the same service() implementation but live in different
containers:

<!-- pseudo block -->
<container app>
    <component SocketConnector/>

    <container net4j>
        <container socket>
            <component SocketAcceptor/>
            <component PassiveSocketConnector/>
        </container>
    </container>
<container>

surprisingly the PassiveSocketConnector logs proper service lookups:

[DEBUG  ] (kernel.logger): logging system established
[DEBUG  ] (kernel.logger): adding category [kernel]
[DEBUG  ] (kernel): logging system established
[DEBUG  ] (kernel): repository established: C:\Dokumente und
Einstellungen\Stepper\.maven\repository, http://www.dpml.net/,
http://www.ibiblio.org/maven/
[DEBUG  ] (kernel.logger): adding category [kernel]
[INFO   ] (kernel): info report
-----------------------------------------------------------
Merlin Kernel Environment Listing
-----------------------------------------------------------

  ${user.dir} == C:\develop\workspace\de.escnet.net4j.test
  ${user.home} == C:\Dokumente und Einstellungen\Stepper

  ${avalon.repository.cache} == C:\develop\tools\merlin\system
  ${avalon.repository.online} == true
  ${avalon.repository.hosts} ==
http://www.dpml.net,http://www.ibiblio.org/maven

  ${merlin.lang} == null
  ${merlin.home} == C:\develop\tools\merlin
  ${merlin.system} == C:\develop\tools\merlin\system
  ${merlin.config} == C:\develop\tools\merlin\config
  ${merlin.kernel} == file:/C:/develop/tools/merlin/config/kernel.xml
  ${merlin.logging.implementation} ==
artifact:avalon-logging/avalon-logging-logkit-impl#1.0.0
  ${merlin.logging.config} == null
  ${merlin.runtime} ==
artifact:avalon-activation/avalon-activation-impl#2.0.0
  ${merlin.override} == config/config.xml
  ${merlin.dir} == C:\develop\workspace\de.escnet.net4j.test
  ${merlin.temp} == C:\DOKUME~1\Stepper\LOKALE~1\Temp
  ${merlin.context} == C:\develop\workspace\de.escnet.net4j.test\home
  ${merlin.anchor} == C:\develop\workspace\de.escnet.net4j.test
  ${merlin.info} == true
  ${merlin.debug} == true
  ${merlin.audit} == false
  ${merlin.server} == true
  ${merlin.autostart} == true
  ${merlin.code.security.enabled} == false
  ${merlin.deployment.timeout} == 1000
  ${merlin.repository} == C:\Dokumente und
Einstellungen\Stepper\.maven\repository
  ${merlin.repository.hosts} ==
http://www.dpml.net/,http://www.ibiblio.org/maven/
  ${merlin.deployment} == file:/${merlin.dir}/bin/

-----------------------------------------------------------
[DEBUG  ] (kernel): building application model
[DEBUG  ] (kernel.logger): adding root category
[DEBUG  ] (kernel.logger): adding root category
[DEBUG  ] (kernel.logger): adding root category
[DEBUG  ] (classloader): base: ${merlin.dir}
[DEBUG  ] (classloader): classpath:
[DEBUG  ] (classloader.types): type install count: 0
[DEBUG  ] (classloader.types): type registration complete
[DEBUG  ] (kernel): state: initializing
[DEBUG  ] (kernel): kernel established
[DEBUG  ] (kernel): state: initialized
[DEBUG  ] (kernel): install phase
[DEBUG  ] (kernel): installing: file:/${merlin.dir}/bin/
[DEBUG  ] (): including composite block:
file:/C:/develop/workspace/de.escnet.net4j.test/bin/BLOCK-INF/block.xml
[DEBUG  ] (): installing: app
[DEBUG  ] (kernel.logger): adding category [app]
[DEBUG  ] (kernel.logger): adding category [app]
[DEBUG  ] (app): creating child classloader for: [app]
[DEBUG  ] (app.classloader): base: ${merlin.dir}
[DEBUG  ] (app.classloader): implicit entries: 1
[DEBUG  ] (app.classloader): classpath:
file:/${merlin.dir}/bin/;file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/avalon-framework/jars/avalon-framewo
rk-impl-4.1.5.jar;file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-api-1.0.0.jar;file:
/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-impl-1.0.0.jar
[DEBUG  ] (app.classloader.scanner): scanning: file:/${merlin.dir}/bin/
[DEBUG  ] (app.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/avalon-framework/jars/avalon-framewo
rk-impl-4.1.5.jar
[DEBUG  ] (app.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-api-1.0.0.jar
[DEBUG  ] (app.classloader.scanner): type: de.escnet.net4j.protocol.Protocol
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.protocol.ProtocolManager
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.Acceptor
[DEBUG  ] (app.classloader.scanner): type: de.escnet.net4j.transport.Channel
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.ConnectionManager
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.Connector
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.SelectorManager
[DEBUG  ] (app.classloader.scanner): type: de.escnet.net4j.util.BufferPool
[DEBUG  ] (app.classloader.scanner): type: de.escnet.net4j.util.Factory
[DEBUG  ] (app.classloader.scanner): type: de.escnet.net4j.util.Pool
[DEBUG  ] (app.classloader.scanner): type: de.escnet.net4j.util.Queue
[DEBUG  ] (app.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-impl-1.0.0.jar
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.protocol.impl.BasicClientProtocol
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.protocol.impl.BasicServerProtocol
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.protocol.impl.DefaultProtocolManager
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.DefaultChannel
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.DefaultConnectionManager
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.DefaultSelectorManager
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.EmbeddedAcceptor
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.EmbeddedConnector
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.PassiveSocketConnector
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.SocketAcceptor
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.transport.impl.SocketConnector
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.util.impl.BufferFactory
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultBufferPool
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultFactory
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultPool
[DEBUG  ] (app.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultQueue
[DEBUG  ] (app.classloader.types): type install count: 16
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.protocol.impl.BasicClientProtocol/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.protocol.impl.BasicServerProtocol/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.protocol.impl.DefaultProtocolManager/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.DefaultChannel/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.DefaultConnectionManager/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.DefaultSelectorManager/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.EmbeddedAcceptor/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.EmbeddedConnector/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.PassiveSocketConnector/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.SocketAcceptor/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.transport.impl.SocketConnector/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.util.impl.BufferFactory/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultBufferPool/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultFactory/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultPool/1].
[DEBUG  ] (app.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultQueue/1].
[DEBUG  ] (app.classloader.types): type registration complete
[DEBUG  ] (app): including composite block: jar:file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-impl-1.0.0.jar!/BLO
CK-INF/block.xml
[DEBUG  ] (app): installing: net4j
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (app.net4j): creating child classloader for: [net4j]
[DEBUG  ] (app.net4j.classloader): base: ${merlin.dir}
[DEBUG  ] (app.net4j.classloader): implicit entries: 1
[DEBUG  ] (app.net4j.classloader): classpath: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-impl-1.0.0.jar;file
:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/avalon-framework/jars/avalon-framewo
rk-impl-4.1.5.jar
[DEBUG  ] (app.net4j.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/net4j/jars/net4j-impl-1.0.0.jar
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.protocol.impl.BasicClientProtocol
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.protocol.impl.BasicServerProtocol
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.protocol.impl.DefaultProtocolManager
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.DefaultChannel
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.DefaultConnectionManager
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.DefaultSelectorManager
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.EmbeddedAcceptor
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.EmbeddedConnector
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.PassiveSocketConnector
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.SocketAcceptor
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.transport.impl.SocketConnector
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.util.impl.BufferFactory
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultBufferPool
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultFactory
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultPool
[DEBUG  ] (app.net4j.classloader.scanner): type:
de.escnet.net4j.util.impl.DefaultQueue
[DEBUG  ] (app.net4j.classloader.scanner): scanning: file:/C:/Dokumente und
Einstellungen/Stepper/.maven/repository/avalon-framework/jars/avalon-framewo
rk-impl-4.1.5.jar
[DEBUG  ] (app.net4j.classloader.types): type install count: 16
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.protocol.impl.BasicClientProtocol/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.protocol.impl.BasicServerProtocol/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.protocol.impl.DefaultProtocolManager/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.DefaultChannel/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.DefaultConnectionManager/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.DefaultSelectorManager/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.EmbeddedAcceptor/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.EmbeddedConnector/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.PassiveSocketConnector/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.SocketAcceptor/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.transport.impl.SocketConnector/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.util.impl.BufferFactory/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultBufferPool/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultFactory/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultPool/1].
[DEBUG  ] (app.net4j.classloader.types): registered
[type:de.escnet.net4j.util.impl.DefaultQueue/1].
[DEBUG  ] (app.net4j.classloader.types): type registration complete
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j.BufferPool]
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j.ProtocolManager]
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j.BasicServerProtocol]
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j.BasicClientProtocol]
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j.ConnectionManager]
[DEBUG  ] (kernel.logger): adding category [app.net4j]
[DEBUG  ] (kernel.logger): adding category [app.net4j.SelectorManager]
[DEBUG  ] (app.net4j): installing: socket
[DEBUG  ] (kernel.logger): adding category [app.net4j.socket]
[DEBUG  ] (kernel.logger): adding category [app.net4j.socket]
[DEBUG  ] (app.net4j.socket): creating child classloader for: [socket]
[DEBUG  ] (app.net4j.socket.classloader): base: ${merlin.dir}
[DEBUG  ] (app.net4j.socket.classloader): classpath:
[DEBUG  ] (app.net4j.socket.classloader.types): type install count: 0
[DEBUG  ] (app.net4j.socket.classloader.types): type registration complete
[DEBUG  ] (kernel.logger): adding category [app.net4j.socket]
[DEBUG  ] (kernel.logger): adding category [app.net4j.socket.SocketAcceptor]
[DEBUG  ] (kernel.logger): adding category [app.net4j.socket]
[DEBUG  ] (kernel.logger): adding category
[app.net4j.socket.PassiveSocketConnector]
[DEBUG  ] (kernel.logger): adding category [app]
[DEBUG  ] (kernel.logger): adding category [app.Client1]
[DEBUG  ] (kernel): customize phase
[DEBUG  ] (app): Can't find 'SocketAcceptor' in model repository:
{net4j=[/app/net4j], Client1=[/app/Client1]}
[WARN   ] (): Ignoring target directive as the path [/app/SocketAcceptor]
does not refer to a known component within the containment model [/].
[DEBUG  ] (): customizing target [/app/Client1]
[DEBUG  ] (kernel): startup phase
[DEBUG  ] (kernel): application assembly
[DEBUG  ] (kernel): state: assembly
[DEBUG  ] (): assembly phase
[DEBUG  ] (app): assembly phase
[DEBUG  ] (app.net4j): assembly phase
[DEBUG  ] (app.net4j.socket): assembly phase
[DEBUG  ] (kernel): application deployment
[DEBUG  ] (kernel): state: deployment
[DEBUG  ] (): commissioning container [app]
[DEBUG  ] (app): commissioning container [net4j]
[DEBUG  ] (app.net4j): commissioning component [BufferPool]
[DEBUG  ] (app.net4j.BufferPool.lifecycle): incarnation
[DEBUG  ] (app.net4j.BufferPool.lifecycle): instantiating component with a
null constructor
[DEBUG  ] (app.net4j.BufferPool.lifecycle): applying logger
[DEBUG  ] (app.net4j.BufferPool.lifecycle): applying configuration
[DEBUG  ] (app.net4j.BufferPool.lifecycle): applying initialization
[DEBUG  ] (app.net4j.BufferPool.lifecycle): incarnation complete
[DEBUG  ] (app.net4j): commissioning of [BufferPool] completed in 46
milliseconds
[DEBUG  ] (app.net4j): commissioning component [ProtocolManager]
[DEBUG  ] (app.net4j.ProtocolManager.lifecycle): incarnation
[DEBUG  ] (app.net4j.ProtocolManager.lifecycle): instantiating component
with a null constructor
[DEBUG  ] (app.net4j.ProtocolManager.lifecycle): applying logger
[DEBUG  ] (app.net4j.ProtocolManager.lifecycle): incarnation complete
[DEBUG  ] (app.net4j): commissioning of [ProtocolManager] completed in 0
milliseconds
[DEBUG  ] (app.net4j): commissioning component [BasicServerProtocol]
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): incarnation
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): instantiating component
with a null constructor
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): applying logger
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): applying service
manager
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): resolved
protocolManager [EMAIL PROTECTED]
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): applying initialization
[INFO   ] (app.net4j.ProtocolManager): Registering server-side basic
protocol
[DEBUG  ] (app.net4j.BasicServerProtocol.lifecycle): incarnation complete
[DEBUG  ] (app.net4j): commissioning of [BasicServerProtocol] completed in
1000 milliseconds
[DEBUG  ] (app.net4j): commissioning component [BasicClientProtocol]
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): incarnation
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): instantiating component
with a null constructor
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): applying logger
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): applying service
manager
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): resolved
protocolManager [EMAIL PROTECTED]
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): applying initialization
[INFO   ] (app.net4j.ProtocolManager): Registering client-side basic
protocol
[DEBUG  ] (app.net4j.BasicClientProtocol.lifecycle): incarnation complete
[DEBUG  ] (app.net4j): commissioning of [BasicClientProtocol] completed in
1000 milliseconds
[DEBUG  ] (app.net4j): commissioning component [ConnectionManager]
[DEBUG  ] (app.net4j.ConnectionManager.lifecycle): incarnation
[DEBUG  ] (app.net4j.ConnectionManager.lifecycle): instantiating component
with a null constructor
[DEBUG  ] (app.net4j.ConnectionManager.lifecycle): applying logger
[DEBUG  ] (app.net4j.ConnectionManager.lifecycle): applying configuration
[DEBUG  ] (app.net4j.ConnectionManager.lifecycle): applying initialization
[DEBUG  ] (app.net4j.ConnectionManager.lifecycle): incarnation complete
[DEBUG  ] (app.net4j): commissioning of [ConnectionManager] completed in
1000 milliseconds
[DEBUG  ] (app.net4j): commissioning component [SelectorManager]
[DEBUG  ] (app.net4j.SelectorManager.lifecycle): incarnation
[DEBUG  ] (app.net4j.SelectorManager.lifecycle): instantiating component
with a null constructor
[DEBUG  ] (app.net4j.SelectorManager.lifecycle): applying logger
[DEBUG  ] (app.net4j.SelectorManager.lifecycle): applying configuration
[DEBUG  ] (app.net4j.SelectorManager.lifecycle): incarnation complete
[DEBUG  ] (app.net4j): commissioning of [SelectorManager] completed in 1000
milliseconds
[DEBUG  ] (app.net4j): commissioning container [socket]
[DEBUG  ] (app.net4j.socket): commissioning component [BufferPool]
[DEBUG  ] (app.net4j.socket): commissioning of [BufferPool] completed in 0
milliseconds
[DEBUG  ] (app.net4j.socket): commissioning component [ConnectionManager]
[DEBUG  ] (app.net4j.socket): commissioning of [ConnectionManager] completed
in 1000 milliseconds
[DEBUG  ] (app.net4j.socket): commissioning component [ProtocolManager]
[DEBUG  ] (app.net4j.socket): commissioning of [ProtocolManager] completed
in 1000 milliseconds
[DEBUG  ] (app.net4j.socket): commissioning component [SelectorManager]
[DEBUG  ] (app.net4j.socket): commissioning of [SelectorManager] completed
in 0 milliseconds
[DEBUG  ] (app.net4j.socket): commissioning component [SocketAcceptor]
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): incarnation
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): instantiating
component with a null constructor
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): applying logger
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): applying context
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): received model
[/app/net4j/socket]
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): applying service
manager
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): resolved
protocolManager [EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): resolved
connectionManager
[EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): resolved bufferPool
[EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): resolved
selectorManager
[EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): applying
configuration
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): applying startup
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): component startup
completed
[DEBUG  ] (app.net4j.socket.SocketAcceptor.lifecycle): incarnation complete
[DEBUG  ] (app.net4j.socket): commissioning of [SocketAcceptor] completed in
62 milliseconds
[DEBUG  ] (app.net4j.socket): commissioning component
[PassiveSocketConnector]
[DEBUG  ] (app.net4j.socket): commissioning of [PassiveSocketConnector]
completed in 1000 milliseconds
[DEBUG  ] (app.net4j.SelectorManager.proxy): Finalizing proxy [32926975]
(appliance:/app/net4j/SelectorManager).
[DEBUG  ] (app.net4j.SelectorManager.proxy): Releasing component [32926975]
(appliance:/app/net4j/SelectorManager).
[DEBUG  ] (app.net4j): commissioning of [socket] completed in 3078
milliseconds
[DEBUG  ] (app): commissioning of [net4j] completed in 7218 milliseconds
[DEBUG  ] (app): commissioning component [Client1]
[DEBUG  ] (app): commissioning of [Client1] completed in 0 milliseconds
[DEBUG  ] (): commissioning of [app] completed in 7218 milliseconds
[DEBUG  ] (kernel): state: started
[DEBUG  ] (app.Client1.lifecycle): incarnation
[DEBUG  ] (app.Client1.lifecycle): instantiating component with a null
constructor
[DEBUG  ] (app.Client1.lifecycle): applying logger
[DEBUG  ] (app.Client1.lifecycle): applying context
[DEBUG  ] (app.Client1.lifecycle): received model [/app]
[DEBUG  ] (app.Client1.lifecycle): applying service manager
[DEBUG  ] (app.Client1.lifecycle): resolved connectionManager
[EMAIL PROTECTED]
[DEBUG  ] (app.Client1.lifecycle): resolved protocolManager
[EMAIL PROTECTED]
[DEBUG  ] (app.Client1.lifecycle): resolved bufferPool
[EMAIL PROTECTED]
[DEBUG  ] (app.Client1.lifecycle): resolved selectorManager
[EMAIL PROTECTED]
[DEBUG  ] (app.Client1.lifecycle): applying configuration
[DEBUG  ] (app.Client1.lifecycle): applying initialization
[DEBUG  ] (app.Client1.lifecycle): applying startup
[INFO   ] (app.net4j.socket.SocketAcceptor): session accepted
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): incarnation
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): instantiating
component with a null constructor
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): applying
logger
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): applying
context
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): received
model [/app/net4j/socket]
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): applying
service manager
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): resolved
connectionManager
[EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): resolved
protocolManager [EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): resolved
bufferPool [EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): resolved
selectorManager
[EMAIL PROTECTED]
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): applying
initialization
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector.lifecycle): incarnation
complete
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector): received connectionId:
1
[DEBUG  ] (app.net4j.socket.PassiveSocketConnector): received socketChannel:
java.nio.channels.SocketChannel[connected local=/127.0.0.1:2036
remote=/127.0.0.1:3095]
[INFO   ] (app.Client1): connected
[DEBUG  ] (app.Client1.lifecycle): component startup completed
[DEBUG  ] (app.Client1.lifecycle): incarnation complete
client








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

Reply via email to