如何使战争文件自动部署? [英] How to make a war file auto deploy?
本文介绍了如何使战争文件自动部署?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你如何制作战争档案自动部署?
服务器组件是glassfish,数据库是在MySQL中创建的。我是否需要创建一个可执行文件来提取战争文件?以及如何做到这一点?
解决方案
$ b将WAR文件复制/移动到以下文件夹应该足够:
$ b
$ GLASSFISH_HOME / glassfish / domains / domain1 / autodeploy
如果您使用的是其他域名,请更改域名。)
另请参阅:
How do you make a war file auto deploy? The server component is glassfish and the database is created in MySQL. Do I need to create an executable file that will extract the war file? and how to do it so?
解决方案
It should be sufficient to copy/move your WAR file to the following folder:
$GLASSFISH_HOME/glassfish/domains/domain1/autodeploy
(You may change the domain name if you are using a different one.)
See also:
- How to to autodeploy war file with GlassFish
- WAR doesn't get redeployed in Glassfish from autodeploy
- Oracle GlassFish Server 3.0.1 Quick Start Guide - Deploying and Undeploying Applications
这篇关于如何使战争文件自动部署?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文