Start Tomcat flash through-analysis and resolution process

Source: Internet
Author: User

Well, yesterday I had a little bit of knowledge about the JDK and now a little bit about tomcat!

What is 1:tomcat?

Tomcat is the most widely used and open source free servlet/jsp container in the world today, and its main function is to publish javaweb applications.

For more information, see:

http://tomcat.apache.org/

2: How to choose the version of Tomcat

The rule is to see what version of the technology we choose to use, the current specific version matching situation as shown in:

For more information, see:

Http://tomcat.apache.org/whichversion.html

According to my own computer information, choose to download the following version of this (information about my computer and the JDK information, see: http://www.cnblogs.com/godtrue/p/4338323.html):

Directory Structure of the 3:tomcat

This software does not need to install, only need to decompress, I will extract this version of Tomcat into my C packing directory, the extracted file directory structure is as follows:

Common command files for 4:tomcat

5: Start tomcat a flashing analysis and resolution process ( download and unzip the folder for Tomcat is fairly straightforward, but when I use the corresponding launcher- Startup.bat there was a flashing problem starting Tomcat, what's going on? This is because Tomcat run, need to configure the corresponding operating environment, we have not configured, need to configure, I saw a lot of articles on the network configuration JDK and Tomcat, experiment to find some not bright and version style more, uneven, I think it's my own experiment! "A flash over", but not good, can give a point corresponding to the operation of the message is good, so I choose to test in Windows command window, see if I can get some useful information, the following is my experimental process! )

5-1: First run of Startup.bat

5-2: Based on the first run of Startup.bat and the experience of configuring the JDK (for details, see: http://www.cnblogs.com/godtrue/p/4338323.html), we need to configure the corresponding system environment variables first --path, as shown in:

5-3: Configure the corresponding system environment variable--path, once again run Startup.bat when the Windows system gives the following information, so we continue to go down to see what will happen!

5-4: Configure the system environment variable--catalina_home

5-5: The following is the configuration of the system environment variable--catalina_home, we run the Startup.bat command again to get the system prompt information, OK! We continue to configure and then run Startup.bat again to see what else needs to be configured!

5-6: Configure the system environment variable--java_home

5-7: After configuring the system environment variable--java_home, we found that the Windows system ran startup.bat batch file successfully! Hey, finally done!

5-8: While we are glad to use the browser access to see the effect, I access the effect as follows:

Attention:

1) After each configuration of the corresponding system environment variables, you need to close and start the Windows Command window again, and then execute the startup.bat command

2) You may also notice that the system environment variables and Windows command windows are case-insensitive, and of course, I recommend using a uniform style (such as: Java_home), what to do with your own!

3) The official website is a good place to learn, often browsing is bound to benefit, if the English difference can also be complementary to English, if English is good both to strengthen English skills and improve technical strength why not?

4) The problem-solving step of the experiment is actually more time and energy, but this can also be more clear understanding of the problem, if the next time you encounter a similar problem speed must be fast, but also developed a problem-solving way of thinking

5) Good head than rotten pen, really so, before the study of things also a lot, but for a long time not to blur, for programming is more so, experiment, summary, write blog is very good to deepen the impression, clear ideas, find and solve the problem way!

Thanks to the blog Park, provides such a good place! Thank you!

Start Tomcat flash through-analysis and resolution process

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.