IIS同时集成多个Resin(不同版本)

[ 2008-03-08 21:24:41 | Author: zhenhua ]
Font Size: Large | Medium | Small
IIS上指定网站用不同的Resin版本来解析
例如:example1.com ---->用Resin3.0.x来解析jsp脚本
example2.com ---->用Resin2.1.x来解析jsp脚本

如果配置了resin的环境变量,需要在环境变量中将RESIN_HOME删除,不然无法同时运行多个resin。
首先将各个版本的Resin都加载为系统服务,注意重命名
Resin2.1.x : C:\>httpd -install-as resin2
Resin3.0.x : C:\>httpd -install-as resin3

然后依次启动服务 net start resin2、net start resin3

IIS加载时只要用不同版本的isapi_srun.dll解析jsp后缀就可以了

2.1版本的Resin.ini配置:
CauchoConfigFile D:/resin2.1/conf/resin.conf

3.0版本的Resin.ini配置:
ResinConfigServer localhost 6802
IISPriority high

如配置不成功可以联系我 [cool]
Ychon
Comments Feed Comments Feed: http://www.zhenhua.org/feed.asp?q=comment&id=530
UTF-8 Encoding Trackback URL: http://www.zhenhua.org/trackback.asp?id=530

There is no comment on this article.

If you feel this site you find this information helpful, please click on the donation, which is voluntary,Thank you.
Post Comment
Smilies
[arrow] [biggrin] [confused] [cool]
[cry] [eek] [evil] [exclaim]
[frown] [idea] [lol] [mad]
[mrgreen] [neutral] [question] [razz]
[redface] [rolleyes] [sad] [smile]
[surprised] [twisted] [wink]
Enable UBB Codes
Auto Convert URL
Show Smilies
Hidden Comment
Username:   Password:   Register Now?
Security Code * Please Enter the Security Code