IIS Web is very popular with its management operations and the support of ASP. Here you introduce how to use RESIN to make IIS support JSP and servlet. 1. Install the configuration IIS and RESIN2.0.5 separately, respectively, can operate properly. The path of IIS and RESIN2.0.5 are installed as follows: C: / Apache and C: /RESIN2.0.5. Second, configure IIS 1. Copy IIS_SRun.dll to IIS Scripts Directory "C: / INETPUB / SCRIPTS"; 2. Create a configuration file in the C: / INETPUB / SCRIPTS directory (resini) to specify the configuration file of Resin. position. Resin.ini content is as follows: cauchoconfigfile c: /resin2.0.5/conf/RESIN.CONF three, configure resin?
*********************************************************** **********
RESIN installation
JSP is a new web development tool that Sun develops on SERVLET, and has become an popular architecture for e-commerce sites in foreign EJB JSP / Servlet Application Server Database. If you choose a JSP platform as an Internet business site support, so speed, price, and stability are to be considered, as these RESINs are very excellent. There is already a lot of articles in Linux installation. This article introduces it under the installation under the Windows operating system. I believe this article, you will be easy to architecture a Web site with powerful features.
The first request is that JDK has been installed normally. Here I will not be reduced by JDK installation, which is more in this regard.
Resin reached the purpose of the JSP interpreter, there are two ways, one is integrated with IIS, one is an HTTPD as Standalone. That ways to use it, you must see personal preferences and actual conditions. I use the first one. First explain the simplest STANDALONE method.
This method is hardly configured, and after extracting RESIN, it can run bin / httpd.exe directly. It should be noted that two windows are generated after running httpd.exe, one is similar to the command line window (but only output, cannot be entered), and the other is the GUI control window, these two windows are absolutely not to use direct X The method is closed, which can cause RESIN's system errors, the correct way is to use the Quit button above the GUI.
Wait until the command line window appears:
Resin 2.1.6 - Mon Oct 2 17:34:31 PDT 2000 Listening to *: 8080
This is the successful startup, the back 8080 is the port listening now. This port can be modified. When modified, you need to change the conf / resin.conf file, modify the following
Section: XML:
Modify the 8080 here to you want Port. But please pay attention to not repeating with the port already occupied, otherwise you cannot start. At this time, RESIN HTTPD is already accepted, with IIS's basic functions, the HTTP root directory is the resin installation directory's doc directory but can be modified, can be modified
Conf / resin.conf: XML:
Please think twice.
Below I want to talk about manual installation, personal feeling that the setup.exe it provides is often problematic, and it is unreliable.
1. After installing JDK, RESIN (these are nonsense)
2. Execute bin / setup.exe file
Fill in the RESIN HOME and IIS / PWS directory, click OK, he will stop IIS / Copy IIS_Run.dll / Start IIS, there will be an IIS_Run.dll file below your IIS. At the same time, there will be a Srun in the filter in the FILTER configuration.
3. This time RESIN is not used, you also need to install a service to execute the SRun.exe -Install command below the bin / directory. This will install a RESIN service to the system.
4. Configure the RESIN.CONF file
Edit the following section:
Modify DOC to your wwwroot, this time is fine!
5. Restart the system
This step is required. If you don't restart, the RESIN service will not run correctly.
6. Browse http: // localhost / caucho-status! In this case, I will come roughly a paragraph. In the future, IIS and RESIN will have their respective division, IIS is responsible for the resolution of HTML and ASP files, Resin is responsible for the analysis of JSP files. The last thing to say is that RESIN is very powerful, virtual catalog, virtual host, load balancing can be implemented.