Tomcat under Windows installation

Source: Internet
Author: User

Download the installation package and unzip the CD into the Apache-tomcat-7.0.62\bin directory

To install the Windows service by executing the Service.bat installation command

650) this.width=650; "title=" capture. PNG "alt=" wkiom1vzweghcr-kaaifa4m1lsc119.jpg "src=" http://s3.51cto.com/wyfs02/M00/6D/04/ Wkiom1vzweghcr-kaaifa4m1lsc119.jpg "/>

command line input services.msc to see the installed Tomcat service

650) this.width=650; "title=" capture. PNG "alt=" wkiom1vzxyvqzibkaaio_0rqv-y978.jpg "src=" http://s3.51cto.com/wyfs02/M00/6D/04/wKiom1VZxyvQZibKAAIO_ 0rqv-y978.jpg "/>


Service Remove TOMCAT7 Remove Services, remove and click Tomcat7w.exe Error The specified service is not installed

650) this.width=650; "title=" capture. PNG "alt=" wkiol1vzztqyhty8aab64i9akxy773.jpg "src=" http://s3.51cto.com/wyfs02/M01/6C/FF/ Wkiol1vzztqyhty8aab64i9akxy773.jpg "/>


Startup boot Server

Shutdown shutting down the server

650) this.width=650; "title=" capture. PNG "alt=" wkiol1vzxmntxhbwaakzmsbk-fc882.jpg "src=" http://s3.51cto.com/wyfs02/M00/6C/FF/ Wkiol1vzxmntxhbwaakzmsbk-fc882.jpg "/>


Can also be started with Tomcat7.exe and tomcat7w.exe two EXE programs


650) this.width=650; "title=" capture. PNG "alt=" wkiom1vzxf-zd16maac7dxjvndu393.jpg "src=" http://s3.51cto.com/wyfs02/M02/6D/04/ Wkiom1vzxf-zd16maac7dxjvndu393.jpg "/>


Tomcat7w.exe start and close the program interface

650) this.width=650; "title=" capture. PNG "alt=" wkiom1vzxo7bz47qaagzgeu04cw018.jpg "src=" http://s3.51cto.com/wyfs02/M01/6D/04/ Wkiom1vzxo7bz47qaagzgeu04cw018.jpg "/>


Startup.bat and Tomcat7.exe Start-up differences:

1. Both of these can start Tomcat, but Tomcat7.exe must have a service installed to start, and Startup.bat does not need

2, another difference is that they start using the Java environment configuration is separate

The Java configuration used by the Tomcat7.exe startup is the same as the Java configuration used by the service startup, both through the Java panel configuration of Tomcat7w.exe (which can be modified before the service is created Service.bat The java_home variable of the file to specify the initial JVM, all configuration items of the Java panel are initialized from the Service.bat file.

startup.bat startup can be modified by Catalina.bat is specified with the Java_home and jre_home variables in the Setclasspath.bat file, or it can be added directly to the advanced properties of the computer

the role of the Startup.bat file is to find the Catalina.bat file, and then pass the parameters to it, CAtalina. Bat is the most important script in all of Tomcat's scripts to complete almost all tomcat operations. such as start, close and so on, are all made by Catalina. bat script to complete the



Access Address: http://localhost:8080/Verify the installation is successful, the interface is as follows


650) this.width=650; "title=" capture. PNG "alt=" wkiol1vzxrnbih7kaabpatzt56m860.jpg "src=" http://s3.51cto.com/wyfs02/M02/6C/FF/ Wkiol1vzxrnbih7kaabpatzt56m860.jpg "/>

This article is from the "Nothing-skywalker" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1652490

Tomcat under Windows installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.