How To Configure IIS 6 With Tomcat And Jboss Using Isapi Redirect dll Connector On Windows Server
Managing the domains on windows IIS and redirecting them to Java server (tomcat, jboss) java applications is done with the help of isapi redirect dll. Redirection to the java server will not make a difference on the url, we are able to browse the site url using the 80 port.
This will help us to, divide the traffic between iis and java web server. Java applications can be able to serve from Java server and normal pages are able to serve from iis. Through iis we will get a good control on the domains. We are able to host multiple domains on iis and manage there needs.
To accomplish the redirection of 80 port to 8080 port we need to configure and load isapi redirect dll on iis.
Windows IIS 6 with Tomcat and Jboss with Isapi
Download Java jre and install. Java is required for tomcat and jboss to function.
Once java installation is completed. We need to proceed with system variable setup.
Set JAVA_HOME system variable path.
Set Java installation path on the windows system variable.
Download isapi redirect exe executable file from ” http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.14/isapi_redirect-1.2.14.exe “.
Close all existing IIS managers. Run the application.
Change the installation location from program folder.
I have select C:ISAPI as the default installation location for the isapi application. We are able to operate isapi application independently.
Download isapi redirect dll file from apache website. Don’t forget to select the dll file according to the system architecture.
Select the isapi_redirect-1.2.28.dll (if new version is available select that) from
” http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/ “.
Rename and save isapi_redirect-1.2.28.dll into the bin folder of isapi application installation folder (C:ISAPIbin).
Rename the downloaded isapi_redirect.dll and replace the existing old dll file.
Open IIS Manager. Go to default web site. We can view a new virtual directory “jakarta” under the default web site.
Open default web site properties. Go to isapi filter tab. Green status indicate our new jakarta file name with the path C:/ISAPI/bin/isapi_redirect.dll is loaded correctly. Some times iis restart is required for loading the module.
Go to Web Service Extension and allow the newly added isapi_redirect.dll. Add the Extension name “jakarta”. Add file. Path point to our isapi_redirect.dll (C:ISAPIbinisap_redirect.dll)
Set extension status to allow.
Add /examples/*=wlb to uriwokermap.properties (tomcat example path). This indicate the java application path. Add the path according to our application.
Opening tomcat web server on http://localhost:8080/examples/ url.
Opening http://localhost/examples/ bypassing 8080 port.
Same setting are done for Jboss servers.
Starting Jboss server.
Opening jboss url http://localhost:8080/jmx-console/ on 8080 port.
Add /jmx-console/*=wlb on uriworkermap.properties.
Opening Jboss url http://localhost/jmx-console/ bypassing 8080 port.
1. Create a log file in the name of isapi_redirect.log “C:ISAPIlogisapi_redirect.log”
2. Give IIS user read,write permission on C:ISAPI.
*Errors can viewable on isapi_redirect.log. Logging levels -(debug,info,error) can be change on isapi application windows registry.
Logging levels -(debug,info,error) can be change on isapi application windows registry.
While configuration some time 404 error will be show while browsing. Try allow all ISAPI web extensions and try to locate the errors from logs.
Latest posts by Melbin Mathew (see all)
- VMware virtual IDE to virtual SCSI hard disk conversion steps – Windows XP - August 6, 2015
- Stop Error “CRITICAL_STRUCTURE_CORRUPTION - August 5, 2015
- Error installing Windows server role and feature required for the Exchange 2010 - December 3, 2013