tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spam <s...@rockhopper.org>
Subject Re: Tomcat don't receive the right URL from mod_jk2 (or mod_jk) with IIS 6.0 on Win 2003 Server?
Date Fri, 09 Jan 2004 09:33:58 GMT
Hi Daniel,

 >> filename of the jk2 redirector is isapi_redirector2.dll, so 
isapi_redirector.dll will never be found,
I've renamed the dll, so it is really found.

 >> example directorys of Tomcat5
I'm using Tomcat 4 (I can reach http://localhost:8080/examples/ with no 
error).

 >>we build an installer which automates all steps at:
 >>http://www.shiftomat.com/opensource/
Whatever I've tried your installer, nice one but it still not working 
with an error that looks like the one I have with my previous installation.
(Before try the installation I've removed my jakarta virtual directory 
to let the installer do its job)
I mean I reach the page 'The page cannot be displayed"...
You can find logs and config below.

I'm totally lost. Especially I don't understand why
        --- HttpFilterProc check if [/jakarta/isapi_redirector2.dll] is 
pointing to the web-inf directory
although before the "mapping" was matching
        ---- HttpFilterProc [/examples/] is a servlet url - should 
redirect to lb:lb

Don't hesitate to request for additionnal info.
Best regards.

Johann DUPUIS

------------------------------------------------------------

Here is the logs and configuration with Tomcat 4.1.29 (fresh install) 
and IIS 6 on Win 2003 Server:

( info ) [jk_logger_file.c (224)]  Level DEBUG 0
( info ) [jk_logger_file.c (184)]  Initializing log file 
C:/usr/TMS/AppServer/ApplicationServer/IIS/logs/isapi.log
(debug ) [jk_uriMap.c (377)]  uriMap.init() Fixing Host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /appserver/* context 
(null) host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /examples/* context (null) 
host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /jakarta/* context (null) 
host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri (null) context (null) host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri / context / host *
( info ) [jk_workerEnv.c (403)]  workerEnv.init() ok 
C:\usr\TMS\AppServer\ApplicationServer\IIS\conf\workers2.properties
( info ) [jk_isapi_plugin.c (612)]  Set serverRoot 
Z:\usr\jakarta-tomcat-4.1.18\jakarta-tomcat-4.1.18
(debug ) [jk_isapi_plugin.c (616)]  Using registry.
(debug ) [jk_isapi_plugin.c (618)]  Using extension uri 
/jakarta/isapi_redirect.dll.
(debug ) [jk_isapi_plugin.c (619)]  Using server root 
Z:\usr\jakarta-tomcat-4.1.18\jakarta-tomcat-4.1.18.
(debug ) [jk_isapi_plugin.c (620)]  Using worker file 
C:\usr\TMS\AppServer\ApplicationServer\IIS\conf\workers2.properties.
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc [/] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if [/] is 
pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc [/] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if [/] is 
pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc [/tms/] is not a 
servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if [/tms/] is 
pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc [/tms/] is not a 
servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if [/tms/] is 
pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc 
[/tms/images/blutextb.gif] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if 
[/tms/images/blutextb.gif] is pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc 
[/tms/images/blutextb.gif] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if 
[/tms/images/blutextb.gif] is pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc 
[/tms/images/companylogo.gif] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if 
[/tms/images/companylogo.gif] is pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc 
[/tms/images/companylogo.gif] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if 
[/tms/images/companylogo.gif] is pointing to the web-inf directory
(debug ) [jk_workerEnv.c (140)]  destroy worker ajp13:192.168.0.74:8009
(debug ) [jk_worker_ajp13.c (841)]  ajp13.destroy() closed 0 cached 
endpoints
(debug ) [jk_workerEnv.c (140)]  destroy worker lb:lb
(debug ) [jk_workerEnv.c (147)]  workerEnv.close() done 2
( info ) [jk_logger_file.c (224)]  Level DEBUG 0
( info ) [jk_logger_file.c (184)]  Initializing log file 
C:/usr/TMS/AppServer/ApplicationServer/IIS/logs/isapi.log
(debug ) [jk_uriMap.c (377)]  uriMap.init() Fixing Host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /appserver/* context 
(null) host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /examples/* context (null) 
host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /jakarta/* context (null) 
host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri (null) context (null) host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri / context / host *
( info ) [jk_workerEnv.c (403)]  workerEnv.init() ok 
C:\usr\TMS\AppServer\ApplicationServer\IIS\conf\workers2.properties
( info ) [jk_isapi_plugin.c (612)]  Set serverRoot 
Z:\usr\jakarta-tomcat-4.1.18\jakarta-tomcat-4.1.18
(debug ) [jk_isapi_plugin.c (616)]  Using registry.
(debug ) [jk_isapi_plugin.c (618)]  Using extension uri 
/jakarta/isapi_redirect.dll.
(debug ) [jk_isapi_plugin.c (619)]  Using server root 
Z:\usr\jakarta-tomcat-4.1.18\jakarta-tomcat-4.1.18.
(debug ) [jk_isapi_plugin.c (620)]  Using worker file 
C:\usr\TMS\AppServer\ApplicationServer\IIS\conf\workers2.properties.
(debug ) [jk_workerEnv.c (140)]  destroy worker ajp13:192.168.0.74:8009
(debug ) [jk_worker_ajp13.c (841)]  ajp13.destroy() closed 0 cached 
endpoints
(debug ) [jk_workerEnv.c (140)]  destroy worker lb:lb
(debug ) [jk_workerEnv.c (147)]  workerEnv.close() done 2
( info ) [jk_logger_file.c (224)]  Level DEBUG 0
( info ) [jk_logger_file.c (184)]  Initializing log file 
C:/usr/TMS/AppServer/ApplicationServer/IIS/logs/isapi.log
(debug ) [jk_uriMap.c (377)]  uriMap.init() Fixing Host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri /examples/* context (null) 
host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri (null) context (null) host *
(debug ) [jk_uriMap.c (464)]  uriMap: fix uri / context / host *
( info ) [jk_workerEnv.c (403)]  workerEnv.init() ok 
C:\Dvp\Tomcat4.1\conf\workers2.properties
( info ) [jk_isapi_plugin.c (612)]  Set serverRoot C:\Dvp\Tomcat4.1
(debug ) [jk_isapi_plugin.c (616)]  Using registry.
(debug ) [jk_isapi_plugin.c (618)]  Using extension uri 
/jakarta/isapi_redirector2.dll.
(debug ) [jk_isapi_plugin.c (619)]  Using server root C:\Dvp\Tomcat4.1.
(debug ) [jk_isapi_plugin.c (620)]  Using worker file 
C:\Dvp\Tomcat4.1\conf\workers2.properties.
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (355)]  HttpFilterProc [/examples/] is a 
servlet url - should redirect to lb:lb
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if [/examples/] 
is pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc 
[/jakarta/isapi_redirector2.dll] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if 
[/jakarta/isapi_redirector2.dll] is pointing to the web-inf directory
(debug ) [jk_isapi_plugin.c (288)]  HttpFilterProc started
(debug ) [jk_isapi_plugin.c (346)]  In HttpFilterProc Virtual Host 
redirection of localhost : 80
(debug ) [jk_isapi_plugin.c (412)]  HttpFilterProc 
[/jakarta/isapi_redirector2.dll] is not a servlet url
(debug ) [jk_isapi_plugin.c (421)]  HttpFilterProc check if 
[/jakarta/isapi_redirector2.dll] is pointing to the web-inf directory

Here is the configuration file (I've manually added log related config.):

#Look at
#http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html
#for parameter description
[shm:]
info=Scoreboard. Required for reconfiguration and status with 
multiprocess servers
file=C:\Dvp\Tomcat4.1\temp\jk2.shm
size=1048576
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map webapps to the Web server uri space
[uri:/examples/*]
[logger.file:0]
file=C:/usr/TMS/AppServer/ApplicationServer/IIS/logs/isapi.log
level=DEBUG
[workerEnv:]
info= Global server options
timing=1
debug=0
logger=logger.file:0

Registries:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
Redirector\2.0]
"workersFile"="C:\\Dvp\\Tomcat4.1\\conf\\workers2.properties"
"extensionUri"="/jakarta/isapi_redirector2.dll"
"logLevel"="DEBUG"
"serverRoot"="C:\\Dvp\\Tomcat4.1"
"authComplete"="0"
"threadPool"="20"
@="C:\\Dvp\\Tomcat4.1"


Daniel Schmitt wrote:

> Hi Spam,
> Haven't read your log in detail.
> two points:
> filename of the jk2 redirector is isapi_redirector2.dll, so 
> isapi_redirector.dll will never be found,
>
> example directorys of Tomcat5 are servlets-examples and jsp-examples, 
> so an examples directory will never be mapped.
>
> we build an installer which automates all steps at:
> http://www.shiftomat.com/opensource/
>
> hope this helps
>
> -- 
> Daniel Schmitt
> http://www.shiftomat.com




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


Mime
View raw message