CONTENTS   NextPrevious  



Connecting Internet Information Server with SAP J2EE Engine 6.20

Connecting Microsoft Internet Information Server (IIS) to SAP J2EE Engine 6.20 extends the functions provided by IIS. From a client viewpoint, the connection with the application server remains invisible, because each request goes to the Web server (IIS) and each response comes from it. The client-server protocol along with the HTTP tunneling mechanism provides access to all resources of the application server, without having direct access to it. This feature provides several benefits:

Redirecting Requests by Filename Extension

IIS enables you to add external modules using either Internet Server Application Procedural Interface (ISAPI) Extensions or Filters. One of the ISAPI Extensions is InQMyForwardByFileTypeExt module – a lightweight version of connector between IIS and SAP J2EE Engine 6.20. ISAPI extensions are built as DLLs (Dynamic Link Libraries) and by default they are located in the <IIS_install_drive>/Inetpub/Scripts directory.

Installing the InQMyForwardByFileTypeExt Module

DLL files needed to perform the following installation process are located in <SAPj2eeEngine_install_dir>/tools/lib/IIS _ext and <SAPj2eeEngine _install_dir> /tools/lib/IIS_pref directories.

Install InQMyForwardByFileTypeExt module by completing the following steps:

Microsoft Management Console

Home Directory

Application Configuration

Mapping to Files

You must restart IIS for the modifications to take effect; for version 6.20, the START and STOP commands are enough.

InQMyForwardByFileTypeExt.dll acts as a proxy and redirects all requests with jsp extension to SAP J2EE Engine 6.20. It supports “GET” and “POST” HTTP methods.

Redirecting Requests by Prefix

By using InQMyProxyFlt.dll and InQMyProxyExt.dll , the administrator can specify the requests to be forwarded to SAP J2EE Engine 6.20 in a separate configuration file ( InQMyProxyFlt.ini ), which contains the custom request forwarding rules.

For reliability, install ISAPI filter ( InQMyProxyFlt.dll ), ISAPI extension ( InQMyProxyExt.dll ) and a configuration file ( InQMyProxyFlt.ini ).

Note : The ISAPI filter ( InQMyProxyFlt.dll ) must be installed as a GLOBAL Filter, which accepts all requests on the server.

Installation Process

The dll files needed to perform the following installation process are located in <SAPj2eeEngine_install_dir>/tools/lib/IIS _ext and <SAPj2eeEngine
_install_dir>/tools/lib/IIS_pref
directories.

To perform the installation process, complete the following steps:

Note: InQMyProxyFlt.ini must be located in the same directory as InQMyProxyFlt.dll , or the dll cannot run.

If any additional changes to this file are made after the ISAPI filter has been installed and loaded by MS IIS, you must restart MS IIS for the changes in InQMyProxyFlt.ini to take effect.

Configuring MS Internet Information Server

To configure MS IIS to load the ISAPI filter ( InQMyProxyFlt.dll ), perform the following steps:

Internet Information Services

From the Properties option, the following dialog box appears for the server selected previously:

Properties Window

Choose “Edit” for the WWW Service. A second dialog box appears, with global settings for the WWW service (concerning the whole server):

WWW Services Master Properties

Select the “ISAPI Filters” tab. Choose “Add” to select the ISAPI filter to be added.

Filter Properties

In the dialog box that appears, type InQMyProxyFlt.dll in the “Filter Name” field, then choose “Browse” and select the InQMyProxyFlt.dll file that has already been copied in the /Inetpub/Scripts directory of MS IIS. Choose “OK” on all open dialog boxes.

Note: For every Virtual Site, a directory with Execute Permissions must be created and InQMyProxyExt.dll file must be copied for the filter to function properly. This scenario is shown below.

Different permissions for Scripts directory can be set.

Web Site Creation Wizard

Restarting IIS

After setting permissions for the Scripts directory, you must restart MS IIS for the changes to take effect. Right-click the server and choose “Restart IIS.” To verify that MS IIS has succeeded in loading the filter, choose “Properties” for the server and check the WWW Service settings. The loaded DLLs are displayed with a green arrow.

Note: If any changes are made to the configuration file with forward rules ( InQMyProxyFlt.ini ) after the ISAPI filter has been installed and loaded by MS IIS, you must restart MS IIS for the changes in InQMyProxyFlt.ini to take effect.

Previous  Next