Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes the process for building the isapi_redirect.dll (mod_jk) for Windows. This is the native plug-in for IIS that provides broadly the same functionality as mod_jk does for httpd.
These instructions assume that you have configured the common build environment.   The sources are provided by the Tomcat Connectors project.

Prerequisites

  • Currently supported Windows OS (release builds use a Windows 2022 VM running on VMware)
  • git (if you wish to build from source)
  • Microsoft Visual C compiler (release builds use Visual Studio 2022 17.1.4.1)

Building

The isapi_redirectorredirect.dll requires no other external dependencies (it does depend on PCRE but this an external PCRE, instead it is included in the source).

Obtain the tcnative source from one ofisapi_redirect source by either:

...

Build isapi_redirector.dll 32 Bit:

 "c:\cmsc\setenv.bat x86Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat" 
nmake -f Makefile.vc    c:\cmsc\setenv.bat x64

Build isapi_redirector.dll 64 Bit:

 "c:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
 nmake -f Makefile.vc

Tomcat The resulting isapi_redirect DLLs may then be found in C:\tomcat-jk-1.2.x\native\iis\the sub directories [x86|x64]_RELEASE

Construct the binary distributions    

...