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.

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:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    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.
     
Loading...

Share This Page