The Resin Web Server can be installed as an NT service.
To install the service, use
c:\> resin-2.1.x\bin\httpd -install -conf/myconf.conf
To remove the service, use
c:\> resin-2.1.x\bin\httpd -removefor more detail , please read the doc:http://www.caucho.com/resin/ref/httpd.xtp#Deploying-as-an-NT-Service
To install the service, use
c:\> resin-2.1.x\bin\httpd -install -conf/myconf.conf
To remove the service, use
c:\> resin-2.1.x\bin\httpd -removefor more detail , please read the doc:http://www.caucho.com/resin/ref/httpd.xtp#Deploying-as-an-NT-Service
但问题是:
1、原来我是希望安装Resin Servlet Runner 服务的(也许已经包含在Resin Web Server 服务中了)。
2、在启动 Resin Web Server 服务时,W2KServer拒绝访问(错误5)。
不知何原因?还请各位大虾再帮忙一下!谢谢!!!
Resin Web Server Service run as a standalone web server including Srun.
If you want only run resin as a servlet container, you must set up it with a web server (IIS or Apache)
Please read the doc:
http://www.caucho.com/resin/ref/cse-iis.xtp
http://www.caucho.com/resin/ref/cse-apache-win.xtp2.
maybe there is already a resin server running.
Try the link
http://localhost:8080/
但系统在加载isapi_srun.dll时失败,而且 Resin Web Server 服务虽然已经设置为自动模式,但系统仍然不能自己自动启动;即使‘已经启动’网页浏览调试也不能通过。但奇怪的是只要手工运行/启动 Resin 的 Web Server 服务(直接运行HTTPDV.EXE)将可调试成功。
是否与 Resin 的服务有关呢?书上说是启动的 Resin Servlet Runner 服务,实际则是 Resin Web Server 服务。
“尽信书不如无书”,现在有点迷糊了;
还请各位大虾多帮忙啊!再次感谢各位!他、特别是Quake Wang !!!
先remove掉原来的Resin服务。
在瘟斗子的命令行状态下使用如下命令:
c:\> resin-2.1.x\bin\httpd -install
即可。(可能由于其他设置或版本问题,原来Quake Wang 的方法c:\> resin-2.1.x\bin\httpd -install -conf/myconf.conf作了一定修改,但Quake Wang 的方法可能通用性较强)
原来Resin服务启动失败的原因是在服务的启动路径中多了“-conf/myconf.conf”而使系统启动服务失败,但却没有返回错误值。
——————————————————————————————————
在此特别感谢 Quake Wang 的大力帮忙!:)
我是一位新手,希望能尽快学会JSP,以后还请各位大虾多多指点,谢谢!