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 2013/12/08 16:16:20 UTC

[Bug 55859] New: Restore back the method addApplicationListener(String listener) in the class StandardContext

https://issues.apache.org/bugzilla/show_bug.cgi?id=55859

            Bug ID: 55859
           Summary: Restore back the method addApplicationListener(String
                    listener) in the class StandardContext
           Product: Tomcat 8
           Version: 8.0.0-RC5
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: vns.shyshkin@gmail.com

As of Tomcat-8.0.0-RC5 the method addApplicationListener(String listener) from
the class StandardContext is deleted.  This is extremely inconvenient for
embedded Tomcat as it forces to use the 
org.apache.catalina.deploy.ApplicationListener class. The last is not included
into Tomcat Embedded distro.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55859] Restore back the method addApplicationListener(String listener) in the class StandardContext

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55859

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
The class in question is not org.apache.catalina.deploy.ApplicationListener but
org.apache.tomcat.util.descriptor.web.ApplicationListener which is included in
the core embedded package.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55859] Restore back the method addApplicationListener(String listener) in the class StandardContext

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55859

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
           Severity|enhancement                 |normal

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Then that is a bug in the packaging of the embedded distro and needs to be
fixed there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55859] Restore back the method addApplicationListener(String listener) in the class StandardContext

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55859

--- Comment #4 from Valery Shyshkin <vn...@gmail.com> ---
Oh, sorry. I work with Tomcat 7 and try 8.0.0RC5 and did not notice the new
package org.apache.tomcat.util.descriptor. It may partially solve my problem.
At least I can create a stub org.apache.tomcat.util.descriptor package for
Tomcat7.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55859] Restore back the method addApplicationListener(String listener) in the class StandardContext

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55859

--- Comment #2 from Valery Shyshkin <vn...@gmail.com> ---
(In reply to Mark Thomas from comment #1)
> Then that is a bug in the packaging of the embedded distro and needs to be
> fixed there.

You are right. But whether it is necessary to remove the very simple and 
intuitive method?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org