Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B6889A9D for ; Wed, 2 Nov 2011 07:12:00 +0000 (UTC) Received: (qmail 59752 invoked by uid 500); 2 Nov 2011 07:12:00 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 59671 invoked by uid 500); 2 Nov 2011 07:11:58 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 59663 invoked by uid 99); 2 Nov 2011 07:11:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 07:11:56 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 07:11:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6706532D7EE for ; Wed, 2 Nov 2011 07:11:32 +0000 (UTC) Date: Wed, 2 Nov 2011 07:11:32 +0000 (UTC) From: "Michael Hayes (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <740798961.49624.1320217892423.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1681043606.76119.1303460645667.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3290) Wire format negotiation timeout: peer did not send his wire format MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141975#comment-13141975 ] Michael Hayes commented on AMQ-3290: ------------------------------------ JVM memory, not server RAM. Heap + Non-Heap + Native is less than 2^^32 with e.g. hotspot 32-bit jvm. -Xss controls the Stack Space (this is Native space) per new thread. > Wire format negotiation timeout: peer did not send his wire format > ------------------------------------------------------------------ > > Key: AMQ-3290 > URL: https://issues.apache.org/jira/browse/AMQ-3290 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.2 > Environment: MS Windows 7 Home Premium x64 Intel Core i5 M 460 RAM 6GB > Reporter: Maxim Novikov > Priority: Critical > Labels: connection, did, failed, format, negotiation, not, peer, send, timeout, wire > Attachments: hs_err_pid24632.log > > Original Estimate: 24h > Remaining Estimate: 24h > > I have two client application written on Java. Each of them has consumers to ActiveMQ (maven dependancy 'activemq-core' version 5.3.2). > Also there are three applications written on C# (two windows services and one ASP.NET application) which use Apache.NMS 1.5 to connect to ActiveMQ server. > During some time everything's fine (e.g. today this period has been about 4 hours). But since some moment .NET started throw the following exception: > Wire format negotiation timeout: peer did not send his wire format. > Apache.NMS.ActiveMQ.IOException: Wire format negotiation timeout: peer did not send his wire format. > at Apache.NMS.ActiveMQ.Connection.SyncRequest(Command command) in c:\dev\NMS.ActiveMQ\src\main\csharp\Connection.cs:line 628 > at Apache.NMS.ActiveMQ.Connection.CheckConnected() in c:\dev\NMS.ActiveMQ\src\main\csharp\Connection.cs:line 712 > at Apache.NMS.ActiveMQ.Connection.CreateAtiveMQSession(AcknowledgementMode ackMode) in c:\dev\NMS.ActiveMQ\src\main\csharp\Connection.cs:line 467 > at Apache.NMS.ActiveMQ.Connection.CreateSession() in c:\dev\NMS.ActiveMQ\src\main\csharp\Connection.cs:line 454 > Actually Java consumers also don't work though there are no errors in their part. But I can see via ActiveMQ web console that no one Query has consumers (for each Query column 'Number Of Consumers' value equals 0). > So actually nothing works (not Java, not C#) since some moment. I can see the error in .NET but can't see in Java. > Also this problem appears after restarting operation system. Not always but it happens occasionally. > PS For Java application I use org.apache.activemq.ActiveMQConnectionFactory and Mule ESB jms:activemq-connector. And this part doesn't show error when it happens. > For C# applications I use Apache.NMS.ActiveMQ.ConnectionFactory and every time when I think we can face to problem I'm trying to get new connection with the following code lines: > if ((connection == null) || !connection.IsStarted) > { > connection = factory.CreateConnection(); > ISession session = connection.CreateSession(); > IDestination dest = session.GetDestination(Queue); > producer = session.CreateProducer(dest); > } > but unfortunately it doesn't help. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira