...
- Download the connector project from: http://tomcatiis.riaforge.org/ BonCode Connector website. Click on the link to download the latest version.
- To avoid multiple issues with using the zip file content, unblock the package before unzipping. Simply right click on the zip file and click “Unblock” on the “General” tab:
...
- Test the configuration again by browsing http://localhost/frevvo/web/login
Using the ISAPI Filter
Follow these steps if you are using the ISAPI filter instead of the IIS to tomcat connector approach.
Download and Configure an ISAPI Filter
...
Code Block |
---|
# Configuration file for the Jakarta ISAPI Redirector # The path to the ISAPI Redirector Extension, relative to the website # This must be in a virtual directory with execute privileges extension_uri=/jakarta/isapi_redirect.dll # Full path to the log file for the ISAPI Redirector log_file=c:\isapi\logs\isapi_redirect.log # Log level (debug, info, warn, error or trace) log_level=info # Full path to the workers.properties file worker_file=c:\isapi\conf\workers.properties # Full path to the uriworkermap.properties file worker_mount_file=c:\isapi\conf\uriworkermap.properties |
If you have modified the port for the AJP Connector you will need to modify the workers.properties file. The file c:\isap\conf\workers.properties assumes that Tomcat is running on the same machine as IIS and using the default port (8009) for AJP. Make adjustments if necessary.
Code Block |
---|
worker.list=workerFrevvo worker.workerFrevvo.host=localhost worker.workerFrevvo.port=8009 worker.workerFrevvo.type=ajp13 |
The file c:\isap\conf\uriworkmap.properties lists the http request paths that will be forwarded to
Code Block |
---|
/frevvo/*=workerFrevvo |
Proceed to the IIS configuration for your specific version (IIS6 and IIS7 below).
IIS 6 Configurations
In your Windows Server:
- Open Control Panel, then Administrative Tools and open Internet Information Services.
- Add the ISAPI Filter to IIS
- Right-click on Default Web Site (or the Web Site that should be responsible for proxying requests to ), and click on Properties.
- Click the ISAPI Filters tab.
- Click Add and create one. Enter jakarta as the Filter Name and enter the location of the isapi_redirect.dll file for the executable.
- Click OK, Apply and then OK.
- Create a virtual directory for in IIS.
- Right-click on Default Web Site (or the Web Site that should be responsible for proxying requests to ), choose New and then Virtual Directory.
- Go through the creation wizard. Set the alias to be the same as the context path configured in c:\isapi\bin\isapi_redirect.properties. If you kept the defaults in the section Download and Configure an ISAPI Filter you would enter jakarta.
- Enter the path to the directory that contains the isapi_redirect.dll
- Grant the 'Execute' permission for the Virtual Directory by checking the 'Execute' checkbox.
- You will need to restart the IIS Service. To do this, browse to Control Panel, click Administrative Tools, click on Services, find the IIS Admin Service and click restart.
- Add a Web Service Extension
- Right-click on Web Service Extensions and choose Add a new Web Service Extension...
- Enter jakarta for the Extension Name and then add the isapi_redirect.dll file to the required files
- Select the Set extension status to Allowed check-box, then click OK
The ISAPI filter is installed and configured. You can check the status of the filter: right click on Default Web Site and select the tab ISAPI Filters. The ISAPI filter should be listed with a green arrow pointing upwards as shown below:
IIS 7 Configurations
It is necessary to have the role Web Server ISAPI Extensions and ISAPI Filters configured in IIS. If this is a new installation of IIS:
- Navigate to Start Menu > Administrative Tools > Server Manager.
- Select 'Web Server (IIS)' in Server Manager > Roles.
- Click 'Add Role Services' and follow the Wizard.
- You also need to select Windows Authentication if you will be using Live Forms and LDAP SSO
If this is not a new installation of IIS you can verify the installed roles:
- Navigate to Start Menu > Administrative Tools > Server Manager.
- Click on Roles and then Web Server (IIS).
- Check that the required role services are installed.
...
Add a Web Service Extension
Navigate to the servers and highlight your server:
- Navigate to 'ISAPI and CGI Restrictions'.
- Add isapi_redirect.dll extension.
- In the wizard, allow the extension to execute.
...
- Navigate to Start Menu > Administrative Tools > Server Manager.
- In the Server Manager, click on Roles and right click Web Server (IIS).
- On the right panel, look for the section System Services.
- Restart World Wide Web Publishing Service.
If you already installed you can test the IIS configuration by pointing your browser to: http://localhost/frevvo/web/static/home
Trouble Shooting
Sometimes the IIS and ISAPI configurations may not work as described above. In a number of cases this may be related
to specific settings in your environment. Here are some things to check:
On windows 2008: Encrypt Content to Secure Data
- Right Click on the isapi forlder (c:\isapi if used the defaults)
- Select Properties.
- In the General Tab select Advanced
- In the Advanced Attributes verify that the checkbox Encrypt contents to secure data is not checked.
IIS user permissions
Check if the user running IIS has enough permissions to run the ISAPI dll.