How do you know if Tomcat Server is installed on your PC

CodeNinja picture CodeNinja · Oct 10, 2013 · Viewed 114.8k times · Source

I am using Windows 7 OS. I just installed jaspersoft server which installed Apache Tomcat and mysql as a bundle along with it.

I go to http://localhost:8080 and theres a message that says webpage is not available.

I am a beginner, and I would like to know if Tomcat is first installed on my computer. Can you tell me how I can do that ? ( I would also like to know if it has to be started and on what port it was installed.)

UPDATE

Heres something I did . i am really confused now . I found the location of the tomcat server. I found the server.xml file. The port in the server.xml file was listed as 8005. I also found start.bat which I ran. I now see that http://localhost:8080 works but http://localhost:8005 doesnt . Would you know why ?? The port 8005 should work because thats what was listed in the server.xml

Answer

Christian Kuetbach picture Christian Kuetbach · Oct 10, 2013

The port 8005 is used as service port. You can send a shutdown command (a configurable password) to that port. It will not "speak" HTTP, so you cannot use your browser to connect.

The default port for delivering web-content is 8080.

But there may be other applications listen to that port. So your tomcat may not start, if the port is not available.

You asked "How do you know, if tomcat server is installed on your PC?". The answer to that question is: You can't

You can't determine, if it is installed, because it may be only extracted from a ZIP archive or packaged within another application (Like JBoss AS (I think)).