Simple configuration of ApacheTomcat7.0.0

Source: Internet
Author: User
ApacheTomcat7.0.0 simple configuration-Linux Enterprise Application-Linux server application information, the following is a detailed description. [I = s] This post was last edited by wst021

This is the top-level entry point of the documentation bundle for the Apache Tomcat Servlet/JSP container. apache Tomcat version 7.0 implements the Servlet 3.0 and extends erver Pages 2.2 specifications from the Java Community Process, and includes des extends additional features that make it a useful platform for developing and deploying web applications and web services.

Select one of the links from the navigation menu (to the left) to drill down to the more detailed documentation that is available. Each available manual is described in more detail below.

Apache-tomcat-7.0.0 \ bin \ Catalina. bat

Open this file. 87Press Enter next to the line to add the following settings:

Set JAVA_OPTS =-server-Dcom. sun. management. jmxremote-Xms512m-Xmx1024m-XX: PermSize = 400 m-XX: MaxPermSize = 400 m

You don't need to talk about the above settings. Everyone knows.

**************************************** *************************

Apache-tomcat-7.0.0 \ bin \ Tomcat-users.xml

Open this file, uncomment, and modify the following settings:








The username and verification code set for the Tomcat management account.

**************************************** *************************


Apache-tomcat-7.0.0 \ bin \ Server. xml

Open this file and modify the port number occupied by Tomcat running in about 67 rows:


ConnectionTimeout = "20000" redirectPort = "8443" disableUploadTimeout = "true"/>

The port number to be used when Tomcat is running.

**************************************** *************************

In Linux, you only need to modify the file as follows:

Catalina. bat

JAVA_HOME =/usr/java/jdk1.6.0 _ 18/
JAVA_OPTS = "-server-Xms1800m-Xmx1800m-XX: PermSize = 400 m-XX: MaxPermSize = 400 m-Dcom. sun. management. jmxremote"

Make a simple memo and note that it will be convenient to configure Web services in the future.

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.