1 Reply Latest reply on Jul 21, 2008 5:57 PM by Peter Johnson

    JMSAppender ConnectionFactory Problem

    Jeff Tremblay Newbie

      I'm trying to configure the JMSAppender in the jboss-log4j.xml file. But when I do I get a message saying that the ConnectionFactory is not bound.

      Any help is very much appreciated.

      <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" />
       <param name="Threshold" value="ERROR" />
       <param name="TopicConnectionFactoryBindingName"
       value="java:/ConnectionFactory" />
       <param name="TopicBindingName" value="topic/CLEventsTopic" />
      </appender>
      
      <root>
       <appender-ref ref="CONSOLE"/>
       <appender-ref ref="JMS" />
       <!-- appender-ref ref="FILE"/ -->
      </root>