I have been trying to get the isapi_redirector2.dll working, but without much luck. As the docs are pretty poor, I have gone through several people's accounts of their configs but no luck. So, I am posting the config and environment with the hope that someone sees a problem or can point me at a good path to investigate.

**ENVIRONMENT
My server is Win2K
Webserver is IIS 5
Tomcat 5.0.19 running as a service
I have tried the binary for the latest JK2 (2.0.4) and the prior version, same results.


***PROBLEM
When I access jsp-examples directly from tomcat (i.e. specifying the tomcat http port), it works fine.
When I try to access it via XXX.XXX.XXX.XXX/jsp-examples I get the message
"The Handle is Invalid"


**OTHER ERROR INFO
There are no messages in the Event log and the only messages I have ever seen in the jk2.log is the message "Initializing log file c:/tomcat/logs/iis_jk2.log"
The web server logs indicate a status code of 500 on a request to the redirector DLL.
Nothing in the Tomcat logs.
The work/jk2.shm file is created


**CONFIG
I have set up a virtual directory named "jakarta", it points to c:\tomcat\bin\win32\i386 exec permission was specified when creating it
I have set up an ISAPI filter on the web server it points to the redirector DLL in the dir c:\tomcat\bin\win32\i386
my c:\tomcat\conf/jk2.conf file is all comments ("#")
my c:\tomcat\conf\workers2.properties file (until the "########")
[logger.file:0]
level=DEBUG
file=c:/tomcat/logs/iis_jk2.log


[shm:]
info=shared mem file
file=c:\tomcat\work\jk2.shm
size=1000000

#[ajp13:localhost:8009]
#info=ajp13
#channel=channel.socket:localhost:8009
[channel.socket:127.0.0.1:8009]
info=Ajp13 worker
tomcatId=localhost:8009

[uri:/servlets-examples/*]
info=Tomcat 5 servlet examples

[uri:/jsp-examples/*]
info=Tomcat 5 JSP examples
###### END OF PROPERTIES FILE ######

My relevant registry settings...
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0]
"serverRoot"="C:\\tomcat"
"extensionUri"="/jakarta/isapi_redirector2.dll"
"workersFile"="C:\\tomcat\\conf\\workers2.properties"
"logLevel"="DEBUG"


[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.0]
"InstallPath"="c:\\tomcat"
"Version"="5.0.19"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager\Tomcat5]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters]
"Arguments"="java"
"Description"="Apache Tomcat 5.0.19 Server - http://jakarta.apache.org/tomcat/";
"DisplayName"="Apache Tomcat"
"ImagePath"="c:\\tomcat\\bin\\bootstrap.jar"
"Java"="java"
"StartupClass"="org.apache.catalina.startup.Bootstrap;main;start"
"ShutdownClass"="org.apache.catalina.startup.Bootstrap;main;stop"
"Startup"="manual"
"JavaOptions"=hex(7): 2d,00,44,00,63,00,61,00,74,00,61,00,6c,00,69,00,6e,00,61,\
00,2e,00,68,00,6f,00,6d,00,65,00,3d,00,22,00,63,00,3a,00,5c,00,74,00,6f, 00,\
6d,00,63,00,61,00,74,00,22,00,00,00,2d,00,44,00,6a,00,61,00,76,00,61,00, 2e,\
00,65,00,6e,00,64,00,6f,00,72,00,73,00,65,00,64,00,2e,00,64,00,69,00,72, 00,\
73,00,3d,00,22,00,63,00,3a,00,5c,00,74,00,6f,00,6d,00,63,00,61,00,74,00, 5c,\
00,63,00,6f,00,6d,00,6d,00,6f,00,6e,00,5c,00,65,00,6e,00,64,00,6f,00,72, 00,\
73,00,65,00,64,00,22,00,00,00,2d,00,58,00,72,00,73,00,00,00,00,00
"WorkingPath"="c:\\tomcat"
"StdOutputFile"="c:\\tomcat\\logs\\stdout.log"
"StdErrorFile"="c:\\tomcat\\logs\\stderr.log"
###### END OF REG FILE #######



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



Reply via email to