Resin在Windows系统下的安装_MySQL
jsp是sun在servlet基础上发展而来的一种新的web开发工具,在国外ejb+jsp/servlet+应用服务器+数据库已经已经成为电子商务站点的流行架构。如果您选用jsp平台作为internet商业站点的支持, 那么速度、价格和稳定性都是要考虑到的,作为这些resin是十分出色的。resin在linux下的安装已经有不少文章介绍过,本文介绍它在windows操作系统下的安装,相信看过本文,您将会很轻松架构起一个拥有强大功能的web站点。
首先的要求,是jdk已经正常安装。在这里我就不冗述jdk的安装了,这方面的文章比较多。
resin达到jsp解释器的目的,有两种方法, 一种是和iis集成,一种是作为standalone的httpd。具体使用那种方法,要看个人喜好和实际情况。我用的是第一种。
首先先讲解最简单得standalone法。
这种方法几乎不需要配置,将resin解压缩之后,直接运行bin\httpd.exe即可。 需要注意的是,运行httpd.exe之后会产生两个窗口, 一个是类似命令行窗口(但是只能输出,不能输入),另外一个是gui的控制窗口,这两个窗口绝对不可以用直接x的方法关闭,这样会导致resin的系统错误,正确的方法是用gui上面的quit按钮。
等到命令行窗口里面出现:
resin 2.1.6 -- mon oct 2 17:34:31 pdt 2000
listening to *:8080
这样就是启动成功了,后面的8080就是resin httpd现在所监听的端口了。这个端口是可以修改的。 修改的时候,需要改动conf\resin.conf文件,修改如下
section:xml:
把这里的8080修改成你想要得port即可。但是请注意不要和已经占用的端口重复,否则无法启动。这个时候,resin httpd已经在接受访问了,具有iis的基本功能,http root目录默认是resin安装目录的doc目录但是也是可以修改的,可以修改
conf\resin.conf:xml:
这里是默认的情形,你也可以写上绝对路径来定义其他的目录。输入http://localhost:8080/ 看看!
再说一下如何同iis集成。在这种模式下,resin作为iis的插件运行,只有碰到.jsp,.xtp等等文件的时候才进行解析,就好像asp.dll负责解析.asp文件,perl.dll负责解析.pl文件一样。这个配置比较复杂,而且可能会导致问题,但带来非常大的方便。
请三思而后行。
下面我要说的是手工安装的办法,个人感觉它提供的setup.exe 安装起来常常有问题,而且不可靠。
1. 安装好jdk,resin之后(这些都是废话)
2. 执行bin\setup.exe文件
填好关于resin home以及iis/pws目录之后,点击ok,他会停止iis/复制iis_run.dll/启动iis这个时候,在你的iis的inetpub\s cripts目录下面会有一个iis_run.dll文件。同时在iis配置的filter里面会多出来一个srun。
3. 这个时候resin还不能使用,还需要安装一个服务执行bin\目录下面的srun.exe -install命令。这个会给系统安装一个resin服务。
4. 配置resin.conf文件
编辑如下section:
将doc修改为你的wwwroot所在的目录,这个时候就好了!
5. 重新启动系统
这一步是必需的,若不重新启动,resin服务会无法正确运行。
6. 浏览http://localhost/caucho-status看看!
这样的话,大致就告一段落了。以后,iis和resin会各司其职,iis负责html和asp文件的解析,resin负责jsp文件的解析。最后要说的是,resin的功能非常强大,虚拟目录、虚拟主机、负载均衡都是可以实现的。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

1. First open DingTalk. 2. Open the group chat and click the three dots in the upper right corner. 3. Find my nickname in this group. 4. Click to enter to modify and save.

General Matrix Multiplication (GEMM) is a vital part of many applications and algorithms, and is also one of the important indicators for evaluating computer hardware performance. In-depth research and optimization of the implementation of GEMM can help us better understand high-performance computing and the relationship between software and hardware systems. In computer science, effective optimization of GEMM can increase computing speed and save resources, which is crucial to improving the overall performance of a computer system. An in-depth understanding of the working principle and optimization method of GEMM will help us better utilize the potential of modern computing hardware and provide more efficient solutions for various complex computing tasks. By optimizing the performance of GEMM

On July 29, at the roll-off ceremony of AITO Wenjie's 400,000th new car, Yu Chengdong, Huawei's Managing Director, Chairman of Terminal BG, and Chairman of Smart Car Solutions BU, attended and delivered a speech and announced that Wenjie series models will be launched this year In August, Huawei Qiankun ADS 3.0 version was launched, and it is planned to successively push upgrades from August to September. The Xiangjie S9, which will be released on August 6, will debut Huawei’s ADS3.0 intelligent driving system. With the assistance of lidar, Huawei Qiankun ADS3.0 version will greatly improve its intelligent driving capabilities, have end-to-end integrated capabilities, and adopt a new end-to-end architecture of GOD (general obstacle identification)/PDP (predictive decision-making and control) , providing the NCA function of smart driving from parking space to parking space, and upgrading CAS3.0

On April 11, Huawei officially announced the HarmonyOS 4.2 100-machine upgrade plan for the first time. This time, more than 180 devices will participate in the upgrade, covering mobile phones, tablets, watches, headphones, smart screens and other devices. In the past month, with the steady progress of the HarmonyOS4.2 100-machine upgrade plan, many popular models including Huawei Pocket2, Huawei MateX5 series, nova12 series, Huawei Pura series, etc. have also started to upgrade and adapt, which means that there will be More Huawei model users can enjoy the common and often new experience brought by HarmonyOS. Judging from user feedback, the experience of Huawei Mate60 series models has improved in all aspects after upgrading HarmonyOS4.2. Especially Huawei M

To open an application pool in IIS: 1. Open IIS Manager; 2. Navigate to the "Application Pools" node; 3. Right-click the target application pool and select "Manage"; 4. Click "Advanced Settings" Tab; 5. Application pool configuration can be viewed and modified here.

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website

When publishing products on the Xianyu platform, users can customize the geographical location information of the product according to the actual situation, so that potential buyers can more accurately grasp the specific location of the product. Once the product is successfully put on the shelves, there is no need to worry if the seller's location changes. The Xianyu platform provides a flexible and convenient modification function. So when we want to modify the address of a published product, how do we modify it? This tutorial guide will provide you with a detailed step-by-step guide. I hope it can help. Everyone! How to modify the release product address in Xianyu? 1. Open Xianyu, click on what I published, select the product, and click Edit. 2. Click the positioning icon and select the address you want to set.

Installing Go language under Win7 system is a relatively simple operation. Just follow the following steps to successfully install it. The following will introduce in detail how to install Go language under Win7 system. Step 1: Download the Go language installation package. First, open the Go language official website (https://golang.org/) and enter the download page. On the download page, select the installation package version compatible with Win7 system to download. Click the Download button and wait for the installation package to download. Step 2: Install Go language
