I have an executable jar which I am running on server (all kinds of OS). While running this jar, it got stuck at a point and not moving further from past 16 hrs. There are no visible exceptions in the log file. Also all the loops are proper. In one server instance, it is generating correct output. But in some server instance it is stuck. All the loops and methods are properly terminated. As it is giving proper output in one instance. My question is:
Is it possible that the jar could be the reason for execution to be stuck?
If yes, what can be the possible reasons for the jar to cause this scenario?
I'm out of reasons here, and trying to figure out what could be wrong. My jar is of version 1.4 and OS can be of any version 1.4 and above.
- Is it possible that the version difference could have caused the execution to be stuck?
PS: My question may not be useful to others but I really need your help. So please give your suggestions.
Edit: I'm using System.out.println
to maintain a log file. Can that cause the jar to be stuck?