resin热部署的问题,困扰我二周了.我只把自带resin.conf修改了一下.
把原有的
<host id= " " root-directory= ". ">
<!--
- configures an explicit root web-app matching the
- webapp 's ROOT
-->
<web-app id= "/ " document-directory= "webapps/ROOT "/>
</host>
该为:
<host id= "football " root-directory= ". ">
<!--
- configures an explicit root web-app matching the
- webapp 's ROOT
-->
<web-app id= "/ " document-directory= "F:/workspace/football/WebRoot "/>
</host>
其中 workspace是工作目录,football是项目名称.
resin启动信息为:
[22:18:27.750] Server[] starting
[22:18:27.750]
[22:18:27.750] Windows 2000 5.0 x86
[22:18:27.750] Java 1.5.0_06-b05, 32, mixed mode, GBK, zh, Sun Microsystems Inc.
[22:18:27.750] resin.home = F:\resin-3.0.18
[22:18:27.750] server.root = null
[22:18:27.750]
[22:18:27.875] http listening to *:8080
[22:18:27.968] hmux listening to 127.0.0.1:6802
[22:18:28.703] Host[footballid] starting
[22:18:33.656] WebApp[http://footballid] starting
[22:18:38.312] WebApp[http://footballid/resin-doc] starting
[22:18:47.937] WebApp[http://footballid/football] starting
[22:19:51.015] WebApp[http://footballid/football] stopping
[22:19:57.875] expanding /F:/resin-3.0.18/deploy/football.war to /F:/resin-3.0.18/deploy/football
[22:20:24.859] WebApp[http://footballid/football] starting
在ie输入3次地址,分别为:http://footballid,http://footballid/football,
http://footballid/football/login.jsp
IE都找不到.
请教!
对了.回复正确了,怎么给对方加分,我新来的.
------解决方案--------------------
一定是ie地址输入错误,ie里应如何输入
------解决方案--------------------
端口是:8080呀.
改成80
------解决方案--------------------
分别改为为:http://footballid:8080,http://footballid:8080/football,
http://footballid:8080/football/login.jsp