You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/06/27 08:22:45 UTC

[Bug 62494] New: Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

https://bz.apache.org/bugzilla/show_bug.cgi?id=62494

            Bug ID: 62494
           Summary: Apache http via tomcat WAR or Directory URL syntax
                    (tomcat server.xml) for WAR application not working
           Product: Tomcat 9
           Version: 9.0.2
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: mark.sandels@ouh.nhs.uk
  Target Milestone: -----

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.

This is a bug as the documented solution to using WAR applications in Tomcat 9
does not work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 62494] Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62494

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Bugzilla is not a support forum. Please use the Tomcat users mailing list.

As a starting point, ensure the documentation you are using matches the Tomcat
version you are using.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org