Tomcat5.5.12 Configuration Encyclopedia

Source: Internet
Author: User

Two days ago because of the need to Tomcat5.5.12, before the next I just upgraded the jdk1.4 (with the Java) to the jdk1.5, I do not know why I move Tomcat when he said JDK version is too low, must require jdk1.5 I faint.

There's no way to toss it. I only use a separate jdk1.5 to override the JDK in Java. Reconfigure environment variables, Tomcat finally can use, hehe ~ ~

The following are settings for the environment variables associated with Tomcat (for reference purposes only.) )

Catalina_base d:/java/tomcat/tomcat (d:/java/tomcat installation path D:/JAVA/J2EE for Tomcat)

Catalina_home D:/java/tomcat/tomcat

Classpath.;D:/ java/j2ee/jdk/lib;d:/java/j2ee/jdk/lib/dt.jar;d:/java/j2ee/jdk/lib/tools.jar;d:/java/tomcat/tomcat/common/lib/ Servlet-api.jar (.; To have to, be underestimated them, I started to be less these two small points to toss me for a few hours. )

Java_home D:/JAVA/J2EE/JDK

Path D:/java/j2ee/jdk/bin;%java_home%/bin;

[Br]admin package configuration [BR]

We know that tomcat5.5.12 is not built into the admin package, if we need admin, we have to go down, and then configure ourselves.

My configuration method is published as follows (personal experience, tight for reference)

After the downloaded admin is pressurized (the extracted file name is Admin), license, NOTICE, release-notes three files in the root directory are first copy to

$CATALINA the root directory of the _home$, and then the entire copy of the Admin folder under Admin/server/webapps to

$CATALINA _home$/server/webapps, and then copy the Admin/server/webapps/admin/admin.xml file to

$CATALINA the _home$/conf/catalina/localhost folder, and then restart Tomcat to open http://locahost:8080/admin

Enter your username and password as defined in the $catalina_home$/conf/tomcat-users.xml, and everything will be OK.

Add the following record to the Tomcat-users.xml:

<role rolename= "Manager"/>

<role rolename= "admin"/>

<user username= "your own username" password= "Your password" roles= "Admin,manager"/>

Please leave a message.

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.