Question

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?

Was it helpful?

Solution

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:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top