You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <qp...@incubator.apache.org> on 2007/01/04 22:39:27 UTC

[jira] Resolved: (QPID-241) C++ client cannot connect to Java broker.

     [ https://issues.apache.org/jira/browse/QPID-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim van der Riet resolved QPID-241.
-----------------------------------

    Resolution: Fixed

C++ clinet was sending version 0-0 over the wire. Changes to C++ generated files, so must rerun bootstrap and configure. [ svn commit: r492756 ] Running the C++ client-test script against the Java broker now works.

> C++ client cannot connect to Java broker.
> -----------------------------------------
>
>                 Key: QPID-241
>                 URL: https://issues.apache.org/jira/browse/QPID-241
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>            Reporter: Alan Conway
>         Assigned To: Kim van der Riet
>
> Date: Wed, 3 Jan 2007 18:20:31 +0000
> From: "Robert Greig" <ro...@gmail.com>
> A problem actually arose today when I gave the guys a new build with
> the latest (trunk) of C++. When they try to connect ot a java broker -
> either trunk or one from November they get:
> pool-2-thread-1 2007-01-03 18:13:27,783 ERROR
> [qpid.server.protocol.AMQProtocolSession] Received incorrect protocol
> init
> iation
> org.apache.qpid.framing.AMQProtocolVersionException: Protocol version
> 0.0 not found in protocol version list.
>         at org.apache.qpid.framing.ProtocolInitiation.checkVersion(ProtocolInitiation.java:175)
>         at org.apache.qpid.server.protocol.AMQMinaProtocolSession.dataBlockReceived(AMQMinaProtocolSession.java:162)
>         at org.apache.qpid.server.protocol.AMQPFastProtocolHandler.messageReceived(AMQPFastProtocolHandler.java:203)
>         at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189)
>         at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
>         at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
>         at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:7
> 77)
>         at org.apache.qpid.pool.Event.process(Event.java:80)
>         at org.apache.qpid.pool.PoolingFilter.fireEvent(PoolingFilter.java:71)
>         at org.apache.qpid.pool.PoolingFilter.messageReceived(PoolingFilter.java:143)
>         at org.apache.mina.filter.ReferenceCountingIoFilter.messageReceived(ReferenceCountingIoFilter.java:96)
>         at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
>         at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
>         at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:7
> 77)
>         at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
>         at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185)
>         at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:502)
>         at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
>         at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:7
> 77)
>         at org.apache.qpid.pool.Event.process(Event.java:80)
>         at org.apache.qpid.pool.Job.processAll(Job.java:81)
>         at org.apache.qpid.pool.Job.run(Job.java:103)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)
> Any ideas about that? In the meantime I'm going to try building an
> older C++ client.
> RG

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira