activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Wire Format Negotiation Timeout -- Say what??
Date Mon, 13 May 2013 19:37:15 GMT
You can use wireshark (or tcpdump) on the broker machine to see if the
client's WireFormatInfo is coming through and whether the broker is sending
one. Wireshark does have a built in activemq command codec so you can see
the command objects going through. You can also try things like ping or
traceroute to see if the client can get to the broker.




On Mon, May 13, 2013 at 11:49 AM, fenbers <Mark.Fenbers@noaa.gov> wrote:

>
>
>
>
>
>     I'm also suspecting it is a network issue, as I surmise you are by
>     the questions you ask.&nbsp; But my strength is programming, not
>     sysadmin.&nbsp; So I want to answer your questions, but don't know the
>     RedHat tricks or tools to determine the answers.&nbsp; Can you hold my
>     hand (figuratively) as to how I can find out if the info is getting
>     blocked?
>
>     Mark
>
>     On 5/13/2013 2:04 PM, ceposta [via
>       ActiveMQ] wrote:
>
>      Mark,
>
>       When the connection to the broker is first established, the wire
>       format is
>
>       negotiated by each side sending it's preferred info. Looks like
>       the client
>
>       is sending its info, but not getting anything back. Maybe take a
>       thread
>
>       dump to see what's going on on the broker side... can you verify
>       the client
>
>       wire info is in fact making it across the network to the broker,
>       or that
>
>       the broker's info is making it back to the client? or getting
>       blocked
>
>       somehow?
>
>
>
>
>
>       On Mon, May 13, 2013 at 10:50 AM, fenbers &lt; [hidden email] &gt;
>       wrote:
>
>
>         &gt; I'm getting the error shown in the Subject, not at first,
>         but after
>
>         &gt; ActiveMQ
>
>         &gt; has been working just fine for several hours. &nbsp;Then once
> it
>         happens, all my
>
>         &gt; clients that interact with the broker reports this error.
>         &nbsp;I've found this
>
>         &gt; page:
>
>         &gt;
>
>         &gt;
> http://activemq.apache.org/javaxjmsjmsexception-wire-format-negociation-timeout-peer-did-not-send-his-wire-format.html
>         &gt;
>
>         &gt; But none of the 3 issues apply in my case. &nbsp;Specifically,
>         if the host:port
>
>         &gt; is incorrect, how does it work fine for several hours, then
>         quit in the
>
>         &gt; middle of the night when no one is here? &nbsp;And I'm not
> using
>         log4j
>
>         &gt; JMSAppender. &nbsp;And the broker is not under heavy load.
> &nbsp;In
>         fact, it is idle
>
>         &gt; right now and I still get the error.
>
>         &gt;
>
>         &gt; It must be something else! &nbsp;Anyone have ideas??
> &nbsp;The entire
>         error is
>
>         &gt; below...
>
>         &gt;
>
>         &gt; Mark
>
>         &gt;
>
>         &gt; ERROR 2013-05-13 12:08:58,802 [main]
>         SendJMS.StatusProducer: Wire format
>
>         &gt; negotiation timeout: peer did not send his wire format.
>
>         &gt; javax.jms.JMSException: Wire format negotiation timeout:
>         peer did not send
>
>         &gt; his wire format.
>
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1409)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1496)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:325)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>         gov.noaa.ohrfc.SendJMS.StatusProducer.run(StatusProducer.java:92)
>
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>         gov.noaa.ohrfc.SendJMS.SendJMS.main(SendJMS.java:79)
>
>         &gt; Caused by: java.io.IOException: Wire format negotiation
>         timeout: peer did
>
>         &gt; not send his wire format.
>
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:98)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; at
>
>         &gt;
>
>         &gt;
>
> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1380)
>         &gt; &nbsp; &nbsp; &nbsp; &nbsp; ... 4 more
>
>         &gt;
>
>         &gt;
>
>         &gt;
>
>         &gt;
>
>         &gt;
>
>         &gt; --
>
>         &gt; View this message in context:
>
>         &gt;
> http://activemq.2283324.n4.nabble.com/Wire-Format-Negotiation-Timeout-Say-what-tp4666972.html
>         &gt; Sent from the ActiveMQ - User mailing list archive at
>         Nabble.com.
>
>         &gt;
>
>
>
>
>       --
>       *Christian Posta*
>
>       http://www.christianposta.com/blog
>       twitter: @christianposta
>
>        http://www.christianposta.com/blog
>
>
>
>
>
>         If you reply to this email, your
>           message will be added to the discussion below:
>
> http://activemq.2283324.n4.nabble.com/Wire-Format-Negotiation-Timeout-Say-what-tp4666972p4666974.html
>
>
>         To unsubscribe from Wire Format Negotiation Timeout -- Say
>         what??, click
>           here .
>         NAML
>
>
>
>
>
>
> mark_fenbers.vcf (360 bytes) <
> http://activemq.2283324.n4.nabble.com/attachment/4666977/0/mark_fenbers.vcf
> >
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Wire-Format-Negotiation-Timeout-Say-what-tp4666972p4666977.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message