让你的jboss可以热部署
修改 jboss-4.0.4RC1/server/default/deploy/jbossweb-tomcat55.sar/context.xml
<Context cookies="true" crossContext="true" antiResourceLocking="true" antiJARLocking="true">
<Manager pathname=""/>
<InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
</Context>
加上红色的部分,重启jboss,再用myeclipse Redeploy project的时候就不需要重启,部署完了直接开浏览器预览啦...

通过修改jboss-4.0.4RC1/server/default/deploy/jbossweb-tomcat55.sar/context.xml文件中的Context配置,加入特定参数,实现JBoss服务器上的应用热部署,即在不重启服务器的情况下更新部署的应用。
822

被折叠的 条评论
为什么被折叠?



