如何在Tomcat 6中部署战争? [英] How can I deploy war in Tomcat 6

查看:101
本文介绍了如何在Tomcat 6中部署战争?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Jboss,部署是通过将war拖放到deploy文件夹来实现的。但是当我把我的战争项目设置为Tomcat服务器时,eclipse声称它正在部署战争,但是我看不到我在webapps文件夹中的战争。什么url是我的战争?在jboss中,我可以将app url添加到jboss-web.xml中,所以当我将应用程序路径设置为jboss-web.xml时,我可以从 http:// localhost:8080 / my_app_path_in_jboss_web.xml /

解决方案

无时间地将WAR部署到webapps目录中,大概每天大约25次。你不应该有任何问题。如果您想要更多的控制,请自行部署该目录,但这很可能需要重启。


I have used Jboss and deployment happens by dropping war to deploy folder. But when I set my war project to Tomcat server eclipse claims that it is deploying war, but I cannot see my war in webapps folder. And what url is to my war? In jboss I can add app url to jboss-web.xml, so when I set app path to jboss-web.xml I can find my app from http://localhost:8080/my_app_path_in_jboss_web.xml/.

解决方案

I deploy WARs to the webapps dir all the time without issue, probably ~25 times a day. You shouldn't have any problems with that. If you want more control by all means deploy the directory yourself, but this will most likely require a restart.

这篇关于如何在Tomcat 6中部署战争?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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