Win7 64-bit run Tomcat 7 Startup.bat flash past

Source: Internet
Author: User
Tags tomcat tomcat server

Recently learn tomcat, download the latest version of the Tomcat 7.0.23 decompression version, directly decompression use, but after I set the environment variable run Startup.bat found that the running interface flashed, browsing http://localhost:8080 can not get the launch page, Tomcat 7 is not like Tomcat 5 before the version will have a resident window, display startup information, just started with my own environment variables set incorrectly, deliberately under Tomcat 5.5 use, found everything normal, baffled, recently downloaded Zhang Xiaoxiang: Teacher's tomcat video to see, Inside the 3rd talk about how to make the Startup.bat to start the window resident problem, I tried, the result after modifying the configuration to start the window to stop, browser browsing Web site: http://localhost:8080/can also get started normal page. I think the main is that I am using the decompression version, not the EXE version, Tomcat server is not in the computer registration service for a long time to start, but rely on the Startup.bat run window open and close the display of the start and shutdown Tomcat server.

Solution:

Run Startup.bat at the command line

Step-Playing:

1. Start

2. Run "cmd"

3. Go to Tomcat's decompression directory to run startup, as shown below:

4. A startup window pops up and the browser http://localhost:8080 successfully.


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.