Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34333 invoked from network); 14 Feb 2007 10:30:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 10:30:33 -0000 Received: (qmail 22850 invoked by uid 500); 14 Feb 2007 10:30:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 22825 invoked by uid 500); 14 Feb 2007 10:30:40 -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 22816 invoked by uid 99); 14 Feb 2007 10:30:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 02:30:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 02:30:30 -0800 Received: by ug-out-1314.google.com with SMTP id m3so172636ugc for ; Wed, 14 Feb 2007 02:30:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dLjOXkv+kxxOk0p5wtnmLAJS0zakbZXk3UKm7o2QX7FKO47dyZnCsBBk/p+mMLkftF00HV1qo1FgonKwuqkOr4qP2ypTPcKkXJFP+lzAFALi166RmeWVqa9OcwaqGzifBFLWpHnxDnwnXhemG0zko01aDoj3i6J1xvLKvQcpuxo= Received: by 10.78.123.4 with SMTP id v4mr216220huc.1171449008763; Wed, 14 Feb 2007 02:30:08 -0800 (PST) Received: by 10.78.155.6 with HTTP; Wed, 14 Feb 2007 02:30:08 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2007 10:30:08 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Problems with amq and log4j ... In-Reply-To: <8c46aa2a0702131703p33ada642l6241684de92ad42e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8c46aa2a0702131703p33ada642l6241684de92ad42e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Which version are you using? Also what appears in the broker's log file - it seems the broker side is not responding properly On 2/14/07, David Borja wrote: > Hi activemq devs!! > > I'm having a problem with activemq and log4j ... > > this is my log4j.properties : > > log4j.appender.A1=org.apache.log4j.net.JMSAppender > log4j.appender.A1.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory > log4j.appender.A1.ProviderURL=tcp://dllo-aborja:61616 > log4j.appender.A1.TopicBindingName=jms/log.queue > log4j.appender.A1.TopicConnectionFactoryBindingName=ConnectionFactory > > log4j.appender.A1.layout=lineai.base.jms.util.log4j.XMLLayout > > When i try to send log message, the following exception is thrown: > > log4j:ERROR Error while activating options for appender named [A1]. > javax.jms.JMSException: Wire format negociation timeout: peer did not send > his wire format. > at org.apache.activemq.util.JMSExceptionSupport.create( > JMSExceptionSupport.java:58) > at org.apache.activemq.ActiveMQConnection.syncSendPacket( > ActiveMQConnection.java:1181) > at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent ( > ActiveMQConnection.java:1259) > at org.apache.activemq.ActiveMQConnection.createSession( > ActiveMQConnection.java:274) > at org.apache.activemq.ActiveMQConnection.createTopicSession( > ActiveMQConnection.java:960) > at org.apache.log4j.net.JMSAppender.activateOptions (Unknown Source) > at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java > :256) > at org.apache.log4j.config.PropertySetter.setProperties( > PropertySetter.java:132) > at org.apache.log4j.config.PropertySetter.setProperties( > PropertySetter.java :96) > at org.apache.log4j.PropertyConfigurator.parseAppender( > PropertyConfigurator.java:654) > at org.apache.log4j.PropertyConfigurator.parseCategory( > PropertyConfigurator.java:612) > at org.apache.log4j.PropertyConfigurator.configureRootCategory ( > PropertyConfigurator.java:509) > at org.apache.log4j.PropertyConfigurator.doConfigure( > PropertyConfigurator.java:415) > at org.apache.log4j.PropertyConfigurator.doConfigure( > PropertyConfigurator.java:441) > at org.apache.log4j.PropertyConfigurator.configure ( > PropertyConfigurator.java:336) > at lineai.base.jms.util.log4j.LogTest.test(LogTest.java:12) > at lineai.base.jms.util.log4j.LogTest.main(LogTest.java:24) > Caused by: java.io.IOException: Wire format negociation timeout: peer did > not send his wire format. > at org.apache.activemq.transport.WireFormatNegotiator.oneway( > WireFormatNegotiator.java:88) > at org.apache.activemq.transport.MutexTransport.oneway( > MutexTransport.java:43) > at org.apache.activemq.transport.ResponseCorrelator.asyncRequest ( > ResponseCorrelator.java:69) > at org.apache.activemq.transport.ResponseCorrelator.request( > ResponseCorrelator.java:74) > at org.apache.activemq.ActiveMQConnection.syncSendPacket( > ActiveMQConnection.java:1171) > ... 15 more > > Any ideas?? > > Thnx ... > > David > -- James ------- http://radio.weblogs.com/0112098/