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 E85A196F4 for ; Wed, 6 Mar 2013 01:24:12 +0000 (UTC) Received: (qmail 74181 invoked by uid 500); 6 Mar 2013 01:24:12 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74156 invoked by uid 500); 6 Mar 2013 01:24:12 -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 Received: (qmail 74147 invoked by uid 99); 6 Mar 2013 01:24:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 01:24:12 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.179 as permitted sender) Received: from [209.85.217.179] (HELO mail-lb0-f179.google.com) (209.85.217.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 01:24:08 +0000 Received: by mail-lb0-f179.google.com with SMTP id j14so5201413lbo.24 for ; Tue, 05 Mar 2013 17:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=sqb+U/Ap+aFApPmuOQm/TJK/bhW2J2WQisU5KvxTir4=; b=UJdzR1ipcI/9o80b3cDkgHa/LstLldKGWqraoD/uEKcu6XW/Xv2KOMTqPyzKCS2vES 4O5pHrkAL/BN3CQ4Vvj2xyT+FVsgxkIwzwChYBYqBweNf1b6Yn42QlsSl8Podxn879Yh eQUchFDUX/Qhz9ihhiiI0FTMf2kYEaKT1GL7VD48CU8z/VnuzzOlTdsUKlLO4MovLQec l+mudizZ0lJaFTIB9WSt928VpWEXiIcCQTMf8b9M/+G8ydUvkXagCk0OJanjTne9hPqw NQDFSLnetoWXHzVc9vALuJer20dzODD0uUAXbj6Rx3JJKxW9286LtM7fxk68YEDnGvFC bj0Q== MIME-Version: 1.0 X-Received: by 10.152.45.140 with SMTP id n12mr23371083lam.36.1362533026678; Tue, 05 Mar 2013 17:23:46 -0800 (PST) Received: by 10.114.38.66 with HTTP; Tue, 5 Mar 2013 17:23:46 -0800 (PST) In-Reply-To: <1362529619701-4664410.post@n4.nabble.com> References: <1362529619701-4664410.post@n4.nabble.com> Date: Tue, 5 Mar 2013 18:23:46 -0700 Message-ID: Subject: Re: java.io.IOException: Frame size Error From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=bcaec55245160cce5604d737715c X-Virus-Checked: Checked by ClamAV on apache.org --bcaec55245160cce5604d737715c Content-Type: text/plain; charset=ISO-8859-1 how big is the string you're putting into the console? what version are you using? On Tue, Mar 5, 2013 at 5:26 PM, jdev.hari wrote: > Hi, > I am developing a spring based web application and I configured a jms > listener as follows > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:context="http://www.springframework.org/schema/context" > xmlns:amq="http://activemq.apache.org/schema/core" > xsi:schemaLocation="http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-3.0.xsd > http://www.springframework.org/schema/context > http://www.springframework.org/schema/context/spring-context-3.0.xsd"> > > > class="org.apache.activemq.ActiveMQConnectionFactory"> > > > > > class="org.springframework.jms.listener.DefaultMessageListenerContainer"> > > > > > > > class="org.springframework.jms.connection.CachingConnectionFactory"> > > > > > > > I am getting the error > > > 2013-03-05 18:01:27,437 [ActiveMQ Connection Executor: > tcp://somserverip/10.5.182.24:8161] > > org.springframework.jms.connection.SingleConnectionFactory.onException(SingleConnectionFactory.java:301) > WARN : Encountered a JMSException - resetting the underlying JMS > Connection > javax.jms.JMSException: Frame size of 1157 MB larger than max allowed 100 > MB > at > > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) > at > > org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1934) > at > > org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1951) > at > > org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101) > at > > org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:126) > at > > org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101) > at > > org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101) > at > > org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:160) > at > > org.apache.activemq.transport.AbstractInactivityMonitor.onException(AbstractInactivityMonitor.java:268) > at > > org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:96) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:208) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.io.IOException: Frame size of 1157 MB larger than max > allowed 100 MB > at > > org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:277) > at > > org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:229) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:221) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204) > > > > I can confirm that I just put a string in the queue using Activemq console. > Any ideas. > > Thanks, > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/java-io-IOException-Frame-size-Error-tp4664410.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --bcaec55245160cce5604d737715c--