HERE IT IS. TOMCAT WITH IIS IN A NUTSHELL
*************************************************




To Install Tomcat with IIS, you need to install a filter in IIS that
tells IIS to forward request for JSP and Servlet to Tomcat Engine.
This Filter is a windows DLL file available from www.jakarta.apache.org

The following file paths will be used in these instructions. OS is
assumed to be Win2000.

Java: C:\JDK1.3
Tomcat: C:\Tomcat
isapi_redirect.dll: C:\Tomcat\bin
IIS Root: C:\InetPub\wwwroot

INSTALLING JDK AND TOMCAT

1. JDK can be downloaded from http://java.sun.com
2. Tomcat can be downloaded from http://jakarta.apache.org
3. you need to setup the following Environmnt varialbles aftr
installation.
Right-Click on My Computer -> Properties, go to Evironmental Variables
and set:

TOMCAT_HOME = C:\Tomcat
JAVA_HOME = C:\JDK1.3

In Environment variables, make sure C:\JDK1.3\bin is the first entry in
your PATH variable

4. Next go to DOS prompt, Change to C:\Tomcat\Bin and start Tomcat by
typing "startup". A 2nd DOS window will open that is running Tomcat. If
the 2nd window immediately closes, then something is wrong with your
PATH. Make sure Tomcat is running by opening your browser to
http://localhost:8080/


INSTALLING THE ISAPI Redirector

1.Download (from jakarta.apache.org) isapi_redirect.dll to
"C:\Tomcat\bin"
2. Now copy the following lines into NotePad and save it as a .Reg file

(do not copy these dotted lines) :)
-----------

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web
Server]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web
Server\1.3.14]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\TomCat\\logs\\isapi.log"
"log_level"="error"
"worker_file"="C:\\TomCat\\conf\\workers.properties"
"worker_mount_file"="C:\\TomCat\\conf\\uriworkermap.properties"
---------------

3. Double click the .reg file and import the settings into your registry


4. Open IIS management console and create a new virtual directory called
"jakarta" and make the physical path "C:\Tomcat\bin" Make sure that this
virtual directory has "Execute" permissions.

5. Now we need to add the filter.
In the IIS Management Console, right-click on your machine name (not the
root web) and select properties. Click the Edit button next to the
'Master Properties' for the WWW Service. Select the "ISAPI Filters" tab
and click "Add" Name the filter "jakarta" and for the executable, browse
to C:\Tomcat\bin\isapi_redirect.dll file.

6. Restart the IIS admin service. After you restart , check for the
ISAPI filter status by going to the ISAPI filter Screen(step no 5).
Make sure there is a green arrow next to the filter. If here is red
arrow pointing down, there's something wrong with the installation. you
can try restarting your machine.

7. Make the following changes in Tomcat's Web.xml file

and change it to this:


Open C:\Tomcat\conf\uriworkermap.properties with notepad. Add the
following line anywhere in the file:

/*.jsp=ajp12


8. Now you can access your JSP pages by typing
http://localhost/examples and your ASP pages by typing http://localhost

9. you can also have Tomcat installed as a service by downloading
"jk_nt_service.exe" from http://jakarta.apache.org";


THATS IT. ALL THE BEST

**************************************************************
















-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of
Colin Capriati
Sent: Saturday, December 01, 2001 9:23 AM
To: [EMAIL PROTECTED]
Subject: Re: servlets and IIS


Chris,

Thanks for the excellent information.

Are you running Tomcat as a service in Win2K?

Colin

----- Original Message -----
From: "Christian Roslawski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 5:46 AM
Subject: Re: servlets and IIS


> > (*) is it possibile to have tomcat4 and iis run together?
>
> Yes, that is possible. I have IIS 5.0 running on Win2000 Server (SP2)
> with Tomcat 4.0.1 using isapi_redirect.dll and the AJP13 Connector.
>
> The AJP13 Connector for Tomcat 4.0 is available at:
>   http://www.apache.org/~hgomez/ajp13-tc4.0/
>
> The isapi_redirect.dll is available at:
>
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i
386/
>
> I used the tomcat-iss-howto from Tomcat 3.3 to configure IIS, which is
available at:
>
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
>
> Good luck.
>
>   Chris
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to