You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Allistair Crossley <Al...@QAS.com> on 2003/05/29 17:25:40 UTC

SOLVED RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

OK, I have solved this with Reynir's JK2 isapi tutorial. JK1 was not having any of it. To get the Tomcat examples working I created workers2.properties a la

[shm]
file=c:\Program Files\Apache Group\Tomcat 4.1\logs\jk2.log
size=1048576

# Example socket channel, override port and host.
[channel.socket:intranet:8009]
port=8009
host=127.0.0.1

# define the worker
[ajp13:intranet:8009]
channel=channel.socket:intranet:8009

# Uri mapping
[uri:/examples/*.jsp]
[uri:/examples/*]
worker=ajp13:intranet:8009

# define the worker
[status:status]

# Uri mapping
[uri:/jkstatus/*]
worker=status:status

Added the reg entries for 2.0 and created the Virtual directory and ISAPI filter to point to the isapi_redirector2.dll

Seems much healthier!


-----Original Message-----
From: Reynir Hübner [mailto:reynir@hugsmidjan.is]
Sent: 29 May 2003 15:15
To: Tomcat Users List
Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module


Hi, 
I am not sure if that's what's happening here...
I've had problems with IIS it self, sometimes it's enough to restart IIS, and sometimes I need to restart the hardware. 

One thing that comes to mind... Did you create the /jakarta virtual directory under IIS and have it pointing to the dll ??

F.Y.I. I've made 2 how-too-pages on the IIS jk and jk2 installation most simple installation possible. You might want to try out the other (jk2). 
Check out 
http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or 
http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work.

Hope it helps
-reynir



> -----Original Message-----
> From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] 
> Sent: 29. maí 2003 14:13
> To: Tomcat Users List
> Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot 
> Find Module
> 
> 
> I commented out each in turn and it does not matter which I 
> use the error still happens :(
> 
> It's ridiculous because I have followed every single set of 
> instructions to the very letter and it does not work.
> 
> Someone out there must know what
> 
> "The specified module could not be found."
> 
> which is what I get in Internet Explorer when I request my 
> JSP through IIS. The IIS logs still show Error 500 for the ISAPI dll.
> 
> -----Original Message-----
> From: Reynir Hübner [mailto:reynir@hugsmidjan.is]
> Sent: 29 May 2003 15:02
> To: Tomcat Users List
> Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot 
> Find Module
> 
> 
> Ok, according to this you've got 2 connectors on port 8009 ? 
> That's one to many ... -reynir
> 
> 
> > -----Original Message-----
> > From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com]
> > Sent: 29. maí 2003 13:38
> > To: Tomcat Users List
> > Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot 
> > Find Module
> > 
> > 
> > My server.xml contains
> > 
> >     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
> >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> >                port="8009" minProcessors="5" maxProcessors="75"
> >                enableLookups="true" redirectPort="8443"
> >                acceptCount="10" debug="0" connectionTimeout="20000"
> >                useURIValidationHack="false"
> >                
> > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > 
> >     <!-- Define an AJP 1.3 Connector on port 8009 -->
> >     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> >                port="8009" minProcessors="5" maxProcessors="75"
> >                acceptCount="10" debug="0"/>
> > 
> > when I request
> > 
> > http://localhost:8080/taglibs/index.jsp
> > 
> > it works, so Tomcat is running.
> > 
> > Telnet to 8009 gives me a blank screen.
> > 
> > 
> > -----Original Message-----
> > From: Reynir Hübner [mailto:reynir@hugsmidjan.is]
> > Sent: 29 May 2003 14:29
> > To: Tomcat Users List
> > Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot
> > Find Module
> > 
> > 
> > Hi,
> > 
> > I haven't seen this error before, do you have a connector set
> > to receive the request in tomcat/conf/server.xml ? It must be 
> > open on port 8009, what hapenes if you do : 
> > 
> > C:\> telnet localhost 8009
> >  
> > 
> > It's seems to me that the workers, and IIS filter is working
> > correctly at least according to the log file, but there may 
> > be nothing configured to receive the request in tomcat. Or 
> > maybe even tomcat Is not running at all ?
> > 
> > hope it helps
> > -reynir
> > 
> > 
> > > -----Original Message-----
> > > From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com]
> > > Sent: 29. maí 2003 11:48
> > > To: TOMCAT USER (E-mail)
> > > Subject: IIS 5 + isapi_redirect.dll Error 500 And Cannot 
> Find Module
> > > 
> > > 
> > > Hi,
> > > 
> > > I have been charged with getting IIS 5 talking to Tomcat 4.1.24
> > > 
> > > I have completed all the instructions and have the isapi filter 
> > > running and spitting out its log information to a log 
> file in tomcat 
> > > and so on, so I know that JSP requests are getting into the isapi 
> > > filter OK.
> > > 
> > > However, when I request my test jsp
> > > 
> > > http://intranet/taglibs/index.jsp
> > > 
> > > I get the error...
> > > 
> > > The specified module could not be found.
> > > 
> > > Looking in the IIS log I see an error 500 code for this response
> > > 
> > > 2003-05-29 11:27:35 150.150.100.247 - 150.150.100.247 80 GET 
> > > /tomcat/isapi_redirector.dll - 500
> > > Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0)
> > > 
> > > And in the isapi log the request gives
> > > 
> > > [Thu May 29 12:27:35 2003]  [jk_isapi_plugin.c (696)]: 
> > > HttpFilterProc started [Thu May 29 12:27:35 2003]
> > > [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host 
> > > redirection of /intranet/taglibs/index.jsp [Thu May 29 
> > > 12:27:35 2003]  [jk_uri_worker_map.c (460)]: Into 
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Thu May 29 12:27:35 2003]  [jk_uri_worker_map.c (477)]: 
> > > Attempting to map URI '/intranet/taglibs/index.jsp' [Thu May 
> > > 29 12:27:35 2003]  [jk_uri_worker_map.c (599)]: 
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match 
> > > [Thu May 29 12:27:35 2003]  [jk_isapi_plugin.c (765)]: In 
> > > HttpFilterProc test Default redirection of /taglibs/index.jsp 
> > > [Thu May 29 12:27:35 2003]  [jk_uri_worker_map.c (460)]: Into 
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Thu May 29 12:27:35 2003]  [jk_uri_worker_map.c (477)]: 
> > > Attempting to map URI '/taglibs/index.jsp' [Thu May 29 
> > > 12:27:35 2003]  [jk_uri_worker_map.c (502)]: 
> > > jk_uri_worker_map_t::map_uri_to_worker, Found a context match 
> > > testWorker -> /taglibs/ [Thu May 29 12:27:35 2003]  
> > > [jk_uri_worker_map.c (558)]: 
> > > jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match 
> > > testWorker -> *.jsp [Thu May 29 12:27:35 2003]  
> > > [jk_isapi_plugin.c (775)]: HttpFilterProc 
> > > [/taglibs/index.jsp] is a servlet url - should redirect to 
> > > testWorker [Thu May 29 12:27:35 2003]  [jk_isapi_plugin.c 
> > > (838)]: HttpFilterProc check if [/taglibs/index.jsp] is 
> > > points to the web-inf directory
> > > 
> > > My workers.properties file is
> > > 
> > > worker.list=testWorker
> > > worker.testWorker.port=8009 worker.testWorker.host=localhost
> > > worker.testWorker.type=ajp13
> > > 
> > > My uriworkermap.properties is
> > > 
> > > /taglibs/*=testWorker
> > > /taglibs/*.jsp=testWorker
> > > /taglibs/servlet/*=testWorker
> > > 
> > > 
> > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
> > > -------------------------------------------------------
> > > QAS Ltd.
> > > Developers of QuickAddress Software
> > > <a href="http://www.qas.com">www.qas.com</a>
> > > Registered in England: No 2582055
> > > Registered in Australia: No 082 851 474
> > > -------------------------------------------------------
> > > </FONT>
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: 
> tomcat-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org