Autodesk 15606-011408-9321 Installation Guide - Page 36

Tomcat Configuration, To start Tomcat, execute

Page 36 highlights

# Define 1 real worker using ajp13 worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 worker.worker1.lbfactor=50 worker.worker1.cachesize=10 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 worker.worker1.recycle_timeout=300 Tomcat Configuration In the Tomcat conf\Catalina\localhost directory, add a context file named mapguide.xml with the following content: antiJAR To start Tomcat, execute startup.bat in the Tomcat bin directory. 32 | Chapter 2 Configuring MapGuide Web Server Extensions on Windows

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38

# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.recycle_timeout=300
Tomcat Configuration
In the Tomcat conf\Catalina\localhost directory, add a context file named
mapguide.xml with the following content:
<!--
Context configuration file for the Tomcat Manager Web App
-->
<Context
docBase=
"C:\Program Files\MapGuideOpenSource\WebServerExtensions\www"
privileged="true"
antiResourceLocking="false"
antiJAR
Locking="false">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
</Context>
To start Tomcat, execute
startup.bat
in the Tomcat bin directory.
32
| Chapter 2
Configuring MapGuide Web Server Extensions on Windows