The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'EasyApache' started by Sandeep Sasikumar, Apr 7, 2015.

  1. Sandeep Sasikumar

    Sandeep Sasikumar Registered

    Joined:
    Apr 7, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Trivandrum
    cPanel Access Level:
    Root Administrator
    Hi,

    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.
     
  2. Sandeep Sasikumar

    Sandeep Sasikumar Registered

    Joined:
    Apr 7, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Trivandrum
    cPanel Access Level:
    Root Administrator
    Thanks Michael. Thanks for the support. I was able to successfully deploy tomcat 7 on my Cpanel server.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,765
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page