You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Scott Adamson <sc...@upe.com.au> on 2002/02/02 19:00:12 UTC

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




RE: can't get tomat working with IIS

Posted by Pavel Brun <pa...@sympatico.ca>.
Just to confirm, when you right click on the "iis_redirect.reg" file, you
should
see the option to "merge". When you do that, you should see six entries in:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0

If those entries are not there, then, you wouldn't be able to properly
redirect.
However, it does sound strange that the registry changes didn't take affect.

Interesting, please let me know if this works out.

Paul


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: can't get tomat working with IIS (complete email...earlier one was incomplete)

Posted by Scott Adamson <sc...@upe.com.au>.
Yes, the virtual directory 'jakarta' is set with execute permissions for
'Scripts and Executables'. I could not get the reg file to work, I double
clicked, it tells me it worked, but no registry changes are made, so I
manually created the registry entry. I have not registered this reg file.
----- Original Message -----
From: "Pavel Brun" <pa...@sympatico.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, February 04, 2002 1:08 AM
Subject: RE: can't get tomat working with IIS (complete email...earlier one
was incomplete)


> Is the IIS virtual directory set to "execute (with scripts)" mode?
> Did you register your iisredirect.reg file? Also, did you load your
> redirector at the level of your "computer name" in the Internet
> Information Services area?
>
> Could you send me screen captures of your settings? You can send it
> to my email address if you wish...
>
> Thanks
>
> Paul
>
> -----Original Message-----
> From: Scott Adamson [mailto:scottadamson@upe.com.au]
> Sent: Saturday, February 02, 2002 4:55 PM
> To: Tomcat Users List
> Subject: Re: can't get tomat working with IIS (complete email...earlier
> one was incomplete)
>
>
> I have tried this uriworkermap.properties file, but it made no difference.
I
> have setup the 'jakarta' virtual directory under the default web site, is
> there anythng else required with IIS ? I've set the website & IIS to allow
> anonymous access. I have only modified worker.properties & servlet.xml, is
> there anything else that needs to be done thats NOT mentioned in the
> official HOWTO?(no mention of modifying server.xml).  I suspect the
> following log file entries may have something to do with it -
>
> [Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
> test Default redirection of /examples/
> [Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (351)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
> URI '/examples/'
> [Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (456)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (638)]: HttpFilterProc
> [/examples/] is not a servlet url
> [Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc
check
> if [/examples/] is points to the web-inf directory
>
>
> some problem not mapping to the directory 'example', but it is in the
> standard place under webapps. Are there any permissions that need to be
set
> with the /examples directory ?
>
> ----- Original Message -----
> From: "Pavel Brun" <pa...@sympatico.ca>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Sunday, February 03, 2002 5:30 PM
> Subject: RE: can't get tomat working with IIS (complete email...earlier
one
> was incomplete)
>
>
> > woops....sent it prematurely..... :-)
> >
> >
> > 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"/>
>
> --------------------------------------------------------------------------
> >
> >
> > Hope this helps....any questions, just shout...
> >
> > Paul
> >
> >
> > -----Original Message-----
> > From: Scott Adamson [mailto:scottadamson@upe.com.au]
> > 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" <pa...@sympatico.ca>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > 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:scottadamson@upe.com.au]
> > > Sent: Saturday, February 02, 2002 1:00 PM
> > > To: tomcat-user@jakarta.apache.org
> > > 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:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: can't get tomat working with IIS (complete email...earlier one was incomplete)

Posted by Pavel Brun <pa...@sympatico.ca>.
Is the IIS virtual directory set to "execute (with scripts)" mode?
Did you register your iisredirect.reg file? Also, did you load your
redirector at the level of your "computer name" in the Internet
Information Services area?

Could you send me screen captures of your settings? You can send it
to my email address if you wish...

Thanks

Paul

-----Original Message-----
From: Scott Adamson [mailto:scottadamson@upe.com.au]
Sent: Saturday, February 02, 2002 4:55 PM
To: Tomcat Users List
Subject: Re: can't get tomat working with IIS (complete email...earlier
one was incomplete)


I have tried this uriworkermap.properties file, but it made no difference. I
have setup the 'jakarta' virtual directory under the default web site, is
there anythng else required with IIS ? I've set the website & IIS to allow
anonymous access. I have only modified worker.properties & servlet.xml, is
there anything else that needs to be done thats NOT mentioned in the
official HOWTO?(no mention of modifying server.xml).  I suspect the
following log file entries may have something to do with it -

[Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/
[Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/'
[Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (638)]: HttpFilterProc
[/examples/] is not a servlet url
[Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc check
if [/examples/] is points to the web-inf directory


some problem not mapping to the directory 'example', but it is in the
standard place under webapps. Are there any permissions that need to be set
with the /examples directory ?

----- Original Message -----
From: "Pavel Brun" <pa...@sympatico.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Sunday, February 03, 2002 5:30 PM
Subject: RE: can't get tomat working with IIS (complete email...earlier one
was incomplete)


> woops....sent it prematurely..... :-)
>
>
> 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"/>
> --------------------------------------------------------------------------
>
>
> Hope this helps....any questions, just shout...
>
> Paul
>
>
> -----Original Message-----
> From: Scott Adamson [mailto:scottadamson@upe.com.au]
> 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" <pa...@sympatico.ca>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> 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:scottadamson@upe.com.au]
> > Sent: Saturday, February 02, 2002 1:00 PM
> > To: tomcat-user@jakarta.apache.org
> > 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:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: can't get tomat working with IIS (complete email...earlier one was incomplete)

Posted by Scott Adamson <sc...@upe.com.au>.
I have tried this uriworkermap.properties file, but it made no difference. I
have setup the 'jakarta' virtual directory under the default web site, is
there anythng else required with IIS ? I've set the website & IIS to allow
anonymous access. I have only modified worker.properties & servlet.xml, is
there anything else that needs to be done thats NOT mentioned in the
official HOWTO?(no mention of modifying server.xml).  I suspect the
following log file entries may have something to do with it -

[Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/
[Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/'
[Sun Feb 03 08:39:10 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (638)]: HttpFilterProc
[/examples/] is not a servlet url
[Sun Feb 03 08:39:10 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc check
if [/examples/] is points to the web-inf directory


some problem not mapping to the directory 'example', but it is in the
standard place under webapps. Are there any permissions that need to be set
with the /examples directory ?

----- Original Message -----
From: "Pavel Brun" <pa...@sympatico.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Sunday, February 03, 2002 5:30 PM
Subject: RE: can't get tomat working with IIS (complete email...earlier one
was incomplete)


> woops....sent it prematurely..... :-)
>
>
> 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"/>
> --------------------------------------------------------------------------
>
>
> Hope this helps....any questions, just shout...
>
> Paul
>
>
> -----Original Message-----
> From: Scott Adamson [mailto:scottadamson@upe.com.au]
> 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" <pa...@sympatico.ca>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> 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:scottadamson@upe.com.au]
> > Sent: Saturday, February 02, 2002 1:00 PM
> > To: tomcat-user@jakarta.apache.org
> > 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:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: can't get tomat working with IIS (complete email...earlier one was incomplete)

Posted by Pavel Brun <pa...@sympatico.ca>.
woops....sent it prematurely..... :-)


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"/>
--------------------------------------------------------------------------


Hope this helps....any questions, just shout...

Paul


-----Original Message-----
From: Scott Adamson [mailto:scottadamson@upe.com.au]
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" <pa...@sympatico.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:scottadamson@upe.com.au]
> Sent: Saturday, February 02, 2002 1:00 PM
> To: tomcat-user@jakarta.apache.org
> 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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: can't get tomat working with IIS

Posted by Pavel Brun <pa...@sympatico.ca>.
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:scottadamson@upe.com.au]
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" <pa...@sympatico.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:scottadamson@upe.com.au]
> Sent: Saturday, February 02, 2002 1:00 PM
> To: tomcat-user@jakarta.apache.org
> 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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: can't get tomat working with IIS

Posted by Scott Adamson <sc...@upe.com.au>.
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" <pa...@sympatico.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:scottadamson@upe.com.au]
> Sent: Saturday, February 02, 2002 1:00 PM
> To: tomcat-user@jakarta.apache.org
> 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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: can't get tomat working with IIS

Posted by Mark Eggers <it...@yahoo.com>.
Did you also create a virtual directory for IIS?

I am running IIS, Tomcat, Cocoon, Jetspeed, and the
Turbine development kit on Win/2K professional
(laptop) along with Perl, PHP, and MySQL.

Of course the laptop is pretty loaded, but it all
works and I have a portable development environment /
web site.

/mde/

--- Pavel Brun <pa...@sympatico.ca> wrote:
> 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:scottadamson@upe.com.au]
> Sent: Saturday, February 02, 2002 1:00 PM
> To: tomcat-user@jakarta.apache.org
> 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"
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: can't get tomat working with IIS

Posted by Pavel Brun <pa...@sympatico.ca>.
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:scottadamson@upe.com.au]
Sent: Saturday, February 02, 2002 1:00 PM
To: tomcat-user@jakarta.apache.org
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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>