activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suchitha Koneru \(sukoneru\)" <sukon...@cisco.com>
Subject RE: active mq and log 4j exceptions
Date Tue, 06 Mar 2007 18:42:39 GMT
I did not configure any log4j.properties file for active MQ . Active MQ
uses log 4j implicitly here , I think. 

-----Original Message-----
From: James Strachan [mailto:james.strachan@gmail.com] 
Sent: Tuesday, March 06, 2007 1:38 AM
To: users@activemq.apache.org
Subject: Re: active mq and log 4j exceptions

What does your log4j.properties file look like?

On 3/6/07, Suchitha Koneru (sukoneru) <sukoneru@cisco.com> wrote:
> Hello active MQ users ,
>                      I  have an embedded broker running as a servlet 
> listener in Tomcat 5.5.20.  I am using active mq 4.0 version .
> The Java version is 1.5
> I get the following exceptions , when I shutdown tomcat exception in 
> thread "ActiveMQ Transport: tcp:///127.0.0.1:4433"
> java.lang.NullPointerException
>        at org.apache.log4j.LogManager.getLogger(LogManager.java:188)
>        at org.apache.log4j.Logger.getLogger(Logger.java:103)
>        at
> org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java
> :2
> 29)
>        at
> org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger
> .j
> ava:239)
>        at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCor
> re
> lator.java:83)
>        at
>
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.
> java:63)
>        at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForma
> tN
> egotiator.java:11
>        at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMo
> ni
> tor.java:122)
>        at
>
org.apache.activemq.transport.TransportLogger.onCommand(TransportLogger.
> java:58)
>        at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupp
> or
> t.java:87)
>        at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:1
> 43
> )
>        at java.lang.Thread.run(Thread.java:595)
>
> Exception in thread "ActiveMQ Transport: tcp:///127.0.0.1:4432"
> java.lang.NullPointerException
>         at org.apache.log4j.LogManager.getLogger(LogManager.java:188)
>         at org.apache.log4j.Logger.getLogger(Logger.java:103)
>         at
> org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java
> :2
> 29)
>         at
> org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger
> .j
> ava:239)
>         at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCor
> re
> lator.java:83)
>         at
>
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.
> java:63)
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForma
> tN
> egotiator.java:114
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMo
> ni
> tor.java:122)
>         at
>
org.apache.activemq.transport.TransportLogger.onCommand(TransportLogger.
> java:58)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupp
> or
> t.java:87)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:1
> 43
> )
>         at java.lang.Thread.run(Thread.java:595)
>
>
> Iam not sure , which version of log 4j , active mq uses.
> Please let me know,  any work around for it.
>
> thanks,
> Suchitha
>
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message