1.安装JDK、Apache并设置相应环境变量
2.下载resin-4.0.23.tar.gz,解压到D:\resin-4.0.23并在环境变量中添加RESIN_HOME指向resin的安装目录,运行D:\resin-4.0.23\setup.exe(若不能运行则拷resin-3.1.11.rar版本中的setup.exe过来)弹出:
3.确定Resin Setup后,D:\Apache2.2\conf\httpd.conf文件中会被添加:
LoadModule caucho_module "D:/resin-4.0.23/win32/apache-2.2/mod_caucho.dll"
...
#<IfModule mod_caucho.c>
ResinConfigServer 127.0.0.1 6800
#CauchoStatus yes
<Location /caucho-status>
SetHandler caucho-status
</Location>
#</IfModule>
apache收到jsp请求时,通过插件模块mod_caucho交给Resin处理
若路径为...apache-2.0/mod_caudho.dll请将其改为apache2.2
D:\resin-4.0.23\conf\resin.xml
resin也是同样的指定6800端口
<!-- define the servers in the cluster -->
<server >http://www.caucho.com/resin-4.0/admin/starting-resin-apache.xtp
http://blog.itpub.net/post/38354/474753/