Re: WAR undeploy seems to leave some struts related classes in memory

Lukasz Lenart <[email protected]> Tue, 2 Dec 2025 18:17:57 +0100
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkNYr5s+j=HEkpN7E9Gu_LNst6P6xPh4BBF_LeJaEpJTzQ@mail.gmail.com>
pt., 28 lut 2025 o 14:16 Ing. Andrea Vettori <[email protected]> napisał(a):
>
> I tried to use STRUTS_EXAMPLES_1_1_0 and I get two ApplicationContext in memory on jdk17 and tomcat 9.0.100 when doing a redeploy either using manager reload or simply coping the war file.
>
> Using tomcat manager I get the following message using the ‘Find Leaks’ button:
>
> The following web applications were stopped (reloaded, undeployed), but their
> classes from previous runs are still loaded in memory, thus causing a memory
> leak (use a profiler to confirm):
> /hello-world
>
> Can anyone confirm that he gets the same results when using the same versions ?

Did you find the core issue? Do you use `DispatcherListener` instances?


Cheers
Łukasz