How to deplot ROOT.war in easy-Tomcat7

wcolln

Registered
May 12, 2012
2
0
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
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.