How to make a war file auto deploy?

狂风中的少年 提交于 2019-12-25 04:24:32

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/22712508/how-to-make-a-war-file-auto-deploy

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