4 How to install Tomcat server | configure | Adv Java Servlet programming Tutorial |advance java

Published: 08 October 2017
on channel: tech fort
4,023
131

#Installing #Tomcat 9.X #Server #Software : #Adv #Java #Servlet #programming #Tutorial #advance #java #tutorial
Type : Java based Web Server Software
Vendor : Sun Ms --- Apache Foundation
Creator : Mr. David Dunconson
Default Port Number : 8080
Version : 9.0 (Compatiable with JDK 1.8+ )
8.0 (Compatiable with JDK 1.7+ )
7.0 (Compatiable with JDK 1.6+ )
Servlet Container Name: CATALINA (jar file that represents catalina.jar)
JSP conatainer Name: JASPER (jar file that represents jasper.jar)
To download software: www.apache.org
https://tomcat.apache.org/download-90...
for any queries : www.forum.apache.org
Steps to install to Tomcat:
---------------------------
(First do confirm that JDK is installed or not)
if installed the dont forget to set the path & classpath
1) Download the installer from the above said URL
2) Start the server tomcat
3) Check the server from browser

While installing Tomcat we need to choose the following information:
1) Installation directory
2) Username and password (can be changeable after installation)
3) Port No. 8080 (can be changeable after installation)

Tomcat Installed directory structure:
-----------------------------------
C:\Program Files\Apache Software Foundation=Tomcat_home
Tomcat-home\tomcat 9.0
-----
|------conf
|-----*.xml
|------bin
|-----*.exe
|------lib
|---servlet-api.jar (for Servelt Api)
|---catalina.jar (for servlet container)
|---jsp-api.jar (for JSP api)
|---jasper.jar (JSP Container)
|---*.jar (other jar)
|-------webapp
|---webapp1 (.war) web archieves
|---webapp2 (.war)
|-------logs
|---*.txt
|-------work
|---CATALINA
|-------temp
|---temp files
|-------other misc. files

Step 3) To Start Tomcat Web Server:
Tomcat-home-installed directory\bin\tomcat9.exe

Step 4) To check whether tomcat server is started or not on same machine
Open the browser & hit for
http://localhost:portnumber
to change the username & password
C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf\tomcat-users.xml

Note: When Tomcat server is started then
Deamon process will be launched to listen the client request.

Procedure to change default port number of tomcat after installation :
Go to
Tomcat-home-installed directory\conf\server.xml
Open the server.xml file
search for default port number under connector tag & then change
to see the changed port number of tomcat, dont forget to restart the tomcat server, test in browser as well as we can look in server console.


On this page of the site you can watch the video online 4 How to install Tomcat server | configure | Adv Java Servlet programming Tutorial |advance java with a duration of hours minute second in good quality, which was uploaded by the user tech fort 08 October 2017, share the link with friends and acquaintances, this video has already been watched 4,023 times on youtube and it was liked by 131 viewers. Enjoy your viewing!