Common Tomcat problems and Common commands

Source: Internet
Author: User

Common Tomcat problems and Common commands

For a long time, you don't need to forget many tomcat commands, so you have to record them for reference. I also hope that I can start to develop a good habit of logging on to my blog.

1. view the java version number.

Go to the java installation directory and run the following command: java-version

If yes, It is 32 bits.

If yes, It is 64-bit.

2. Basic Tomcat commands:

Go to the Tomcat installation directory and run the command: startup. bat.

Go to the Tomcat installation directory and run the command shutdown. bat.

Go to the Tomcat installation directory and run the command: version

3. Deploy the Tomcat Project

After configuring Tomcat in eclipse, add the project to Tomcat and start Tomcat. Then open the browser and enter http: // localhost: 8080/project name/xxx in the address bar. jsp Press enter. If you see the JSP page in the project, your JDK and Tomcat have been set up successfully.

4. the following error occurs during Tomcat startup.

Cause: the java and Tomcat used are both 32-bit, while the laptop system is 64-bit.

 

 

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.