https://issues.apache.org/bugzilla/show_bug.cgi?id=50168
Summary: destory method is called twice while the child is
destoryed directly
Product: Tomcat 7
Version: 7.0.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
While calling the method destory() on the StandardContext directly, it seems
that the method destoryInternal() is called twice in the LifecycleMBeanBase,
the two stacktraces are below :
a. LifecycleMBeanBase.unregister(ObjectName) line: 191
LifecycleMBeanBase.destroyInternal() line: 73
ContainerBase.destroyInternal() line: 1109
StandardContext.destroyInternal() line: 5114
LifecycleBase.destroy() line: 271
ContainerBase.removeChild(Container) line: 963
ContainerBase.destroyInternal() line: 1106
StandardContext.destroyInternal() line: 5114
LifecycleBase.destroy() line: 271
...
b. LifecycleMBeanBase.unregister(ObjectName) line: 191
LifecycleMBeanBase.destroyInternal() line: 73
ContainerBase.destroyInternal() line: 1109
StandardContext.destroyInternal() line: 5114
LifecycleBase.destroy() line: 271
...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]