1 / 16

Web Application Server Apache Tomcat

Web Application Server Apache Tomcat. Downloading and Deployment Guide. Apache Tomcat Downloading pre-Installed Package. Open the website link http://tomcat.apache.org When the webpage would be displayed, click on ‘Tomcat 6.x’ link under the Download section.

brody
Download Presentation

Web Application Server Apache Tomcat

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Application Server Apache Tomcat Downloading and Deployment Guide

  2. Apache TomcatDownloading pre-Installed Package Open the website link http://tomcat.apache.org When the webpage would be displayed, click on ‘Tomcat 6.x’ link under the Download section

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

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

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

  6. Apache TomcatDownloading pre-Installed Package 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 …

  7. Apache TomcatDeployment Demonstration 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

  8. Apache TomcatSetting Tomcat Environmental Variable  • 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” 

  9. Apache TomcatSetting Tomcat Environmental Variable 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 = <Tomcat_Path> Please note that name is case-sensitive, and value is the path of your Tomcat Installation

  10. Apache TomcatDirectory Structure 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.

  11. Apache TomcatDirectory Structure 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)

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

  13. Apache TomcatDeployment Demonstration 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

  14. Apache TomcatDeployment Demonstration Now Open any browser (IE, Firefox or any other) And type any of the following address • http://localhost:8080 • http://127.0.0.1:8080 • http://your_computer_name:8080 • http://your_computer_ip:8080 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 ..

  15. Apache TomcatDeployment Demonstration 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 ..

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

More Related