Actually, jk2 is officially UNSUPPORTED, so for a new install, I would
*highly* recommend using jk_1.2.8.exe instead (unless, and until anyone
can say why using a deprecated/abandoned jk2 is better than using the
latest jk_1.2.8 - none yet?  jk_1.2.9 is in current development as well).

The instructions you will find everywhere are outdated and
incomplete/duplicative, at least for the latest tools to use:
1) Tomcat 5.5.x
2) jk_1.2.8.exe
3) IIS 5 or 6

You simply install Tomcat (a nice .exe installer should do), and then the
jk_1.2.8.exe (a VERY nice installer, which unfortunately does so much
automatically, that it makes the dated documentation out there confusing).
Now, all you will have to do in IIS is the following:
1) Add an ISAPI filter for .jsp pages to be handled by Tomcat
2) Set your Application Configuration for jakarta (the redirector
installed by the jk_1.2.8.exe) and enable it (at least in IIS 5).
3) There are mixed messages as to whether you need to set IIS 6 to use
"IIS 5 Isolation Mode" or not, but you might try without same.

That will allow Tomcat examples to work using the foloowing URLs:
http://localhost:8080/jsp-examples
http://localhost/jsp-examples

If you want Tomcat to be able to run webapps outside of
$CATALINA_HOME/webapps, you need to edit the server.xml file and the
jk's uriworkermap.properties file (the installer above puts it in a
folder on the same level as Tomcat 5.5, in its own conf folder, FYI).  For
example, I actually tried to use the following, but it would not work
since the URL is http://localhost/JSP/MYwebapps, and you need to have the
JSP In there somewhere...):
<CONTEXT path="/MYwebapps" docbase="C:/Inetpub/wwwroot/JSP/MYwebapps"
debug="0"
reloadable="true" />
...even if I added these to my uriworkermap.properties file:
/JSP/MYwebapps/*=ajp13w
/MYwebapps/*=ajp13w

Changing to this worked for me so far (only tested basic JSP pages,
nothing fancier and no servlets):
<CONTEXT path="/JSP" docbase="C:/Inetpub/wwwroot/JSP" debug="0"
reloadable="true" />
...and in my uriworkermap.properties file:
/JSP/*=ajp13w

I had to switch gears, so I haven't done much more so far, but this seems
to get things on track.

Good luck,
-Matt


On Mon, 28 Feb 2005, Aris Javier wrote:

> sorry...
> forgot ".com" =)
>
> anyway, here's the site again.
>
> http://www.shiftomat.com/opensource/
>
> regards
> aris
> philippines
>
>
>
> -----Original Message-----
> From: Paul Wallace [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 28, 2005 2:39 PM
> To: Tomcat Users List
> Subject: RE: TC (4), IIS & isapi_redirector.dll
>
>
> Hi & thanks, but that link is dead!
>
> Hello!
>
> visit this site to automate your integration of tomcat and iis.
> http://www.shiftomat/opensource
>
> download the file and follow the instructions...
>
> regards
> aris
>
> -----Original Message-----
> From: Paul Wallace [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 28, 2005 2:25 PM
> To: [email protected]
> Subject: TC (4), IIS & isapi_redirector.dll
>
> Hi,
>     I am attempting to serve up my pages using IIS, and have Tomcat
> process my JSPs/Servlets using JK 1.2 Connector. I am following a what I
> would call a reputable tutorial
> (http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html) which tells
> me to look here
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
> .2.0/bin/ for the isapi_redirector.dll, there or under my Win32
> directory. I am running XP Pro and do not appear to have a Win 32
> directory. In the above page are the various project downloads. Can
> someone tell me where I am being directed please? I see no effervescence
> to Isapi, IIS, redirector, JK or anything else of a similar topic.
>
> thanks and regards
>
> Paul.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Matthew Kozak
Rutgers University-Camden
[EMAIL PROTECTED]

**************************************************************************
 "They that can give up essential liberty to obtain a little temporary
        safety deserve neither liberty nor safety."  -Ben Franklin
**************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to