We have two application A & B running in two different machine.
A interacts with B using Web Services.
Application B also have a couple of batch processes running in interval of 2 minutes.
We have put extensive debug statements in B application to trace any problems.
Sometimes while processing a request from A, the main
thread in Application B gets lost and after waiting for a interval of 5 minutes Appln A throws "java.io.InterruptedIOException: Read timed out" exception.
I feel this maybe becuase of some some thread leakage in the application server becuase of the number of batch processing taking place in Application B and there is Runtime uncatched exception going unnoticed.
Can anyone pls help me out in this? What could be reason behind this and any remedy.