[Mapguide-trac] [mapguide-trac] #2828: Java configuration not functional after Tomcat 9 upgrade

MapGuide Open Source trac_mapguide at osgeo.org
Tue Oct 6 02:05:03 PDT 2020


#2828: Java configuration not functional after Tomcat 9 upgrade
-------------------------+----------------------
   Reporter:  jng        |      Owner:  jng
       Type:  defect     |     Status:  assigned
   Priority:  high       |  Milestone:  4.0
  Component:  Installer  |    Version:
   Severity:  blocker    |   Keywords:
External ID:             |
-------------------------+----------------------
 Tomcat 9 introduced some configuration changes (to address the Ghostcat
 vulnerability) that makes the Java MapGuide API/viewer not functional.

  * The AJP `<Connector>` node in `server.xml` is commented out. It needs
 to be uncommented
    * The commented node also specifies to listen on `::1`. Change this to
 `127.0.0.1`
    * The AJP connector in Tomcat 9 requires a shared secret between it and
 the mod_jk worker. Set this value through the `secret` attribute of the
 connector node

 {{{
 <Connector ... secret="mapguide4java" />
 }}}

  * Add and change the following lines in `worker.properties` to set the
 shared secret

 {{{
 worker.worker1.host=127.0.0.1
 worker.worker1.secret=mapguide4java
 }}}

 This is the final blocker to be cleared for the preview 2 release.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2828>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list