Friday, May 11, 2007

Configuring IIS Web Server with WebSphere App Server

Two Step Process:
- Generating a plugin-cfg.xml file
- Create a new virtual directory for the Web site instance to work with Web Sphere Application Server
  • Go to Web Sphere folder which is under C:\WebSphere Install and Patches\WAS6
  • Select Launchpad.bat file
  • Select launch the installation wizard for web server plug-ins
  • Check Installation roadmap. Click next
  • Select Microsoft Internet Information Services V6
  • Select Option Web Server machine(remote) - If the IIS web server is installed on same(local) machine or on remote machine, it works fine.
  • Location where plug-in has to be generated browse to C:\Program Files\IBM\WebSphere\Plugins
  • Web server port address - 80
  • Type the Server definition Name Ex: webServer1
  • Give the name plugin-cfg.xml
  • Host system where we are generating the xml file.
  • Click Finish.
From Web Server point of view - Integrating iisWASPlugin_http.dll file with IIS
  • Go to IIS Console from Control Panel >Administrative Tools>Internet Information Services(IIS) Manager
  • Expand the tree on the left until you see Default Web Site.
  • Right-click Default Web Site and select New > Virtual Directory to create the directory with a default installation
  • Type sePlugins
  • Browse to the Web Sphere Application Server "C:\Program Files\ibm\WebSphere\Plugins directory "
  • Select the Allow Read and Execute Access check box

Add the Internet Services Application Programming Interface (ISAPI) filter into the IIS configuration

  • Right-click Default Web Site in the tree on the left and click Properties
  • Go to ISAPI Filters Tab
  • Click Add to open the Filter properties window
  • Click Browse in the Executable field.
  • Click the iisWASPlugin_http.dll file.
  • Click OK
  • Type iisWASPlugin in the "Filter Name" field.
  • Expand web sites folder under local computer and click on Web Service Extensions
  • Click on Add a new web service extension on the right pane
  • Browse to the iisWASPlugin_http.dll file location under the "C:\Program Files\ibm\WebSphere\Plugins\bin \IIS_webserver1"
  • Click on Allow
Finally open the browser and give the address

ex: https://192.168.203.23/idm/login.jsp

From the webserver machine click on https://localhost/idm/login.jsp will work