Can I hot-deploy to a remote install of Tomcat?

主宰稳场 提交于 2019-12-11 01:38:45

问题


Currently, the Tomcat server that I'm using to develop against is localhost - and I'm using Eclipse WTP to hotswap code onto the server.

However, I'm starting to do some mobile development and I'd like to be able to work in the same model - when I change code, it appears on the device.

The snag is, the tomcat instance I have access to via a mobile (i.e. external, 3G access rather than internal connectivity) does not sit on my machine, it sits on another server.

Is there any way I can still do Hotswap (preferably through Eclipse) onto this Tomcat instance that is external to my machine?

Would JRebel do this?

Thanks.


回答1:


You can remotely hot deploy onto Tomcat using Tomcat's manager application. There's a description at the link below. You can then create an Ant script based on this and put it into your build process on Eclipse (I'm reliable informed - I don't actually know how to do this)

Deploying to Tomcat



来源:https://stackoverflow.com/questions/7823432/can-i-hot-deploy-to-a-remote-install-of-tomcat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!