activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Exception in thread "BrokerService[localhost] Task-1"
Date Wed, 02 Nov 2011 11:37:45 GMT
I agree with Torsten. However, it might be worth trying a 5.6-SNAPSHOT as
there were some changes in that area which might affect this.


Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Nov 2, 2011 at 11:28 AM, Torsten Mielke <torsten@fusesource.com>wrote:

> I am a bit surprised to see org.jboss.slf4j showing up in the stack trace.
> 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.
> >
> > 04:36:36,636 INFO  [TransportConnector] Connector vm://localhost Started
> > 04:36:36,777 ERROR [STDERR] Exception in thread "BrokerService[localhost]
> > Task-1"
> > 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)
> >
> > Can you help me to resolve it ???
> >
> > --
> > View this message in context:
> http://activemq.2283324.n4.nabble.com/Exception-in-thread-BrokerService-localhost-Task-1-tp3971886p3971886.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message