You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ricardo Maciel <rm...@dglnet.com.br> on 2000/06/23 22:29:06 UTC
IIS5 and Tomcat - Please Help!
I have been fighting this issue for 3 weeks now. I read all the messages in
the group about the issue and couldn't find a clue yet. Please give me some
help! if my protocol addressing the group is wrong, please tell me - I will
follow all recommendations! If this is not the right place, can you give me
a direction?
I can't get IIS to redirect to Tomcat. localhost (IIS) works fine and
localhost:8080 (Tomcat) too.
In the examples context, localhost:8080/examples/jsp/, for instance, works
OK, and all examples also work. However, localhost/examples/jsp/ gets only
HTTP 404 error.
I followed the instructions in tomcat-iis-howto.html and checked numerous
times for mistakes in typing in the registry and directories.
My configuration is Windows 2000 Professional, IIS5
Registry:
---------
HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software Foundation/Jakarta Isapi
Redirector/1.0
extension_uri:REG_SZ:/jakarta/isapi_redirect.dll
log_file:REG_SZ:C:\tomcat\logs\isapi.log
log_level:REG_SZ:debug
worker_file:REG_SZ:C:\tomcat\conf\workers.properties
worker_mount_file:REG_SZ:C:\tomcat\conf\uriworkermap.properties
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters/Fi
lter DLLs
jakarta:REG_SZ:C:\tomcat\bin\i386\iis\isapi_redirect.dll
(Since this Filter DLLs was not in the registry and the instructions are
not categoric I also tried without this folder, with the same results)
IIS:
----
virtual directory: alias=jakarta ; directory=C:\tomcat\bin\i386\iis ;
Execute Permissions=Scripts and Executables
ISAPI filter: name=jakarta ;
executable=C:\tomcat\bin\i386\iis\isapi_redirect.dll ; status=loaded
(green uparrow)
log file fragment:
#Date: 2000-06-23 19:54:32
#Fields: date time c-ip s-computername s-ip s-port cs-method cs-uri-stem
sc-status
2000-06-23 19:54:32 127.0.0.1 RMACIEL-HO 127.0.0.1 80 GET
/jakarta/isapi_redirect.dll+ 404
Tomcat:
-------
TOMCAT_HOME=C:\tomcat
files: isapi_redirect.dll C:\tomcat\bin\i386\iis (96KB) - downloaded
from jakarta
workers.properties C:\tomcat\conf - default file, matches
howto document
uriworkermap.properties C:\tomcat\conf - default file, matches
howto document
log file fragment:
[jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open, done
with NULL
[jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
/examples/jsp
[jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done
with ajp12
[jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp should redirect
to ajp12
[jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
/examples/jsp
[jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done
with ajp12
[jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp should redirect
to ajp12
[jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
/examples/jsp
Thanks!
Ricardo Maciel
+55 19 255 1778
rmaciel@dglnet.com.br
Re: IIS5 and Tomcat - Please Help!
Posted by Bob & Val Tobin <rv...@home.com>.
I don't know if this will help, but I saw a reference to a 404 error with an
explanation of what it means in the Tomcat FAQ. I don't know if it is the
exact error you are referring to, or if you've already read this FAQ and it
didn't help, but try this URL if you haven't already.
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/faq
It says there are five possible reasons for this error.
Val
----- Original Message -----
From: Ricardo Maciel <rm...@dglnet.com.br>
To: <to...@jakarta.apache.org>
Sent: Friday, June 23, 2000 4:29 PM
Subject: IIS5 and Tomcat - Please Help!
> I have been fighting this issue for 3 weeks now. I read all the messages
in
> the group about the issue and couldn't find a clue yet. Please give me
some
> help! if my protocol addressing the group is wrong, please tell me - I
will
> follow all recommendations! If this is not the right place, can you give
me
> a direction?
>
> I can't get IIS to redirect to Tomcat. localhost (IIS) works fine and
> localhost:8080 (Tomcat) too.
> In the examples context, localhost:8080/examples/jsp/, for instance, works
> OK, and all examples also work. However, localhost/examples/jsp/ gets only
> HTTP 404 error.
>
> I followed the instructions in tomcat-iis-howto.html and checked numerous
> times for mistakes in typing in the registry and directories.
>
> My configuration is Windows 2000 Professional, IIS5
>
> Registry:
> ---------
> HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software Foundation/Jakarta Isapi
> Redirector/1.0
> extension_uri:REG_SZ:/jakarta/isapi_redirect.dll
> log_file:REG_SZ:C:\tomcat\logs\isapi.log
> log_level:REG_SZ:debug
> worker_file:REG_SZ:C:\tomcat\conf\workers.properties
> worker_mount_file:REG_SZ:C:\tomcat\conf\uriworkermap.properties
>
> HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters/Fi
> lter DLLs
> jakarta:REG_SZ:C:\tomcat\bin\i386\iis\isapi_redirect.dll
> (Since this Filter DLLs was not in the registry and the instructions are
> not categoric I also tried without this folder, with the same results)
>
> IIS:
> ----
> virtual directory: alias=jakarta ; directory=C:\tomcat\bin\i386\iis ;
> Execute Permissions=Scripts and Executables
> ISAPI filter: name=jakarta ;
> executable=C:\tomcat\bin\i386\iis\isapi_redirect.dll ; status=loaded
> (green uparrow)
> log file fragment:
> #Date: 2000-06-23 19:54:32
> #Fields: date time c-ip s-computername s-ip s-port cs-method cs-uri-stem
> sc-status
> 2000-06-23 19:54:32 127.0.0.1 RMACIEL-HO 127.0.0.1 80 GET
> /jakarta/isapi_redirect.dll+ 404
>
> Tomcat:
> -------
> TOMCAT_HOME=C:\tomcat
> files: isapi_redirect.dll C:\tomcat\bin\i386\iis (96KB) - downloaded
> from jakarta
> workers.properties C:\tomcat\conf - default file, matches
> howto document
> uriworkermap.properties C:\tomcat\conf - default file, matches
> howto document
> log file fragment:
> [jk_uri_worker_map.c (346)]: jk_uri_worker_map_t::uri_worker_map_open,
done
> with NULL
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
> /examples/jsp
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open,
done
> with ajp12
> [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp should redirect
> to ajp12
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
> /examples/jsp
> [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open,
done
> with ajp12
> [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp should redirect
> to ajp12
> [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of
> /examples/jsp
>
>
>
> Thanks!
>
> Ricardo Maciel
> +55 19 255 1778
> rmaciel@dglnet.com.br
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>
Re: IIS5 and Tomcat - Please Help!
Posted by Sven van 't Veer <sv...@vip.br>.
> However, localhost/examples/jsp/ gets only
> HTTP 404 error.
>
> I followed the instructions in tomcat-iis-howto.html and checked numerous
> times for mistakes in typing in the registry and directories.
>
The 404 error, does it show something like ClassNotFound /sun/../../Main
? in that case, Tomcat is not able to find tools.jar
path/to/jdk/lib/tools.jar should be in the tomcat classpath. Add the
line:
set CLASSPATH=%CLASSPATH%;d:\jdk1.3\lib\tools.jar
to the tomcat.bat where the classpath is created.
sven