I'm running my web application on IBM WebSphere.
There is a warning message in System.out.log :
And my function is hung after I click execute button.
You need to log into WAS administration console, then go to Servers > Application Servers > server_name. Click Administration > Custom Properties Under Server Infrastructure.
And add four arbitrates
- com.ibm.websphere.threadmonitor.interval: 180
- com.ibm.websphere.threadmonitor.threshold: 600
- com.ibm.websphere.threadmonitor.false.alarm.threshold: 100
- com.ibm.websphere.threadmonitor.dump.java: false
Remember to save attributes and restart WAS.
But this is just a workaround solution, it may means your programs may consume lots of memory for some reasons. You still need to figure out its root causes and fix them.