Forum Discussion
Enforcer
12 years agoNew Contributor
there are also couple of leftovers after application has been undeployed:
They lead to memory leaks on app server and god knows what other problems.
I'm attaching my context listener class that tries to mitigate those issues.
To include it it your war mock just put it in web-inf/classes and add following section to web.xml:
I doubt that I found all leftovers and my class contains proper fix but unfortunately I don't have time to dig more into this issue now.
J2SE Timer thread
Another typed Thread
couple more, refer to attached java file
They lead to memory leaks on app server and god knows what other problems.
I'm attaching my context listener class that tries to mitigate those issues.
To include it it your war mock just put it in web-inf/classes and add following section to web.xml:
<listener>
<listener-class>soapuimockfix.CleanupContextListener</listener-class>
</listener>
I doubt that I found all leftovers and my class contains proper fix but unfortunately I don't have time to dig more into this issue now.