The actual stack trace of the exception would have been useful.


Is the jndi.properties file found?

You might want to try log4j 1.2.8 where you can specify the properties that are in jndi.properties within the log4j config file.

At 09:14 AM 7/23/2003 +0100, [EMAIL PROTECTED] wrote:
Hi,
I'm having problems using the JMSAppender. I'm using JBoss 2.4.4 and Log4J 1.1.2 . What happens is I get a NamaingException when configuring the JMSAppender.


My log4j.properties files looks like this.......

log4j.debug=true
log4j.rootCategory=ALL, jms
#now lets go for the JMS log
log4j.appender.jms=org.apache.log4j.net.JMSAppender
log4j.appender.jms.threshold=ERROR
log4j.appender.jms.layout=org.apache.log4j.SimpleLayout
log4j.appender.jms.TopicBindingName=topic/testTopic
log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory

[snip]



Martin



--
Ceki For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to