Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Application Server Apache Tomcat Downloading and Deployment Guide.

Similar presentations


Presentation on theme: "Web Application Server Apache Tomcat Downloading and Deployment Guide."— Presentation transcript:

1 Web Application Server Apache Tomcat Downloading and Deployment Guide

2 Apache Tomcat Downloading pre-Installed Package Open the website link When the webpage would be displayed, click on ‘Tomcat 6.x’ link under the Download section

3 Within New page  6.0.xx  Binary Distributions  Core  zip Apache Tomcat Downloading pre-Installed Package

4 Right Click on ‘zip’  Save target as Apache Tomcat Downloading pre-Installed Package

5 Describe the download path where you want to download and define the File name for the download package (leave it as default) Apache Tomcat Downloading pre-Installed Package

6 Now Once You have downloaded Apache Tomcat … Just copy this zip file (if needed) according to your project requirements,, and simply extract it (unzip) …  Apache Tomcat is a Web Application Server, which would contain your web application and you would execute your web application through Apache Tomcat Services … Apache Tomcat Downloading pre-Installed Package

7 Just for a sample demonstration, let’s say, we move the apache- tomcat bundle into E drive of the computer, and extract the zip file Apache Tomcat Deployment Demonstration

8 Right Click on your “My Computer” Click on “Properties” option System Properties Dialog box would be Displayed  click on “Advance” Tab  Click on “Environmental Variable”   Apache Tomcat Setting Tomcat Environmental Variable

9 The Environmental Dialogue box would be displayed Under the “User Variable” Section Click on “New” button __________________________ “New User Variable” dialogue would be displayed … Set the values as name = TOMCAT_HOME value = Please note that name is case-sensitive, and value is the path of your Tomcat Installation Apache Tomcat Setting Tomcat Environmental Variable

10 These are some of the key tomcat directories: /bin - Startup, shutdown, and other scripts. The *.sh files (for Unix systems) are functional duplicates of the *.bat files (for Windows systems). Since the Win32 command-line lacks certain functionality, there are some additional files in here. /conf - Configuration files and related DTDs. The most important file in here is server.xml. It is the main configuration file for the container. /logs - Log files are here by default. /webapps - This is where your webapps go. Apache Tomcat Directory Structure

11 Further exploring the bin subdirectory,, it contains various scripts and files,, but the important files are “startup.bat” and “shutdown.bat” batch files, which starts and stops the Tomcat services … ( for convenience, it is recommended to save the shortcut of these two batch files to Desktop, just to avoid browsing through \bin folder time and again ) Apache Tomcat Directory Structure

12 Further exploring the \webapps sub-folder, following is it’s normal directory structure, this is the place where we normally place ( paste ) our web-application projects …. Apache Tomcat Directory Structure

13 Starting the Tomcat Web Application Service  Click on the shortcut icon of the startup.bat a new console window would appear and would auto-execute some commands and information … If The Tomcat is configured successfully, the messages within the console window would be ending on a statement like INFO: Server startup in XXXX ms Apache Tomcat Deployment Demonstration

14 Now Open any browser (IE, Firefox or any other) And type any of the following address     If you are on the same computer machine, where Apache Tomcat is running, all 4 options would work, but the last two are handy, when you are looking to access your web-application from another computer which is having (somehow) access to the computer where Tomcat service is running.. Apache Tomcat Deployment Demonstration

15 Please note that ROOT folder, under the \webapps folder is the default Tomcat Project, which means that if we do not specify which project ( placed under the \webapps folder ) it would by-default access the contents of ROOT folder … and the page displayed would be like following.. Apache Tomcat Deployment Demonstration

16 Prepared by: Virtual University Open Source Software Community (VOSS Com.) VIRTUAL UNIVERSITY OF PAKISTAN Apache Tomcat Downloading and Deployment Guide


Download ppt "Web Application Server Apache Tomcat Downloading and Deployment Guide."

Similar presentations


Ads by Google