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?
Asked
Active
Viewed 4,441 times
0
-
When do you need to auto deploy the war file? Because once you have deployed a web application in Glassfish, it will automatically be redeployed when the Glassfish starts again if the application was running when the Glasssfish got restarted. – AKS Mar 30 '14 at 12:36
1 Answers
2
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:

Community
- 1
- 1

unwichtich
- 13,712
- 4
- 53
- 66