`
wj196
  • 浏览: 294622 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

resin上部署web工程

    博客分类:
  • java
阅读更多
在resin的conf文件夹下的resin.conf(4.0版本是resin.xml)中
<web-app id="/" document-directory="webapps/ROOT"/>
下面添加:
<web-app id="/test" document—directory="E:\workplace\myweb\WebContent"/>


id是工程启动时的名称,document-directory 是编译好的web工程。

(linux上)然后查看resin进程
ps -ef |grep resin
id     3283  1653  0 15:17 pts/1    00:00:00 grep resin
kill掉resin进程
kill -9 id
重启resin
sh     /usr/local/service/resin/bin/resin.sh   start

然后访问web工程
http://ip:8080/test/index.jsp


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics