我可以热点部署到远程安装Tomcat吗? [英] Can I hot-deploy to a remote install of Tomcat?

查看:149
本文介绍了我可以热点部署到远程安装Tomcat吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我用来开发的Tomcat服务器是localhost,而且我正在使用Eclipse WTP将代码传输到服务器上。



但是,我开始做一些移动开发,我想要能够在同一个模型中工作 - 当我更改代码时,它出现在设备。



这个错误是,我可以通过移动设备访问的tomcat实例(即外部的3G访问而不是内部连接)不在我的机器上,它坐在另一台服务器上。



有没有办法,我仍然可以做Hotswap(最好是通过Eclipse)到我的机器外部的这个Tomcat实例?



JRebel会这样吗?



谢谢。

解决方案

p>您可以使用Tomcat的经理应用程序远程部署到Tomcat上。以下链接有一个描述。然后,您可以基于此创建一个Ant脚本,并将其放入Eclipse的构建过程中(我可靠的通知 - 我实际上并不知道如何执行此操作)



部署到Tomcat


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.

解决方案

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

这篇关于我可以热点部署到远程安装Tomcat吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆