首先更改ResinHome/conf/resin.conf文件的监听端口修改.以保证多个Resin通过手动启动httpd.exe可以同时运行(具体操作这里不在描述,网上一抓一大把)

其次开始-运行-输入:cmd 进入命令行

进入Resin 主目录,这里以Resin 3.XX为例(Resin 3.xx版本httpd.exe是在Resin 主目录下,而2.xx 是在Resin 主目录\bin下,这点注意一下)

在安装第一个Resin为系统服务时,可以输入.>httpd.exe -install 来进行安装,系统默认以 "Resin Web Server" 的服务名称加载至系统服务启动项.

在安装多个Resin时.可以以>httpd.exe -install-as   ResinServiceName 来安装,

cd d:\ResinBack01
httpd.exe -conf conf/resin.conf -server a -install-as ResinBack01

cd d:\ResinBack02
httpd.exe -conf conf/resin.conf -server b -install-as ResinBack02

cd d:\ResinFront
httpd.exe -conf conf/resin.conf -server web-a -install-as ResinFront

 

具体帮助请输入httpd.exe -h来查看.

D:\\resinHome>httpd.exe -h
usage: Resin [flags]
-h                 : this help
-verbose           : information on launching java
-java_home <dir>   : sets the JAVA_HOME
-java_exe <path>   : path to java executable
-resin_home <dir> : home of Resin
-classpath <dir>   : java classpath
-Jxxx              : JVM arg xxx
-Dfoo=bar          : Set JVM variable
-Xxxx              : JVM -X parameter
-install           : install as NT service
-install-as <name> : install as a named NT service
-remove            : remove as NT service
-remove-as <name> : remove as a named NT service
-conf <resin.conf> : alternate configuration file

在网上搜了一下.好像并没有专门针对此问题的回复.特此记录一下.