IIS Archive

Configuring IIS with Weblogic Server

This is a simple example of Configuring IIS(running on default port 80) on Weblogic Server. Create two Weblogic Servers running on Port 7001 and 7003, create a Cluster and add the two Servers to the Cluster. Deploy an application on the Cluster and after the configuration on ISS, access the application as

http://localhost/myApp

Step-1). Make a directory on the IIS box for the plug-in.

For instance: c:\Inetpub\WLS_IIS_Plugin\

Step-2). Copy iisforward.dll and iisproxy.dll to this new directory. These files are located at:

10.0: \wlserver_10.0\server\plugin\win\32
10.3: \wlserver_10.3\server\plugin\win\32

Step-3).To install iisforward.dll as an ISAPI filter, do the following:

a). Go to Start->Administrative Tools->Internet Information Services (IIS) Manager
b). In the left pane, go to the active website (like “Default Web Site”) Right-click the active website and select Properties
c). Select the ISAPI Filters tab and press the Add button Filter name: WLS IIS Plugin (Or whatever you want)
d). Executable: C:\Inetpub\WLS_IIS_Plugin\iisforward.dll (Or whatever path you created)
e). Press OK twice, IIS6 does not allow the iisforward.dll ISAPI Extension to run by default.

To enable:
In the left pane of the Internet Information Services (IIS) Manager,click on Web Service Extension (located under the computer name)
In the right pane, highlight All Unknown ISAPI Extensions and press
the Allow button

Step-4).To map .wlforward to use iisproxy.dll, do the following:

a). In the left pane, drill down to the active website (like “Default Web Site”)
b). Right-click the active website and select Properties
c). Select Home Directory tab
d). Click the Configuration… button.
e). In the Application Mapping tab, click the Add… button.
i). Executable: C:\Inetpub\WLS_IIS_Plugin\iisproxy.dll
ii). Extension: .wlforward
f). Uncheck Verify that file exists
g). IMPORTANT: Ensure .wlforward is *not* mapped to iisforward.dll. While this seems intuitive, it is wrong. .wlforward maps to iisproxy.dll.
h). Press OK three times
i). Exit the IIS Manager MMC console.

Step-5).Create a text file named iisproxy.ini and place it in the plug-in directory (e.g. c:\Inetpub\WLS_IIS_Plugin\iisproxy.ini)

“iisproxy.ini”

————————-
WebLogicCluster=localhost:7001,localhost:7003
WlForwardPath=/
Debug=ALL
DebugConfigInfo=ON
WLLogFile=c:/temp/iisproxy.log
————————-

Step-6).Restart IIS using the following CLI statement: iisreset /restart

Step-7).Use a browser to access IIS. This will ‘turn on’ the IIS->WLSISAPI filter.

Step-8).Relaunch the IIS Manager and check the ISAPI filter tab to ensure the iisforward.dll is now ‘turned on’, as evidenced by a green arrow.