And just for everyone's enlightenment, here's why you have to
restart the entire process:
The redirector is implemented as a DLL. The configuration is loaded
into the DLL on library load. When IIS restarts a single instance, it kills
and restarts threads, but not any DLLs and not any heavy-weight processes.
Therefore the configuration doesn't get reloaded (and new versions of the
DLL doesn't get loaded, etc).
Sometimes knowing the reason for the problem makes other things
clearer.
Randy
> -----Original Message-----
> From: Will Thien [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 12, 2001 1:55 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Configuration with IIS-Tomcat.
>
>
> Thanks Mike
>
> I was having trouble also. Yours was my missing piece.
> Also, I have 3 web servers in my Win2K system. My IIS-redirector was
> installed in one server. I was stopping and restarting the
> single server,
> thinking it would reload the "conf/uriworkermap.properties
> file". I had to
> bounce(restart) all IIS services on my server. Then it
> reloaded and it all
> worked.
>
> Thanks
>
> Will
>
>
>
> -----Original Message-----
> From: Mike Spisak [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 11, 2001 5:02 PM
> To: tomcat-user
> Subject: Re: Configuration with IIS-Tomcat.
>
>
> This what I did to get IIS5 on Win2K with Tomcat 3.2.1 to work for me:
>
> My server.xml file has lines that look like this:
> <Context path="/"
> docBase="/Inetpub/wwwroot"
> crossContext="false"
> debug="0"
> reloadable="true" >
> </Context>
>
> Note: there is no "C:\" replaced by "/"
>
> Then I added this to my: conf/uriworkermap.properties file:
>
> /*.jsp=ajp12
> #or other uri's
> /<whatever>/*.jsp=ajp12
>
> Then I restarted my IIS and tomcat services..
>
> The Jar files.. I had the same problem then I found out (in a document
> somewhere) that you have to make a directory under WEB-INF called lib
> This is where you put your .jar files. (like if you had
> custom tags, etc)
>
> Hope this helps!
>
> Mike
>
> At 01:00 PM 5/11/2001 -0600, you wrote:
> >I finally got IIS to redirect properly
> >to Tomcat. Now, I have a few questions about
> >config:
> >
> >1. I want another dir to use besides the examples
> >dir under webapps. What files do I need to modify
> >for this, and what needs changed? I tried some
> >things, but they did not seem to work....I tried
> >adding a new context to uriworkermap.properties,
> >and I added a stanza in server.xml that was similar
> >to the examples.
> >
> >2. Is there a way to get Jar files to be used? I ended
> >up un-jarring things and putting them in web-inf dir
> >under classes...I had jar that was working under JRun
> >(another JSP/Servlet/etc. engine), but it didn't
> >seem to be recognized...do I *have* to build a WAR
> >for this?
>
>