Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to deplot ROOT.war in easy-Tomcat7

Discussion in 'EasyApache' started by wcolln, Nov 12, 2013.

  1. wcolln

    wcolln Registered

    May 12, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello, I just upgraded easyapache and installed Tomcat7.
    Before this i had another tomcat 7 version will all configurations done manually.

    I am trying to deploy a ROOT.war application using the manager (via Web) as I could do before
    but it is not possible.

    This was my server.xml configuration before:
    <Host name="" appBase="/home/domain/Java">

    Now it looks as follows:
    <Host name="" appBase="/home/domain/Java" unpackWARs="true" deployXML="false">
    <Context path="" reloadable="true" docBase="/home/domain/Java" debug="1"/>
    <Context path="/manager" debug="0" privileged="true"

    When trying to deploy the ROOT.war file, after uploading the manager says:
    Error: The file ROOT.war cannot be loaded if context has been defined in server.xml

    I cannot find info regarding this issue in all the referenced Documents.
    Hope any one found some solution to this.

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Feel free to open a support ticket using the link in my signature so we can take a closer look. While we can not troubleshoot custom WAR files, we can upload a test WAR file and ensure it's working as intended. Post the ticket number here so we can update this thread with the outcome.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice