Hi

what's the server is doing? did it see the connection? Do you have a full
client+server sample we can run to reproduce?

(you can inspire from
https://github.com/apache/tomee/tree/master/examples/client-resource-lookup-preview
maybe if you need help to setup a project)


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-02-01 12:48 GMT+01:00 Dignesh <[email protected]>:

> Hi ,
>
> I am using the below client program to publish the messages. I am seeing
> the
> below error. Can some one please help me on this.
>
> Exception in thread "main" javax.jms.JMSException: Wire format negotiation
> timeout: peer did not send his wire format.
>         at
> org.apache.activemq.util.JMSExceptionSupport.create(
> JMSExceptionSupport.java:72)
>         at
> org.apache.activemq.ActiveMQConnection.syncSendPacket(
> ActiveMQConnection.java:1413)
>         at
> org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(
> ActiveMQConnection.java:1478)
>         at
> org.apache.activemq.ActiveMQConnection.createSession(
> ActiveMQConnection.java:329)
>         at client.InsertJMSMessageTopic.main(InsertJMSMessageTopic.
> java:30)
> Caused by: java.io.IOException: Wire format negotiation timeout: peer did
> not send his wire format.
>         at
> org.apache.activemq.transport.WireFormatNegotiator.oneway(
> WireFormatNegotiator.java:99)
>         at
> org.apache.activemq.transport.MutexTransport.oneway(
> MutexTransport.java:68)
>         at
> org.apache.activemq.transport.ResponseCorrelator.asyncRequest(
> ResponseCorrelator.java:81)
>         at
> org.apache.activemq.transport.ResponseCorrelator.request(
> ResponseCorrelator.java:86)
>         at
> org.apache.activemq.ActiveMQConnection.syncSendPacket(
> ActiveMQConnection.java:1388)
>         ... 3 more
>
> Thank you,
> Dignesh,
> InsertJMSMessageTopic.java
> <http://tomee-openejb.979440.n4.nabble.com/file/n4680992/
> InsertJMSMessageTopic.java>
>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Issue-with-MDB-topic-tp4680992.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>

Reply via email to