Sun Java SDK & Jakarta Tomcat 5
===============================
1. Install Sun Java SDK:
-- Preferred Development Tools location: C:\j2sdk1.4
(or "j2sdk1.4" in the root of another drive);
-- Deselect installation of Demos;
-- Deselect installation of Source Code;
-- Deselect all browser plugins;
2. Install Jakarta Tomcat 5.0.28:
-- For download, see the "Apache Jakarta Project" web site:
http://tomcat.apache.org/download-55.cgi#5.0.28;
-- Deselect installation of examplefiles;
-- Preferred Destination Folder: C:\jakarta-tomcat-5.0
(or "jakarta-tomcat-5.0" in the root of another drive),
!! NOTE: do not use spaces in folder names;
-- Accept default HTTP/1.1 Connector port (8080);
-- Fill in a admin password;
-- Select C:\j2sdk1.4 as JVM path;
-- Deselect Run Apache Tomcat;
-- Deselect Show Readme;
-- Delete folders in the C:\jakarta-tomcat-5.0\webapps folder:
- tomcat-docs;
- balancer;
-- Delete C:\jakarta-tomcat-5.0\conf\Catalina\localhost\balancer.xml
3. Download JT5_Extra_Files.zip (click here) and unzip it to a temporary location:
-- Copy "JT5 Config Files\catalina.bat" to C:\jakarta-tomcat-5.0\bin (overwrite)
(Check the correct folders for JAVA_HOME & CATALINA_HOME);
-- Copy "JT5 Config Files\server.xml" to C:\jakarta-tomcat-5.0\conf (overwrite)
(Check the correct folders for all Context's, delete unused);
-- Copy all files from "JT5 Shared_Lib Files" to C:\jakarta-tomcat-5.0\shared\lib;
-- Copy "C:\j2sdk1.4\lib\tools.jar" to C:\jakarta-tomcat-5.0\common\lib (overwrite);
Microsoft IIS - Jakarta Tomcat 5 Redirector
===========================================
1. Copy redirector files for IIS:
-- IIS5:
- Create a folder win32 in C:\jakarta-tomcat-5.0\bin
- Copy "IIS5 Redirector files\isapi_redirector.dll" to C:\jakarta-tomcat-5.0\bin\win32;
- Copy "IIS5 Redirector files\workers.properties" to C:\jakarta-tomcat-5.0\conf
(Check the correct folders for java_home & tomcat_home);
- Copy "IIS5 Redirector files\uriworkermap.properties" to C:\jakarta-tomcat-5.0\conf
(Check the correct Context's, delete unused);
- Check the correct JT5 folder in "IIS5 Redirector files\iis_redirect.reg" and execute the Registry file;
-- IIS6:
- Create a folder win32 in C:\jakarta-tomcat-5.0\bin
- Copy "IIS6 Redirector files\isapi_redirector2.dll" to C:\jakarta-tomcat-5.0\bin\win32;
- Copy "IIS6 Redirector files\workers2.properties" to C:\jakarta-tomcat-5.0\conf
(Check the correct folder for file in section [shm:];
(Check the correct Context's, delete unused);
- Check the correct JT5 folder in "IIS6 Redirector files\iis_redirect2.reg" and execute the Registry file;
2. Configure redirector files for IIS:
-- IIS5:
- Open "Start menu\Settings\Control panel\Administrative tools\Internet Services Manager";
- Rightclick the website the redirector must be configured:
> Select "New - Virtual Directory";
> Create "jakarta" pointing to C:\jakarta-tomcat-5.0\bin\win32\
(Execute Permissions: Scripts and Executables)
(Application protection: High (Isolated));
> Click OK;
- Rightclick the website the redirector must be configured:
> Select "properties", select tab "Isapi Filters";
> Click "Add...";
> Set the filter name to "Jakarta redirector";
> Browse the isapi_redirector.dll from C:\jakarta-tomcat-5.0\bin\win32;
> Click OK;
- Rightclick the , select "Restart IIS...";
> Click OK;
-- IIS6:
- Open "Start menu\Settings\Control panel\Administrative tools\Internet Information Services (IIS) Manager";
- Richtclick Web Sites, select "properties":
> Select tab "Services", check "Run WWW services in IIS5.0 isolation mode";
> Click OK;
- Rightclick the website the redirector must be configured:
> Select "New - Virtual Directory";
> Create "jakarta" pointing to C:\jakarta-tomcat-5.0\bin\win32\
(Execute Permissions: Scripts and Executables)
(Application protection: High (Isolated));
> Click OK;
- Rightclick the website the redirector must be configured:
> Select "properties", select tab "Isapi Filters";
> Click "Add...";
> Set the filter name to "Jakarta redirector";
> Browse the isapi_redirector2.dll from C:\jakarta-tomcat-5.0\bin\win32;
> Click OK;
- Rightclick the Web Service Extensions, select "Add a new Web service extension...":
> Set the extension name to "Jakarta redirector";
> Browse the isapi_redirector2.dll from C:\jakarta-tomcat-5.0\bin\win32;
> Check "set the Extension status to Allowed;
> Click OK;
- Rightclick the , select "All Tasks - Restart IIS...";
> Click OK;