0

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?

user3230425
  • 695
  • 2
  • 7
  • 12
  • 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 Answers1

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