Re: Log4j with JMS/ActiveMQ

2009-02-16 Thread Paul Smith
[resending this because it appears to have been lost in the ether somehow] I wrote a test case for JMSAppender that used ActiveMQ so I can show you how to get it to work: See: https://issues.apache.org/bugzilla/show_bug.cgi?id=38513 specifically, putting the jndi.properties that is attac

Re: Log4j with JMS/ActiveMQ

2009-02-12 Thread Paul Smith
I wrote a test case for JMSAppender that used ActiveMQ so I can show you how to get it to work: See: https://issues.apache.org/bugzilla/show_bug.cgi?id=38513 specifically, putting the jndi.properties that is attached here: https://issues.apache.org/bugzilla/attachment.cgi?id=17590 as an exa

Re: Log4j with JMS/ActiveMQ

2009-02-12 Thread Curt Arnold
A NullPointerException coming from deep in JMS would only be appropriate if the one of the parameters to the Context.lookup was null when it was documented that it should not be null. I'd use a different value for the TopicConnectionFactoryBindingName.it looks like your JMS impl may have pr

Log4j with JMS/ActiveMQ

2009-02-12 Thread Sylvester
Hi, I've been trying to use Log4j with ActiveMQ. I have ActiveMQ running on my system. To setup log4j I use: JMSAppender appender= new JMSAppender(); appender.setName("JMSAppender"); appender.setTopicBindingName("topic"); appender.setTopicConnectionFactoryBindingName("");