You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gunes Agar <ga...@spd.com.tr> on 2002/09/30 15:33:55 UTC

iis-tomcat integration problem

Hi,

I am trying to integrate iis with tomcat. I get the isapi filter's green
arrow. I see that jsps are working at 8080
but when i try to run jsps from 80 it gives error 404

I defined the registry settings

EXTENSION_URI:  \JAKARTA\ISAPI_REDIRECT.DLL
LOG_FILE : C:\TOMCAT\LOGS\ISAPI.LOG
LOG_LEVEL : DEBUG
WORKER_FILE : C:\TOMCAT\CONF\JK\WORKERS.PROPERTIES
WORKER_MOUNT_FILE  :C:\TOMCAT\CONF\JK\URIWORKERMAP.PROPERTIES

I am also using the appropriate version of isapi_redirect.dll  ( for tomcat
3.3)

isapi log file includes this:

[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /localhost/examples/jsp/index.html
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/localhost/examples/jsp/index.html'
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/jsp/index.html
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/jsp/index.html'
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp12 ->
/examples/
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (625)]: HttpFilterProc
[/examples/jsp/index.html] is a servlet url - should redirect to ajp12
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc check
if [/examples/jsp/index.html] is points to the web-inf directory

workers.properties file is like this:(I changed java home path)

workers.tomcat_home=c:\tomcat
# workers.tomcat_home=/usr/local/tomcat

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
#workers.java_home=c:\jdk1.3
workers.java_home=c:\j2sdk1.4.0
# workers.java_home=/usr/java


Thanks in advance,

Gunes


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: iis-tomcat integration problem

Posted by Miguel Angel Mulero Martinez <mi...@mad.tecsidel.es>.
In my workers.properties I define a worker:

# Workers list
worker.list=miajp

# Workers conf
worker.miajp.type=ajp13
worker.miajp.port=8009
worker.miajp.host=localhost

I don't see in your file something like this.

Regards.

-----Mensaje original-----
De: Gunes Agar [mailto:gagar@spd.com.tr]
Enviado el: lunes, 30 de septiembre de 2002 15:34
Para: 'tomcat-user@jakarta.apache.org'
Asunto: iis-tomcat integration problem

Hi,

I am trying to integrate iis with tomcat. I get the isapi filter's green
arrow. I see that jsps are working at 8080
but when i try to run jsps from 80 it gives error 404

I defined the registry settings

EXTENSION_URI:  \JAKARTA\ISAPI_REDIRECT.DLL
LOG_FILE : C:\TOMCAT\LOGS\ISAPI.LOG
LOG_LEVEL : DEBUG
WORKER_FILE : C:\TOMCAT\CONF\JK\WORKERS.PROPERTIES
WORKER_MOUNT_FILE  :C:\TOMCAT\CONF\JK\URIWORKERMAP.PROPERTIES

I am also using the appropriate version of isapi_redirect.dll  ( for tomcat
3.3)

isapi log file includes this:

[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /localhost/examples/jsp/index.html
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/localhost/examples/jsp/index.html'
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/jsp/index.html
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/jsp/index.html'
[Mon Sep 30 14:53:51 2002]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp12 ->
/examples/
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (625)]: HttpFilterProc
[/examples/jsp/index.html] is a servlet url - should redirect to ajp12
[Mon Sep 30 14:53:51 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc check
if [/examples/jsp/index.html] is points to the web-inf directory

workers.properties file is like this:(I changed java home path)

workers.tomcat_home=c:\tomcat
# workers.tomcat_home=/usr/local/tomcat

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
#workers.java_home=c:\jdk1.3
workers.java_home=c:\j2sdk1.4.0
# workers.java_home=/usr/java


Thanks in advance,

Gunes


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>