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
In case of Windows(in my case XP):-
You can check in windows services if tomcat is installed it will be listed in windows services.
To check the windows service list of services installed on windows machine use
There you can find all the services related with Jasperreport server like Tomcat and MySQL with name starting Jasperreport server Tomcat and MySQL only if these services are installed and its need to be started by selecting the option.Then you can access it through browser using this link :-
default port for tomcat is 8080.
In order to make
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.
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)).
For linux ubuntu 18.04:
Open your windows search bar, and search for the keyword
Tomcat
. If a shortcut file is found instead, you can open the source file location of the shortcut by right-clicking the shortcut file and selecting the Properties.