10.9.2 IIS
10.9.2.1 AJP Connector for IIS
First you have to download an AJP connector for windows. This can be found here (Belgian mirror). Get the dll and place this somewhere. In our example we'll be putting it in d:\isapi_redirect\
Configuration is done by three files
10.9.2.1.1 uriworkermap.properties
# uriworkermap.properties - IIS # # This file provides sample mappings for example wlb # worker defined in workermap.properties.minimal # The general syntax for this file is: # [URL]=[Worker name] # if daisy is mounted on / (default) some installations have daisy mounted on /daisy /*=ajp13w # Optionally filter out all .jpeg files inside that context # For no mapping the url has to start with exclamation (!) #!/servlets-examples/*.jpeg=wlb # # Mount jkstatus to /jkmanager # For production servers you will need to # secure the access to the /jkmanager url /jkmanager=jkstatus
10.9.2.1.2 workers.properties
# workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=ajp13w,jkstatus # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 # # Defining a load balancer # #worker.wlb.type=lb #worker.wlb.balance_workers=ajp13w # # Define status worker # worker.jkstatus.type=status
10.9.2.1.3 isapi_redirect.properties
# Configuration file for the Jakarta ISAPI Redirector # The path to the ISAPI Redirector Extension, relative to the website # This must be in a virtual directory with execute privileges extension_uri=/jakarta/isapi_redirect.dll # Full path to the log file for the ISAPI Redirector log_file=D:\isapi_redirect\redirect.log # Log level (debug, info, warn, error or trace) log_level=error # Full path to the workers.properties file worker_file=E:\bat\isapi_redirect\workers.properties # Full path to the uriworkermap.properties file worker_mount_file=D:\isapi_redirect\uriworkermap.properties
10.9.2.2 IIS Configuration
Add a virtual directory to the default website with the alias
'/jakarta/' (fixed name). This should point to
d:\isapi_redirect (must have execute privileges).
In the properties of the default website you must add an ISAPI filter with the
name 'jetty' (free name choice). This should point to
d:\isapi_redirect\isapi_redirect.dll. If all is well a green arrow should show
pointing downwards.
IIS 6 users must remember to configure the Web Service Extension
to use the isapi filters.
Add a new Web Service Extension. Use tomcat as the extension name and add
isapi_redirect.dll to the required files. Set the extension status to Allowed.
Previous