Thanks dominic. I have now got it working but I'm not exactly sure what was the problem
tomcat 4.1.18-LE did not work 4.1.24 full when running as a service did work so it was either the service, the newer version or not using LE edition. --- Tim > -----Original Message----- > From: Dominic Parry [mailto:[EMAIL PROTECTED] > Sent: 11 June 2003 13:33 > To: Tomcat Users List > Subject: Re: JK2 crashes IIS on win2000 > > > Hi Tim > > I had the same problem. I'm not sure why it happened, but I > had to remove all the sup-up stuff and start again. One thing > I did change was to put the isapi_redirector2.dll file inside > tomcat's conf folder, in a connector subfolder, and I have > READ and EXECUTE rights to the IUSR to the connectors folder. > I also had to download the dll again. I also had to run > tomcat as an NT service. > > I'm not sure if that's what fixed it, but it is working now. > My configs are posted below: > > workers2.properties: > > #Define the communication channel > [shm] > file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file > size=1048576 > > [channel.socket:127.0.0.1:8009] > info=Ajp13 forwarding over socket > tomcatId=localhost:8009 > > # Map the Tomcat examples webapp to the Web server uri space > [uri:/examples/*] > info=Map the whole webapp > > reg entries: > > Windows Registry Editor Version 5.00 > > [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software > Foundation\Jakarta Isapi Redirector\2.0] > "serverRoot"="C:\\Program Files\\Apache Group\\Tomcat 4.1" > "extensionUri"="/jakarta/isapi_redirector2.dll" > "workersFile"="C:\\Program Files\\Apache Group\\Tomcat > 4.1\\conf\\workers2.properties" > "logLevel"="DEBUG" > > > And then, you won't believe this, I had to reboot! It all > works perfectly now. > > hope this helps you. > > Dom > ----- Original Message ----- > From: Tim Robinson > To: 'Tomcat Users List' > Sent: Wednesday, June 11, 2003 12:42 PM > Subject: JK2 crashes IIS on win2000 > > > Hi, > > I am trying to get JK2 ISAPI working on my windows 2000 > box. IIS starts up > but when I try to access a servlet I get an HTTP 500 > response with "The > handle is invalid". The next request IIS gets (regardless > of whether it's a > servlet request or not) causes inetinfo.exe to crash with a memory > exception. > > I have followed all the instructions I can find but to no > avail. Please > excuse the long post but I want to let you know what I have > already tried. > > The machine is windows 2000 server with IIS 5 and .net > framework installed, > and all the latest patches. I am using tomcat 4.1.18 on jre > 1.4.0, but I > don't think it's getting as far as tomcat (netstat reports > no connections on > 8009). JK1.2 works fine in this configuration and > non-servlet web stuff > works OK. The ISAPI extension shows as an up-arrow in IIS, > and my IIS > virtual root for /jakarta works OK. > > Here is my workers2.properties file: > > [shm] > file=c:/temp/shm.txt > size=1048576 > [channel.socket:localhost:8009] > info=Ajp13 forwarding over socket > tomcatId=localhost:8009 > [uri:/examples/*] > info=Map the whole webapp > > I have tried it with and without the [shm] section and the > symptoms are the > same. The shared memory file does get created so clearly > something is > happening. > > My jk2.properties file contains only comments. Here is my > windows registry: > > [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software > Foundation\Jakarta Isapi > Redirector\2.0] > "serverRoot"="C:\\jakarta-tomcat-4.1.18" > "extensionUri"="/jakarta/isapi_redirector2.dll" > "workersFile"="C:\\jakarta-tomcat-4.1.18\\conf\\workers2.properties" > "logLevel"="DEBUG" > > (anyone know where the debug is supposed to come out?) > > Thanks in advance for any hints > > --- Tim > > > > --------------------------------------------------------------------- > 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]