1. Download the resin installation package
The former official online has not provided 3. X and previous versions, which can be downloaded from other channels, and then extracted to the C:\resin-pro-3.1.9 directory after downloading.
2. Create a new resin configuration file
Copy the minimal.conf from the Conf directory to the application engineering root directory and rename it to resin.conf, and modify the following configuration:
<web-app id="/test" root-directory="D:\workspace\test\WebContent"/>
Where the ID is the context root of the app access, and Root-directory publishes the directory for the app
3. Configure Eclipse Startup Items
Debug configurations New Java application:
Main configuration:
Project: Item Name
MainClass:com.caucho.server.resin.Resin
Arguments configuration:
Programme Arguments:-conf resin.conf
VM Arguments:
-dresin.home= "D:\workspace\resin-pro-3.1.9"
-djava.util.logging.manager=com.caucho.log.logmanagerimpl
-xms256m-xmx768m
JRE configuration:
JRE selects the complete jdk6+
Classpath configuration:
Bootstrape entities, add resin install directory under all Jar packages under the Lib directory and under JDK Tools.jar
Eclipse Launch Resin3 Configuration