1. Install j2sdk and resin. (I installed j2sdk in D: \ j2sdk, and resin in the D: \ resin_3.0.8 folder ).
2. environment variables. Right-click my computer and choose Properties> advanced> environment variable.
1) create two system variables (click New below ):
① Variable name: java_home
Variable value: D: \ j2sdk (j2sdk installation directory)
② Variable name: classpath
Variable value:.; % java_home % \ Lib \ tools. Jar (Note: Add a decimal point
Number, copy it directly)
③ Variable name: resin_home
Variable value: D: \ resin_3.0.8 (resin directory)
2) edit the system variable path
Append the variable value; % java_home % \ bin \
3. copy the file. In Windows2003, rensin_3.0.8 \ bin \ setup.exe cannot be used. Run setup to return an error. We need to copy the file ourselves. Me
IIS is installed in c: \ inetpub.
1) create a folder under c: \ inetpub and rename it to scripts
2) Copy isapi_srun.dll under rensin_3.0.8 \ libexec
C: \ Inetpub \ scripts
3) create a resin. ini file in c: \ Inetpub \ scripts.
The file contains the following two rows of data:
Resinconfigserver localhost 6802.
Iispriority high
(The official document says that it is only necessary to create multiple sites.
Resin. ini. If there is only one site, you do not need to create resin. ini. Recommended)
4. Set IIS.
1) Right-click on the default website → properties → ISAPI filter → add
Filter Name: resin_3.0.8 (optional)
Executable File: C: \ Inetpub \ scripts \ isapi_srun.dll
2) Right-click on the default website → new → virtual directory
Alias: scripts
Local path: C: \ Inetpub \ scripts
3) Click Web Service Extension → Add a new Web Service Extension
Extension: resin (optional)
Required file: C: \ Inetpub \ scripts \ isapi_srun.dll
Select and set the extension status to allow
5. Set resin_3.0.8 \ conf \ resin. conf.
Find in the file (probably at the end)
Doc
Change
C:/inetpub
(C:/inetpub, which is your default website directory)
Okay. Now, we have completely set it up.
Run net stop W3SVC to disable the IIS service.
Run Net start w3svc to restart IIS.
Open resin_3.0.8 \ bin \ httpd.exe.
Now iis6.0 and resin_3.0.8 have been successfully integrated. We can start httpd.exe as a service. Then, httpd.exe will be started when the computer is started.
Install services
D: \ resin_3.0.8 \ bin \ httpd.exe-install
Cancel Service
D: \ resin_3.0.8 \ bin \ httpd.exe-Remove