From users-return-29190-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Nov 2 10:29:45 2011 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 0CB9B98CC for ; Wed, 2 Nov 2011 10:29:45 +0000 (UTC) Received: (qmail 20931 invoked by uid 500); 2 Nov 2011 10:29:13 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 20909 invoked by uid 500); 2 Nov 2011 10:29:13 -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 20901 invoked by uid 99); 2 Nov 2011 10:29:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 10:29:13 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of torsten@fusesource.com designates 74.125.245.96 as permitted sender) Received: from [74.125.245.96] (HELO na3sys010aog114.obsmtp.com) (74.125.245.96) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 10:29:07 +0000 Received: from mail-qw0-f41.google.com ([209.85.216.41]) (using TLSv1) by na3sys010aob114.postini.com ([74.125.244.12]) with SMTP; Wed, 02 Nov 2011 03:28:47 PDT Received: by mail-qw0-f41.google.com with SMTP id c11so37qad.28 for ; Wed, 02 Nov 2011 03:28:46 -0700 (PDT) Received: by 10.68.209.103 with SMTP id ml7mr4200060pbc.17.1320229725784; Wed, 02 Nov 2011 03:28:45 -0700 (PDT) Received: from [192.168.178.31] (p57BD67BC.dip0.t-ipconnect.de. [87.189.103.188]) by mx.google.com with ESMTPS id 3sm3702140pbx.14.2011.11.02.03.28.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Nov 2011 03:28:45 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Exception in thread "BrokerService[localhost] Task-1" From: Torsten Mielke In-Reply-To: <1320211808279-3971886.post@n4.nabble.com> Date: Wed, 2 Nov 2011 11:28:38 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1320211808279-3971886.post@n4.nabble.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1084) I am a bit surprised to see org.jboss.slf4j showing up in the stack = trace.=20 It should rather the load org.slf4j package instead. It seems the use of JBoss slf4j at runtime is causing problems. Torsten Mielke torsten@fusesource.com tmielke@blogspot.com On Nov 2, 2011, at 6:30 AM, shwetesha wrote: > I am using embedded broker. I get the exceptions when I start JBoss = server. >=20 > 04:36:36,636 INFO [TransportConnector] Connector vm://localhost = Started > 04:36:36,777 ERROR [STDERR] Exception in thread = "BrokerService[localhost] > Task-1"=20 > 04:36:36,824 ERROR [STDERR] java.lang.NullPointerException > 04:36:36,824 ERROR [STDERR] at = java.util.Hashtable.put(Hashtable.java:394) > 04:36:36,824 ERROR [STDERR] at = org.apache.log4j.MDC.put0(MDC.java:117) > 04:36:36,824 ERROR [STDERR] at org.apache.log4j.MDC.put(MDC.java:72) > 04:36:36,824 ERROR [STDERR] at > org.jboss.logging.log4j.Log4jMDCProvider.put(Log4jMDCProvider.java:49) > 04:36:36,824 ERROR [STDERR] at = org.jboss.logging.MDC.put(MDC.java:58) > 04:36:36,824 ERROR [STDERR] at > org.jboss.slf4j.JBossMDCAdapter.put(JBossMDCAdapter.java:53) > 04:36:36,824 ERROR [STDERR] at > org.jboss.slf4j.JBossMDCAdapter.setContextMap(JBossMDCAdapter.java:73) > 04:36:36,824 ERROR [STDERR] at = org.slf4j.MDC.setContextMap(MDC.java:192) > 04:36:36,824 ERROR [STDERR] at > org.apache.activemq.util.MDCHelper.setContextMap(MDCHelper.java:41) > 04:36:36,824 ERROR [STDERR] at > = org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:45= ) > 04:36:36,824 ERROR [STDERR] at > = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.= java:886) > 04:36:36,824 ERROR [STDERR] at > = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :908) > 04:36:36,824 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) >=20 > Can you help me to resolve it ??? >=20 > -- > View this message in context: = http://activemq.2283324.n4.nabble.com/Exception-in-thread-BrokerService-lo= calhost-Task-1-tp3971886p3971886.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.