You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/06 18:07:56 UTC

DO NOT REPLY [Bug 15819] New: - Duplicate context listener entries in server.xml when saving

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=15819>.
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=15819

Duplicate context listener entries in server.xml when saving

           Summary: Duplicate context listener entries in server.xml when
                    saving
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: chris@prepaytec.com


When commiting changes with the admin tool, or deploying webapps with manager, 
an extra <Listener ...> tag is added to every context in server.xml.

So over time, server.xml grows and grows!

The Listener entries are all exactly the same.

An example of how this looks in server.xml:

<Context ... >
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Other tags...>
</Context>
<Context ... >
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Listener .../>
  <Other tags...>
</Context>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>