六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 38|回复: 0

resin上部署web工程

[复制链接]

升级  32.67%

25

主题

25

主题

25

主题

秀才

Rank: 2

积分
99
 楼主| 发表于 2013-1-31 02:26:48 | 显示全部楼层 |阅读模式
在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
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表