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

    Joined:
    May 12, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    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="domain.com" appBase="/home/domain/Java">
    <Alias>www.domain.com</Alias>
    </Host>


    Now it looks as follows:
    <Host name="domain.com" appBase="/home/domain/Java" unpackWARs="true" deployXML="false">
    <Alias>www.domain.com</Alias>
    <Context path="" reloadable="true" docBase="/home/domain/Java" debug="1"/>
    <Context path="/manager" debug="0" privileged="true"
    docBase="/usr/local/easy/share/easy-tomcat7/webapps/manager">
    </Context>
    </Host>


    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.

    Thanks,
    Wilhelm.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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...
Loading...

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