用于Web服务的修改后的轴存档的热部署
Apache axis2 (1.6.1) 支持在复制到 axis war 的 web-inf/services 文件夹时热部署 Web 服务存档。但这仅限于新服务。它不会热部署“更改”的服务。有人有处理服务档案中“更改”的解决方案吗?
Apache axis2 (1.6.1) support hot deployment of web service archives when copied to axis war's web-inf/services folder. But this is limited to new services only. It does not hot deploy 'changed' services .. does anyone have a solution for handling 'changes' in the service archives ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
刚刚想出了一种方法来做到这一点。不要“覆盖”服务存档文件,而是删除并复制存档文件。从 web-inf/services 目录中删除存档会强制 axis 自动“取消部署”服务,然后添加更改的存档将被视为“新服务存档”并自动部署。
Just figured out a way to do this. Instead of 'over-writing' the service archive file, do a delete and copy of the archive file. Deleting the archive from the web-inf/services directory forces axis to automatically 'undeploy' the services and then adding the changed archive is treated as a 'new service archive' and is automatically deployed.