Deploying military Grails file on Tomcat

When I deploy my Grails app (war file) to Tomcat 7 I start it with * server_ip: 8080 / war_file_name-0.1 * How can I make this server_ip / war_file /


source to share

1 answer

Just change the name of the war file. You can change the name generated by Grails or by specifying it on the command line:

grails war war_file.war


or by setting it to Config.groovy


grails.war.destFile = "war_file.war"


If you want to get rid of: 8080 after the server IP, change the default port that Tomcat is listening on to 80.



All Articles