Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 791
CodeNinja Avatar asked Oct 10 '13 17:10

CodeNinja


2 Answers

In order to make

     http://localhost:8080

work, tomcat has to be started first. You can check server.xml file in conf folder for the port information. You can search if tomcat is installed on your machine. Just go to start and then type tomcat. If it is installed it will give you the directory where it is installed. Then you can select that path and run it from command prompt. Example if tomcat is installed in C:\Programfile\tomcat. You need to set this path in command prompt,go to bin folder and startup. Example: C:\Programfile\tomcat\bin\startup. Else you can also run it by directly going to the path and run startup batch file.

like image 194
user2821894 Avatar answered Oct 12 '22 23:10

user2821894


For linux ubuntu 18.04:

Go to terminal and command:$ sudo systemctl status tomcat
like image 35
Imranmadbar Avatar answered Oct 13 '22 00:10

Imranmadbar