qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Ritchie <ritch...@apache.org>
Subject Java Client failes to close 0-10 connection after protocol negotiation
Date Thu, 01 Oct 2009 15:58:14 GMT

I'm just trying to understand the java client protocol negotication code.

As I understand it we attempt to connect 0-10 first and the java
broker replies saying 0-9 which we then use to connect using Mina.

However, does the 0-10 IoReceiver/IoSender Connection/socket actually
get closed?

I'm seeing the BrokerStartupTest fail because the previous test is
logging DEBUG IoReceive Connection closed logs in to the log run of
the next test.

See below for log.

Now perhaps it is the fault of the Java Broker, should it close the
socket after replying with the supported protocol versions?
Should the client ensure that it has closed the socket?




main 2009-10-01 14:08:47,436 INFO [qpid.test.utils.QpidTestCase]
========== start BrokerStartupTest.testInvalidLog4jConfigurationFile
main 2009-10-01 14:08:47,445 INFO [qpid.test.utils.QpidTestCase]
starting broker:
-p 15672 -m 18999 -c
 -l invalid
System Properties set to -Damqj.logging.level=debug
QPID_OPTS set to -Dlog4j.debug -Damqj.protocol.logging.level=debug
-Damqj.server.logging.level=info -Droot.logging.level=warn
-Damqj.read_write_pool_size=32 -DQPID_LOG_APPEND=true
Info: QPID_JAVA_GC not set. Defaulting to JAVA_GC
-XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError
Info: QPID_JAVA_MEM not set. Defaulting to JAVA_MEM -Xmx1024m
IoReceiver - / 2009-10-01 14:08:47,546 DEBUG
[apache.qpid.transport.Connection] connection closed: conn:190690e
IoReceiver - / 2009-10-01 14:08:47,706 DEBUG
[apache.qpid.transport.Connection] connection closed: conn:1854d1f
MESSAGE [Broker] BRK-1006 : Using configuration :

Martin Ritchie

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message