【发布时间】:2010-12-10 11:25:15
【问题描述】:
我需要一个 Windows shell 脚本来重新部署我的 .ear 文件。我写了一个:
net stop "JBAS50SVC"
copy /y O:\TEMP\app.ear C:\jboss-4.2.3.GA\server\default\deploy\app.ear
net start "JBAS50SVC"
但问题是,当我尝试停止 JBoss 服务时,它并没有完全卸载自己(我的建议),所以当我启动它时,JBoss 中没有部署任何应用程序。
【问题讨论】:
标签: jboss