The uriworkermap.properties has the following format:

-----------------------------------------------------
#
# Default worker to be used through our mappings
#
default.worker=ajp13

#
# Sites to be redirected to Tomcat
#

/example=$(default.worker)
/example/*=$(default.worker)
-----------------------------------------------------

If "example" was a directory located under webapps, then
this would define what IIS would redirect to Tomcat for
processing.

As for server.xml, there is something that looks like this:

-----------------------------------------------------
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009"
minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>




-----Original Message-----
From: Scott Adamson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 1:27 PM
To: Tomcat Users List
Subject: Re: can't get tomat working with IIS


What is required in uriworkermap.properties ? No, I haven't modified this
file. I can't find any reference to 'ajp13' in server.xml, what is meant to
be there ?


----- Original Message -----
From: "Pavel Brun" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, February 03, 2002 5:15 PM
Subject: RE: can't get tomat working with IIS


> Did you add the appropriate directories to uriworkermap.properties?
>
> Also, did you uncomment the reference to the ajp13 connector in
server.xml?
>
> I am also running Windows 2K IIS and Tomcat and they both work well.
>
> Thanks
> PAul
>
> -----Original Message-----
> From: Scott Adamson [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 02, 2002 1:00 PM
> To: [EMAIL PROTECTED]
> Subject: can't get tomat working with IIS
>
>
> I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has
loaded
> correctly (green arrow) but still nothing. Works fine with 8080. I have
> checked the iis_redirect.log - it generates -
>
> [Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (555)]: HttpFilterProc
> started
> [Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (600)]: In HttpFilterProc
> Virtual Host redirection of /localhost/examples/jsp/index.html
> [Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (351)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
> URI '/localhost/examples/jsp/index.html'
> [Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (456)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
> test Default redirection of /examples/jsp/index.html
> [Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (351)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
> URI '/examples/jsp/index.html'
> [Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (391)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
> /examples/
> [Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (625)]: HttpFilterProc
> [/examples/jsp/index.html] is a servlet url - should redirect to ajp13
> [Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc
check
> if [/examples/jsp/index.html] is points to the web-inf directory
>
>
> every request. I have read that the existance of the line 'In
HttpFilterProc
> Virtual Host redirection of /localhost/examples/jsp/index.html'
> indicates that the 'Filter DLLs' registry key is incorrectly set (as this
is
> a W2K server). But I have NOT set this, and I can't find anything like it
in
> the registry.
>
>
> As previously mentioned I'm running Tomcat4.0 on Windows 2000 server, I
> don't know what version of IIS - can't find this information, don't know
> which stinkin GUI panel will show this. Any help or advice anyone can
offer
> would be much appreciated, as I have been thru all the docos and have
> searched the web. I have included my settings below.
>
> Thanks,
> Scott.
>
>
>
> Tomcat
> worker.properties -
>
>
> # ************ Begin worker.properties **************
> 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
>
> #
> #------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
> #---------------------------------------------------------------------
> #
>
> #
> # The loadbalancer (type lb) worker perform weighted round-robin
> # load balancing with sticky sessions.
> # Note:
> #  ----> If a worker dies, the load balancer will check its state
> #        once in a while. Until then all work is redirected to peer
> #        worker.
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
>
> #
> # worker.tomcat_home should point to the location where you
> # installed tomcat. This is where you have your conf, webapps and lib
> # directories.
> #
> worker.tomcat_home=D:\Apache Tomcat 4.0
>
> #
> # worker.java_home should point to your Java installation. Normally
> # you should have a bin and lib directories beneath it.
> #
> worker.java_home=D:\jdk1.3.1_01
>
> #
> # You should configure your environment slash... ps=\ on NT and / on UNIX
> # and maybe something different elsewhere.
> #
> ps=\
>
> #
> #------ ADVANCED MODE ------------------------------------------------
> #---------------------------------------------------------------------
> #
>
> #
> #------ DEFAULT worker list ------------------------------------------
> #---------------------------------------------------------------------
> #
> # The worker that your plugins should create and work with
> worker.list=ajp13
>
> #
> #------ 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
>
> # ************ End worker.properties **************
>
> Note : no other Tomcat files have been modified
>
> registry -
>
> REGEDIT4
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector\1.0]
> "extension_uri"="/jakarta/isapi_redirect.dll"
> "log_file"="D:\\Apache Tomcat 4.0\\logs\\iis_redirect.log"
> "log_level"="info"
> "worker_file"="D:\\Apache Tomcat 4.0\\conf\\worker.properties"
> "worker_mount_file"="D:\\Apache Tomcat 4.0\\conf\\uriworkermap.properties"
>
> IIS -
>
> - virtual directory "jakarta" points to d:\Apache Tomcat 4.0\bin\
> - isapi redirector loaded successfully (green arrow) from d:\Apache Tomcat
> 4.0\bin\isapi_redirect.dll
>
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to