Eclipse No plug-in configuration resin

Source: Internet
Author: User

This configuration applies to resin2.x and resin3.x versions. The runtime needs to place a resin.conf file under each project directory, and because resin2.x and resin3.x versions of the configuration files are different, two files are required, resin.conf files are used to start resin2.x,resin30.conf to start resin3 . x.

The following instructions are for an example of configuring the Resin2.1.16 version as follows:

1, open "Window->preferences->java->build path->classpath Variables", add Classpath Variables, Configure the base to the resin installation directory. For example, on my machine configured as: resin_2.1.16-d:/program/javasoft/resin-2.1.16. It is best to configure a jdk_tools at the same time, assign it to the Lib/tools.jar file under Java_home, otherwise it may appear garbled in Chinese when the console is output.

2, run the menu "Run->run ...", add a Java application run project in the pop-up window.

3, the project name casually add write, as long as the area can be divided into different applications. such as: resin_2.1.16. When project is set to empty, if there is already content, delete it so that you can be sure to run it in every project.

4, set the project start class (Main Class), resin2.x for com.caucho.server.http.httpserver,resin3.x for Com.caucho.server.http.ResinServer.

5, the configuration arguments, in the program arguments fill in-conf "${project_loc}/resin.conf", (If the configuration resin3.x fill in-conf "${project_loc}/ Resin30.conf ").

6, in the VM arguments is empty (if is resin3.x fills in-djava.util.logging.manager=com.caucho.log.logmanagerimpl)

7, designated working directory for resin installation directory.

8, configure JRE, keep the default configuration, if it is resin3.x version may need to jre5.0.

9. Configure Classpath, select Bootstrap Entries, click Advanced, select Add Classpath Variables, select resin_2.1.16, click Extend, and select all jar files in the Lib directory. Add to the Startup project, and then add the Jdk_tools to the startup project.

10, ensure the configuration. Place resin.conf in the root of the project, add resin_2.1.16 to the collection in the Eclipse's Run menu, select a file in the project or project, and then run resin_2.1.16.

The above configuration is tested and passed on eclipse3.1.1/3.1.2 and resin2.1.16/resin3.0.15.

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.