follow the guidelines in http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm
modify your code from: # # Sites to be redirected to Tomcat # /193.99.41.1=$(default.worker) /193.99.41.1/*=$(default.worker) to: /*.jsp=$(default.worker) check out above link. Rao >>> "Sebastian Leppert" <[EMAIL PROTECTED]> 07/11/02 08:42AM >>> Hi everybody, I've just installed a new Webserver with IIS5.0 and now would like to add support to Servlets and JSP on that Server (all operations should go through the IIS). I've followed the HowTo at: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ Everything is fine (I can use the JSPs with :8080-extension in the URL, but when I try to use it with the Redirector over ajp13 there is an HTTP 500 error. Then I've set the Redirect Loglevel to "debug" und the Request looks like this: ------- [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc started [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of /193.99.41.111/index.jsp [Thu Jul 11 14:31:36 2002] [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Jul 11 14:31:36 2002] [jk_uri_worker_map.c (464)]: Attempting to map URI '/193.99.41.111/index.jsp' [Thu Jul 11 14:31:36 2002] [jk_uri_worker_map.c (489)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /193.99.41.111/ [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (721)]: HttpFilterProc [/index.jsp] is a servlet url - should redirect to ajp13 [Thu Jul 11 14:31:36 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/index.jsp] is points to the web-inf directory ---- So, in my opinion the Redirector operates fine! The next question is about the worker.properties: ---- #------ DEFAULT worket list ------------------------------------------ #--------------------------------------------------------------------- # # # The workers that your plugins should create and work with # # Add 'inprocess' if you want JNI connector worker.list=ajp12, ajp13 # , inprocess # #------ DEFAULT ajp12 WORKER DEFINITION ------------------------------ #--------------------------------------------------------------------- # # # Defining a worker named ajp12 and of type ajp12 # Note that the name and the type do not have to match. # worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 # # Specifies the load balance factor when used with # a load balancing worker. # Note: # ----> lbfactor must be > 0 # ----> Low lbfactor means less work done by the worker. worker.ajp12.lbfactor=1 # #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------ #--------------------------------------------------------------------- # # # Defining a worker named ajp13 and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # # Specifies the load balance factor when used with # a load balancing worker. # Note: # ----> lbfactor must be > 0 # ----> Low lbfactor means less work done by the worker. worker.ajp13.lbfactor=1 # # Specify the size of the open connection cache. #worker.ajp13.cachesize ----- Seems to me very well, too! So, habe a look at the uriworkermap.properties: ------ # # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /193.99.41.1=$(default.worker) /193.99.41.1/*=$(default.worker) ----- IP is not the real one :) My ROOT-Directory for my Testwebsite (with an index.jsp in it) is on: d:\webs\ingcom.de\data So I put the following <HOST>-Part into server.xml: ------ <Host name="193.99.41.1" reloadable="true" unpackWARs="true"> <Context path="" docBase="D:\webs\ingcom.de\data" crossContext="false" debug="0" reloadable="true" /> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="test.de." suffix=".log" timestamp="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="test.de.access." suffix=".log" pattern="common"/> </Host> ----- What is wrong? Why can I get over Port 8080 with the HTTP-Connector the JSP Page and the the ajp13-Connector I get nothing????? Kind regards :) S e b a s t i a n L e p p e r t -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
