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=41853>. 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=41853 ------- Additional Comments From [EMAIL PROTECTED] 2007-03-26 14:36 ------- A ServletContextListener is also created and initialized twice. This configuration in web.xml <listener> <listener-class>org.ntropa.adapter.servlet.NtropaBuilder</listener-class> </listener> results in two log entries instead of one. INFO: NtropaBuilder: init: id: 15277917 initCount: 1, static: 1, Runtime id: 17447716 INFO: NtropaBuilder: init: id: 12710158 initCount: 1, static: 1, Runtime id: 17447716 This is the code that outputs the above logs entries, private int initCount; private static int staticInitCount; public void contextInitialized(ServletContextEvent sce) { initCount++; staticInitCount++; context.log("NtropaBuilder: init: id: " + System.identityHashCode(this) + " initCount: " + initCount + ", static: " + staticInitCount + ", Runtime id: " + System.identityHashCode(Runtime.getRuntime())); ...} -- 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]