Reputation: 3571
I was about to test my grails application using the XAMPP Tomcat server for checking.
I followed the instruction set here regarding how to deploy the .war
file into the web-app folder of the Tomcat.
The project did deploy within the workspace of Tomcat but when I tried to start the project and restarted Tomcat I get this error message:
FAIL - Application at context path /[Project Name] could not be started
I also tried using the command grails> tomcat deploy
, I get this error message on the console:
Error Error executing script Tomcat: : java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/manager/deploy?path=%2F[Project Name] (Use --stacktrace to see the full trace)
My question is what is the proper way of deploying Grails application with the following Tomcat specifications:
Upvotes: 1
Views: 2658
Reputation:
grails prod war
Check the target
folder for a war with your app name and version.
Then move the file to webapps
folder of Tomcat. If Tomcat is configured to auto deploy, you will see the content of your war file extracted inside webapps.
Finally just open localhost:8080/yourapp/
Upvotes: 2