16.8.2. Configure Microsoft IIS to Use the ISAPI Redirector
- Make sure you are using a supported operating system and install the IIS server. Refer to https://access.redhat.com/site/articles/111663 for the list of supported configurations.
- Download the JBoss Native Components package for Microsoft Windows, from the Customer Support Portal at https://access.redhat.com. Navigate to Downloads, then JBoss Enterprise Middleware, then Application Platform. Choose either
x86_64. Unzip the file, which includes the ISAPI redirect DLL in the
jboss-eap-6.0/modules/native/sbin/directory.Extract the Native Components zip file and copy the contents of the
sbin\directory to a location on your server. The rest of this task assumes that you used
Procedure 16.10. Configure the IIS Redirector Using the IIS Manager (IIS 7)
- Open the IIS manager by clicking Start → Run , and typing
- In the tree view pane at the left, expand IIS 7.
- Double-click ISAPI and CGI Registrations to open it in a new window.
- In the Actions pane, click Add. The Add ISAPI or CGI Restriction window opens.
- Specify the following values:
- ISAPI or CGI Path:
- Allow extension path to execute: select the check box.
- Click OK to close the Add ISAPI or CGI Restriction window.
Define a JBoss Native virtual directory
- Right-click Default Web Site, and click Add Virtual Directory. The Add Virtual Directory window opens.
- Specify the following values to add a virtual directory:
- Physical Path:
- Click OK to save the values and close the Add Virtual Directory window.
Define a JBoss Native ISAPI Redirect Filter
- In the tree view pane, expand Sites → Default Web Site.
- Double-click ISAPI Filters. The ISAPI Filters Features view appears.
- In the Actions pane, click Add. The Add ISAPI Filter window appears.
- Specify the following values in the Add ISAPI Filter window:
- Filter name:
- Click OK to save the values and close the Add ISAPI Filters window.
Enable the ISAPI-dll handler
- Double-click the IIS 7 item in the tree view pane. The IIS 7 Home Features View opens.
- Double-click Handler Mappings. The Handler Mappings Features View appears.
- In the Group by combo box, select State. The Handler Mappings are displayed in Enabled and Disabled Groups.
- Find ISAPI-dll. If it is in the Disabled group, right-click it and select Edit Feature Permissions.
- Enable the following permissions:
- Click OK to save the values, and close the Edit Feature Permissions window.
Microsoft IIS is now configured to use the ISAPI Redirector. Next, Section 16.3.5, “Configure JBoss EAP 6 to Accept Requests From an External HTTPD”, then Section 16.8.3, “Configure the ISAPI Redirector to Send Client Requests to JBoss EAP 6” or Section 16.8.4, “Configure ISAPI to Balance Client Requests Across Multiple JBoss EAP 6 Servers”.