Recently, I am playing Gradle, which is a similar tool as Maven. What I usual do is to depoly webiste into Tomcat. Refer this Deploy Website into Tomcat 7 with Maven. Here is my note to deploy website with Gradle.
tag : Tomcat 7
I have two servers in DigitalOcean, and both of them are Ubutun with tomcat 7. Recently, I found that if I want to restart tomcat, it will cost me more than 5 minutes(No errors during this). And the worest is(almots half an hour):1INFO: Server startup in 1497026 ms
Sometime, when I failed to restart my tomcat7 server, and in the log, it returns error: **address already in use!**
This article is a brief introduction of how to use maven to deploy your website into tomcat7 [Ubuntu].
I have many servers, which run Java Web applications. For development, I like Jetty, but for production, I prefer Tomcat7 now. In ubuntu, you need root permission to use ports under 1024.