On 27/06/18 15:44, Sandels Mark (RTH) OUH wrote: > Thanks Chris > > Point taken. I have looked at the correct version of the Tomcat documentation > - the text is the same for the relevant section but thanks for pointing out > that I should check this. > > https://tomcat.apache.org/tomcat-9.0-doc/html-manager-howto.html#Deploy_a_Directory_or_WAR_by_URL > > Here is the other information you asked for: > > 1. Provide the name and location of your WAR file on the disk > > C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\OracleStatus.war
Stop Tomcat. If they exist, move C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\ROOT.war and C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\ROOT to a C:\Program Files (x86)\apache-tomcat-9.0.6\webapps-backup (or any suitable back-up location). Rename C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\OracleStatus.war to C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\ROOT##OracleStatus.war <snip/> > server.xml contents <snip/> > <Context path="/" > WAR or Directory URL="file:C:\Program Files > (x86)\apache-tomcat-9.0.6\webapps\OracleStatus.war" /> > </Context> I feared as much. Remove this entire <Context .../> element from you server.xml Start Tomcat. Done (assuming your app works and doesn't require additional resources). To repeat. You are mixing up configuration of a <Context .../> element (which shouldn't be in server.xml) with using the Manager web application to deploy a new webapp. You were reading this: https://tomcat.apache.org/tomcat-9.0-doc/html-manager-howto.html#Deploy_a_Directory_or_WAR_by_URL You should have been reading this: http://tomcat.apache.org/tomcat-9.0-doc/config/host.html#Automatic_Application_Deployment Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org