DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40630>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40630 Summary: jms appender doesn't work Product: Log4j Version: 1.3alpha Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: Appender AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I tried to log with the jms appender to a joram server, but it does not send anything, writing a debug information that the appender is inactive. So i debugged the log4j 1.3 alpha8 and found the following problems in the JMSAppender.java : -the method : public void activateOptions() does not change the activate attribute to true. And test below inside the method was wrong if (this.topicConnection != null && this.topicSession != null && this.topicPublisher == null) test for topicPublisher must be !=. By consequence the attribute inOrder was in a wrong state when appender try to append an event. after these modifications everything works fine. thanks MP -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
