DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3770>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3770 HttpSessionListener.sessionCreated() called twice for each session ------- Additional Comments From [EMAIL PROTECTED] 2001-09-25 11:48 ------- On further experimentation, I noticed that this error only occurs when I define the tag library that contains the listener in the web.xml file with a taglib element. If I rely on auto-discovery of tag libraries, everything works fine. Most likely, the listener is registered once when the container processes the TLD it finds through auto-discovery, and then again when it finds the TLD through the web.xml definition. Checking whether a TLD has already been processed before registering listeners should fix the problem.