I am attempting to launch a WAR web application from a tomcat service (tomcat 
9.0.2, windows server 2008 R2), after invoking a URL in a browser (Firefox) 
hosted by an Apache HTTP server (Apache 2.4). The documentation ...

https://www.ibm.com/support/knowledgecenter/SS6RHZ_6.0.6/com.ibm.rational.pe.install.doc/topics/t_rpeng_tomcat.html
https://tomcat.apache.org/tomcat-7.0-doc/html-manager-howto.html#Deploy_a_Directory_or_WAR_by_URL)

states that the tomcat server.xml configuration file should have an entry:

<Context path="/" WAR or Directory URL: file:path to war file (which in this 
case is C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\OracleStatus.war)

The Catalina log file entry gives the following error message ....
25-Jun-2018 14:49:51.158 WARNING [main] 
org.apache.catalina.startup.Catalina.load Catalina.start using conf/server.xml: 
Attribute name "WAR" associated with an element type "Context" must be followed 
by the ' = ' character.

The tomcat service then fails to start.

Please advise as to correct syntax to use in the server.xml configuration file.

Mark Sandels |Senior Systems Analyst/Programmer|IM & T Services - Integration 
Services Team |Manor House Annexe Room G22, Oxford University Hospitals NHS 
Trust , Headley Way, Headington, Oxford OX3 9RR |Phone:  01865 (5) 72103 | 
Email: mark.sand...@ouh.nhs.uk<mailto:mark.sand...@ouh.nhs.uk> NHS colleagues 
can visit the OUH IM&T Services intranet site at 
http://ouhimt.oxnet.nhs.uk<http://ouhimt.oxnet.nhs.uk/>

Reply via email to