The Tomcat plugin installation for Eclipse

Source: Internet
Author: User
Tags tomcat server

Eclipse's Tomcat plugin installation here to note: Tomcat plugin is tomcat plugin, Tomcat is Tomcat, the two can not be confused! )

First, the software download

    • Eclipse3.6 IDE for Java EE developers:: http://eclipse.org/downloads/
    • Tomcat Eclipse Plugin,: http://www.eclipsetotale.com/tomcatPlugin.html

Second, software Installation and configuration (graphic)

1. Unzip the eclipse into a directory, such as/usr/local/eclipse.

2. Unzip the Tomcat plugin into the plugins directory in the Eclipse directory.

Then open it again . Eclipse , but could not find Tomcat the display of the plugin. The workaround is to start with the Startup.jar provided by Eclipse for the first time . The file is under the Eclipse directory.

the command is re-read into Eclipse IDE plug-in information, and start Eclipse . Eclipse menu items and toolbars can now be displayed as

This is not yet possible from Eclipse start now Tomcat , you need to specify Tomcat the installation directory. Choose Eclipse 's menu window-preferences ... , open preferrences window

Select Tomcat this item, and then select Tomcat the version number, specifying Tomcat the installation path. the Tomcat configuration file is automatically acquired. Other options are available by default.

Click on the first Hung Cat button on the toolbar to start Tomcat , can be in Eclipse Console to see the startup information.

PS: Under Windows, Tomcat has two versions, zip compression format and EXE installation format. If you use the installation format, there is no Tomat startup script in the%catalina_home%\bin directory.
Unzip the Tomat in the zip format to d:\, setting the environment variables as follows:
Java_home=d:\java\jdk1.5.0_07
Catalina_home=d:\tomcat
To facilitate Tomat startup, add%catalina_home%\bin to the PATH environment variable. The tomcat server can be started by entering Catalina start or Catalina run in the DOS window, where the former outputs Tomcat boot information in the New DOS window, which outputs the information in the original DOS window. To shut down the Tomcat server, enter Catalina stop in the DOS window.

Related Article

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.