You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Scott Whitney <sw...@buzzwordtech.com> on 2000/07/21 21:58:54 UTC

IIS isapi woes

Can anyone out there help me out setting up TomCat under Windows NT and IIS
as an ISAPI app?

I'm a little confused on the whole procedure.  What I've got so far is thus:

1) Java SDK 1.3 for no particular reason that I can discern
2) Tomcat isapi_redirect.dll
3) No examples
4) No idea what a valid page would be
5) a test.jsp that (in theory) returns some server variables
6) No idea how to configure IIS to respond.

I have set up the isapi_redirector as an ISAPI app, and IIS claims that it's
running.  That is, I get my happy little green arrow where this is
concerned.  I have tried setting up .jsp as an extension with the
isapi_redirector.dll as the executable to no avail.  I have tried the same
for .war and .jar files.  Basically, I have no idea what I'm doing at this
point.

Any help would be greatly appreciated.  My goal right now is to get a .jsp
to return "Hello world" via any valid jsp method.  Eventually more, but baby
steps for now...in fact, any step would be good.

Thanks!

Scott Whitney	Buzzword Technologies/LegalNET
President		swhitney@buzzwordtech.com
MCSE		512.302.0129


Re: IIS isapi woes

Posted by Steve Ruby <st...@rubysolutions.com>.
Scott Whitney wrote:
> 
> Can anyone out there help me out setting up TomCat under Windows NT and IIS
> as an ISAPI app?
> 
> I'm a little confused on the whole procedure.  What I've got so far is thus:
> 
> 1) Java SDK 1.3 for no particular reason that I can discern
> 2) Tomcat isapi_redirect.dll
> 3) No examples
> 4) No idea what a valid page would be
> 5) a test.jsp that (in theory) returns some server variables
> 6) No idea how to configure IIS to respond.
> 
> I have set up the isapi_redirector as an ISAPI app, and IIS claims that it's
> running.  That is, I get my happy little green arrow where this is
> concerned.  I have tried setting up .jsp as an extension with the
> isapi_redirector.dll as the executable to no avail.  I have tried the same
> for .war and .jar files.  Basically, I have no idea what I'm doing at this
> point.
> 


If you have the green arrow, sounds like you are down to
editing the uriworkermap.properties file in %tomcat%\conf\

You need to put something like

/mycontext/*=ajp12
or 
/mycontext/*.jsp=ajp12

that will tell IIS to let tomcat process everything in the mycontext
context or the second one would just have it parse jsp and return 404
for the rest by default..  I ust the first one, everything in the
context
is passed to tomcat...

make sure mycontext is the name of your context of course.