8

Which command is used to find tomcat is running or not in windows?

How do we know if JVM crashes suddenly?

After googling I posted it, I am not able to find expected result.

scravy
  • 11,904
  • 14
  • 72
  • 127
BALASCJP
  • 579
  • 2
  • 10
  • 21

4 Answers4

15

Go to the start menu. Open up cmd (command prompt) and type in the following.

wmic process list brief | find /i "tomcat"

This would tell you if the tomcat is running or not.

  • 1
    It doesn't show any thing after I add **wmic process list brief | find /i "tomcat.exe"** after that command prompt open and close suddenly – BALASCJP Mar 31 '12 at 10:07
  • 1
    That means, your tomcat is not running. And for future references avoid adding the extension while you run the command. It will then give you associated programs as well. –  Mar 31 '12 at 12:33
9

open http://localhost:8080/ in browser, if you get tomcat home page. it means tomcat is running

touti
  • 1,164
  • 6
  • 18
2

open your browser,check whether Tomcat homepage is visible by below command.

http://ipaddress:portnumber

also check this

Community
  • 1
  • 1
Balaswamy Vaddeman
  • 8,360
  • 3
  • 30
  • 40
0

for localhost,the defaut port is 8080,you can test the link http://localhost:8080 in you browser.if you can see tomcat home page,your tomcat is running

Richard Chan
  • 118
  • 2
  • 12