THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Edit the httpd.conf file located in the <httpd_home>\conf directory to load the Jakarta Tomcat Connector mod_jk module. Add the following lines at the end of the httpd.conf file.
No Format | ||||||
---|---|---|---|---|---|---|
| ||||||
LoadModule jk_module modules/mod_jk.so # Loads the Jakarta Tomcat Connector module JkWorkersFile <httpd_home>\conf\workers.properties # Tells the module the location of the workers.properties file JkLogFile <httpd_home>\logs\mod_jk.log # Specifies the location for this module's specific log file JkLogLevel info # Sets the module's log level to info JkMount /console/* ajp13 # Sets a mount point from a context to a Tomcat worker. In this case will allow access (forward the request) to the console. |
...
Edit the workers.properties file located in the <httpd_home>\conf directory to match your environment. The following example is an excerpt from the workers.properties file with just the variables you should focus on.
No Format | ||||||
---|---|---|---|---|---|---|
| ||||||
worker.ajp13.type=ajp13 # Sets the version of AJP used. The AJP listeners defined in Geronimo are AJP v13. worker.ajp13.host=localhost # Specifies the location of the Geronimo server. Use default localhost for single-tier scenarios. Specify the hostname of the Geronimo server for multi-tier environments. worker.ajp13.port=8009 # Both Tomcat and Jetty come with a predefined AJP13 listener on port 8009 |
...