Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm on Windows, went to %CATALINA_HOME%\bin\ and ran startup.

I did see another commandline window popup and tomcat was loading some webapps that were there before (I had run webapp inside my IDE before that, now wanted to try from commandline). Then the window disappeared. I tried the address http://localhost:8080/manager/html, it's not loaded.

So how do I know tomcat is running on Windows. I tried Task Manager didn't see it there.

share|improve this question

4 Answers 4

up vote 0 down vote accepted

It should appear as a javaw.exe process. If you have multiple java apps running, you might have to keep an eye on how many are running to see if you gain 1 more after launching.

share|improve this answer

I recommend using TCPView to determine what processes are listening on what IPs/ports.

share|improve this answer

You can use WMIC.exe to get all the information that task manager would give you, INCLUDING the full command line of each process on the system. Then, you can use "FIND" to grep the output of that command and find a specific instances if you have more than one.

wmic.exe process list brief | find /i "tomcat"

To answer your specific question though, try starting Tomcat and redirecting the output to a log file and then examine it for errors:

   C:\Temp\Tomcat6> startTomcat.bat>console.log&ECHO console.log
share|improve this answer

a variation of @djangofan's answer using wmic exclusively:

wmic process where "commandline like '%tomcat%' and name='java.exe'"

and if you want to kill that process, just add delete

wmic process where "commandline like '%tomcat%' and name='java.exe'" delete

note that the where filter is similar to SQL in concept, and the like clause functions the same as SQLlike so you can go to town with the substring matching as you see fit.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.