I am trying to launch my applications over Tomcat 7 using the Java version 6u45. I was successfully using the browser on my servers till some period. I installed all this setup on a cloud VM.
For some maintenance activity, our cloud administrator had restart the the VM instance on which Tomcat applications and Java are running. But after restarting I found the java commands are hanging instead of showing their output.
I ran the below command as a test but it did not show the output for long time even.
[root@s4web2 ~]# java -version
After a long time, it is showing its version almost around 1 minute which ofcourse is not the expected one. I could not understand why it is taking too much time for running java commands on the linux machine.