在resin.conf中查找<web-app>标签,该标签表示一个web应用标签中,id属性表示该应用的Web路径。如<web-app id='/test'>,表示该应用在Web上访问的时候应该用http://hostname/test/来访问。app-dir属性表示该应用的实际路径。如<app-dir>d: esindoc est</app-dir>表示该应用在d: esindoc est目录下面。默认值为根下面的和id同名的目录。
如果是windows的启动命令是:
dos:> ${resin_home}httpd.exe 参数 -install-as 服务名字
dos:> ${resin_home}httpd.exe 参数 -remove-as 服务名字
C:> resin-3.1.10inhttpd.exe -install-as XXX -conf c:/resin2.16/conf/resin.conf -server a
C:> resin-3.1.10inhttpd.exe -install-as XXX
C:> resin-3.1.10inhttpd.exe -install XXX
移除服务 sc -delete XXX
如果是linux的启动命令是:
停止
Xshell:> ${resin_home}httpd.sh -server 项目服务名 stop
开始
Xshell:> ${resin_home}httpd.sh -server 项目服务名 start
重启
Xshell:> ${resin_home}httpd.sh -server 项目服务名 restart