Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: Tomcat/IIS redirection


Message #1 by einarwh@h... on Wed, 8 Aug 2001 22:06:02
Hi, I'm trying to integrate Tomcat with IIS. It works fine for the Tomcat 
examples, say, http://localhost/examples/jsp/index.html. But I can't get 
it to work with the examples in Professional Java Server Programming 
(Chapters 7-9) (Note that they work just fine with http://localhost:8080). 

I've added this entry to the server.xml file in %TOMCAT_HOME%\conf:

<Context path="/Greeting" docBase="C:\ServerBase\servlets\GreetingServlet">
</Context>

In the uriworkermap.properties file, I added this line:

/Greeting/*=ajp12

Typing http://localhost/Greeting in my web browser gives me a 404 error,
and this message in my isapi.log file (set to debug):

[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /Greeting
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done 
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Greeting] is not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Greeting] is points 
to the web-inf directory

Apparently, the filter can't resolve /Greeting correctly. Any help would 
be greatly appreciated.

  Return to Index