Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A8C711F9D for ; Wed, 10 Sep 2014 19:35:33 +0000 (UTC) Received: (qmail 32644 invoked by uid 500); 10 Sep 2014 19:35:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 32572 invoked by uid 500); 10 Sep 2014 19:35:28 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 76484 invoked by uid 99); 10 Sep 2014 07:10:53 -0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_HELO_PASS,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of venkatesh.sti120@gmail.com does not designate 162.253.133.43 as permitted sender) Date: Wed, 10 Sep 2014 00:10:21 -0700 (PDT) From: venkatesh To: users@activemq.apache.org Message-ID: <1410333021584-4685440.post@n4.nabble.com> Subject: what is the toot cause and how to resolve the error i.e javax.jms.JMSException: No buffer space available (maximum connections reached? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi All, As i am getting below error when JMS getting stopped automatically with the following error(It's happened twice as of now and that too only one day in business time). We are using Tomcat server in our application javax.jms.JMSException: No buffer space available (maximum connections reached?): connect at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1255) at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1350) at org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:300) at com.spacetimeinsight.alerts.util.MessagingUtils.sendMessage(Unknown Source) at com.spacetimeinsight.alerts.util.MessagingUtils.sendTextMessage(Unknown Source) at com.spacetimeinsight.alerts.utils.AlertUtils.sendAutoAcknowledgeMsg(Unknown Source) at com.spacetimeinsight.alerts.utils.AlertUtils.processAlertAutoAck(Unknown Source) We know work around would be, we need to restart the JMS but if this happens every time in business timings then it might be a big problem for us. So can any one help me to understand the issue in detail for my questions below. 1)what would be root cause for the issue. 2)In what scenario's this situation raises 3)what would be our precautions to avoid this error. 4) what suggestions we can provide to getrid of this error Please suggest asap which helps me alot Thanks in advance... Regards, Venkatesh -- View this message in context: http://activemq.2283324.n4.nabble.com/what-is-the-toot-cause-and-how-to-resolve-the-error-i-e-javax-jms-JMSException-No-buffer-space-avail-tp4685440.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.