Issues with java war file deployment in Cpanel server with Tomcat 7

Sandeep Sasikumar

Apr 7, 2015
cPanel Access Level
Root Administrator

I was trying to deploy multiple java war files in a Cpanel server but was stuck with many things. I have searched many articles and tried implementing that but none worked. Please see below.

1) Which is the exact location that you want to deploy the java war file. Is it the '/home/user/public_html' or '/usr/local/easy/share/easy-tomcat7/webapps'?

2) For me i have deployed the war file in '/usr/local/easy/share/easy-tomcat7/webapps' directory. We have placed the war file in this location and restarted tomcat from WHM and the file got deployed automatically. Is this how we should do?

3) I was able to deploy a single war file and i have made the port change from 8080 to 80 in the server.xml file and it was working fine. But when i tried to deploy multiple war files it is causing issues. Please let me know we need to deploy multiple war files in a Cpanel server?

4) Also Once the war file got deployed then we have made few code changes in the files inside the directory to change the path from local path to server path. But the war file gets deployed each time when the tomcat gets restarted.

The war file was earlier deployed in tomcat 5.5 version and now we are trying to deploy this in tomcat 7. We have stopped the httpd service on the server and the port 80 is listened by tomcat. Also in the catalina.out file no particular errors are shown as it is mentioned that every thing loaded. Please help. Thanks in Advance.


Staff member
Apr 11, 2011
I am happy to see the documentation was helpful. Thank you for updating us with the outcome.