I am looking to create a war file from Yeoman JHipster. I am running Ubuntu 14.04 and installed apache tomcat7 on the machine.
Everything seems to be set up. I created a war file using
./gradlew -Pprod clean bootRepackage
inside of the project.
It created two files in the app/build/libs folder named app_name.war, and app_name.war.original.
I renamed the app_name.war.original to ROOT.war and threw it in my var/lib/tomcat7/webapps/ directory.
I replaced the ROOT directory with the ROOT.war
Restared tomcat
sudo service tomcat7 restart
It generated a ROOT directory and kept the ROOT.war file.
Do I remove that file and keep the directory?
Went to localhost:8080 and I am getting a 404 not found. It's making the connection to the server because otherwise it would show up on some can't connect screen.
Do I need to map anything up to point to this ROOT directory? Why can it not find the index.html inside of the ROOT folder? Am I losing my mind?