Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 22063 invoked from network); 7 Aug 2009 14:37:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 14:37:13 -0000 Received: (qmail 78524 invoked by uid 500); 7 Aug 2009 14:37:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 78495 invoked by uid 500); 7 Aug 2009 14:37:19 -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 78485 invoked by uid 99); 7 Aug 2009 14:37:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 14:37:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chirino@gmail.com designates 209.85.219.218 as permitted sender) Received: from [209.85.219.218] (HELO mail-ew0-f218.google.com) (209.85.219.218) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 14:37:07 +0000 Received: by ewy18 with SMTP id 18so2013406ewy.38 for ; Fri, 07 Aug 2009 07:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=YtUeLs51MpeK6o4PSK2SAKJrViWY+AZdGSS8u/vx7UM=; b=J4lWZDeJMDLMmJn/2PKPPS9HxscUZKBfmmdsRidX6I2Aalm7Wd3ULpk8IfWUybUkrX tFgbi+W8zd9Qz1Bj4SbgKafgOXKJIFTlcusNjUd1tFhXhBl3pRySqQteotMkka+Mgs4s Jo+tZ6Gk0NwewJ3G3yZr475l5KnOhfRIDeLt0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Vf39C2VtGoejfhCHmSA4YzgM7i3RgTpqs6hbuOosAhQBUzraU+h2eqVkQiWsU0hq5A 613tgGrhQ7vElc3Nlfuko9AeQGOguzYyuhAGfHV8EKtET0yxilu3d+xmOYpksByw/pmr uVyH9G+V2bhn27TOrOnzRBq1y8/x3qmKC3MOc= MIME-Version: 1.0 Received: by 10.216.21.211 with SMTP id r61mr233396wer.211.1249655807285; Fri, 07 Aug 2009 07:36:47 -0700 (PDT) In-Reply-To: <3a73c17c0908070200i7e6d5f15h5693fd38818fb71c@mail.gmail.com> References: <14622389.post@talk.nabble.com> <24860244.post@talk.nabble.com> <3a73c17c0908070200i7e6d5f15h5693fd38818fb71c@mail.gmail.com> Date: Fri, 7 Aug 2009 10:36:46 -0400 Message-ID: Subject: Re: ActiveMQ 5 and Log4j JMSAppender error From: Hiram Chirino To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0016364c7dd77c1aff04708e2afc X-Virus-Checked: Checked by ClamAV on apache.org --0016364c7dd77c1aff04708e2afc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Wonder if we should just filter out our own log messages in the JMS appender, that way users can never get bitten by this problem. On Fri, Aug 7, 2009 at 5:00 AM, Gary Tully wrote: > great. thanks for completing the loop on this by sharing your solution :-) > > 2009/8/7 Kinski > > > > > I added the suffix to the brokerURL > > > > I.e. > > > > > log4j.appender.JMS.ProviderURL=tcp://localhost:61616?wireFormat.cacheEnabled=false > > > > but this made no difference. > > > > then finally found my needle in the haystack with this nugget of > > information.. > > > http://www.nabble.com/Log4J-ActiveMQ-JMS-Appender-td18840199.html#a19970509 > > > > > > Gary Tully wrote: > > > > > > can you run with -Dlog4j.debug (set the system property) to see where > > > the log4j configuration is coming from? > > > > > > It may be that the wireFormatNegotiator is trying to log a message > > > which is trying to start a jms connection which uses > > > wireFormatNegotiator etc. Chicken and egg. > > > logging for activemq needs to be disabled if it is used as a default > > > appender. > > > > > > > > > > Put the following in my log4j config and Hey Presto.... > > > > > > > > > > > > > > > > -- > > View this message in context: > > > http://www.nabble.com/ActiveMQ-5-and-Log4j-JMSAppender-error-tp14622389p24860244.html > > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > > > > > > -- > http://blog.garytully.com > > Open Source Integration > http://fusesource.com > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://fusesource.com/ --0016364c7dd77c1aff04708e2afc--