users@glassfish.java.net

Log4J JMSAppender

From: <glassfish_at_javadesktop.org>
Date: Sun, 30 Mar 2008 03:33:16 PST

Help !!!

Has anyone managed to get the Log4J JMSAppender working with GF? I can get it going easily with ActiveMQ but run into problems with using Glassfish. I have TopicConnectionFactoriies and Destinations set up and am using many different variations of the settings below without any joy...

log4j.appender.jms=org.apache.log4j.net.JMSAppender
log4j.appender.jms.InitialContextFactoryName=com.sun.jndi.fscontext.RefFSContextFactory
log4j.appender.jms.ProviderURL=file:/C:/Temp/JNDI-Directory
log4j.appender.jms.TopicBindingName=jms/MyTopic
log4j.appender.jms.TopicConnectionFactoryBindingName=jms/MyTopicConnectionFactory

Any help would be greatly appreciated.
[Message sent by forum member 'jpount' (jpount)]

http://forums.java.net/jive/thread.jspa?messageID=266650