We figured out that it was due to memory leak in Apache commons library (probably 1.6x) and spring 2.4.x was using it because of imports in our code. After we made code changes for spring imports using pool2, it started working.