Hi Jeff

Those lines belong in workers.properties not uriworkermap.properties

You can point it to the logs folder, but it's more of a virtual memory file. It is 
necessary though, to get tomcat to work with IIS, I have found.

Good luck!
  ----- Original Message ----- 
  From: Jeffrey Cummings 
  To: 'Tomcat Users List' 
  Sent: Tuesday, June 10, 2003 12:48 AM
  Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config



  Excuse my ignorance, but I am not sure which file these lines belong to. Is
  it the uriworkermap.properties file? What is shm.file a log file? Could I
  have the file parameter point to C:\Jakarta-4.1.24\logs\shm.file since all
  my log files are in that directory?

  Jeff


  -----Original Message-----
  From: Dominic Parry [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 1:52 PM
  To: Tomcat Users List
  Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config

  Hi

  Sure can, here is an examples of mine:

  # Define the communication channel
  [shm]
  file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file
  size=1048576

  [channel.socket:127.0.0.1:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*]
  info=Map the whole webapp

  [uri:/admin/*]

  [uri:/manager/*]

  [uri:/DynaServlet/*]

  [uri:/HamiltonBank/*]

  hope this helps.

  Dom
    ----- Original Message -----
    From: John Turner
    To: Tomcat Users List
    Sent: Monday, June 09, 2003 6:25 PM
    Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



    I'm pretty sure Jeffrey did...at least as far as I can tell.  Do you have
    some examples of the correct way?

    John

    On Mon, 9 Jun 2003 18:16:49 +0200, Dominic Parry <[EMAIL PROTECTED]>
    wrote:

    > you need to specify your uri's in workers.properties
    > ----- Original Message ----- From: John Turner To: Tomcat Users List
    > Sent: Monday, June 09, 2003 6:13 PM
    > Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config
    >
    >
    >
    > Sorry, I'm stumped, and I don't use IIS enough (hardly at all) to help
    > out with nitty gritty stuff.  Hopefully someone else has more insight.
    >
    > John
    >
    > On Mon, 9 Jun 2003 10:43:27 -0400, Jeffrey Cummings <[EMAIL PROTECTED]>
    > wrote:
    >
    > > Yes I did install the filter and it does have the green arrow.
    > > This as the log file, mod_jk_iis.log when I start IIS
    > > [jk_uri_worker_map.c (156)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_alloc
    > > [jk_uri_worker_map.c (196)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open
    > > [jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open,
    > > rule
    > > map size is 5
    > > [jk_uri_worker_map.c (267)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open,
    > > match rule /servlet/=ajp13 was added
    > > [jk_uri_worker_map.c (267)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open,
    > > match rule /examples/=ajp13 was added
    > > [jk_uri_worker_map.c (256)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open,
    > > suffix rule /examples/.jsp=ajp13 was added
    > > [jk_uri_worker_map.c (267)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open,
    > > match rule /examples/servlet/=ajp13 was added
    > > [jk_uri_worker_map.c (267)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open,
    > > match rule /admin/=ajp13 was added
    > > [jk_uri_worker_map.c (296)]: Into >
    > jk_uri_worker_map_t::uri_worker_map_open,
    > > there are 5 rules
    > > [jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open,
    > > done
    > > [jk_worker.c (82)]: Into wc_open
    > > [jk_worker.c (207)]: Into build_worker_map, creating 1 workers
    > > [jk_worker.c (213)]: build_worker_map, creating worker ajp13
    > > [jk_worker.c (138)]: Into wc_create_worker
    > > [jk_worker.c (152)]: wc_create_worker, about to create instance ajp13
    > of
    > > ajp13
    > > [jk_ajp13_worker.c (711)]: Into ajp23_worker_factory
    > > [jk_worker.c (161)]: wc_create_worker, about to validate and init
  ajp13
    > > [jk_ajp13_worker.c (386)]: Into jk_worker_t::validate
    > > [jk_ajp13_worker.c (399)]: In jk_worker_t::validate for worker ajp13 >
    > contact
    > > is localhost:8009
    > > [jk_ajp13_worker.c (425)]: Into jk_worker_t::init
    > > [jk_worker.c (177)]: wc_create_worker, done
    > > [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
    > > [jk_worker.c (235)]: build_worker_map, done
    > > [jk_worker.c (102)]: wc_open, done
    > >
    > >
    > > Jeff
    > >
    > >
    > > -----Original Message-----
    > > From: John Turner [mailto:[EMAIL PROTECTED]
    > > Sent: Monday, June 09, 2003 9:00 AM
    > > To: Tomcat Users List
    > > Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config
    > >
    > >
    > > Thanks.  Did you install the filter?
    > >
    > > AFAIK, this is the best tutorial on Tomcat + IIS:
    > >
    > > http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html
    > >
    > > John
    > >
    > > On Mon, 9 Jun 2003 08:42:40 -0400, Jeffrey Cummings <[EMAIL PROTECTED]> >
    > wrote:
    > >
    > >> Thanks for the help. There is the information request
    > >>
    > >> My worker.propqerties file is: -
    > >>
    > >> worker.list=ajp13
    > >> worker.ajp13.port=8009
    > >> worker.ajp13.host=localhost
    > >> worker.ajp13.type=ajp13
    > >>
    > >> my uriworkermap.properties file is:-
    > >>
    > >> /servlet/*=ajp13
    > >> /examples/*=ajp13
    > >> /examples/*.jsp=ajp13
    > >> /examples/servlet/*=ajp13
    > >> /admin/*=ajp13
    > >>
    > >> Jeff
    > >>
    > >>
    > >>
    > >> -----Original Message-----
    > >> From: John Turner [mailto:[EMAIL PROTECTED]
    > >> Sent: Monday, June 09, 2003 8:25 AM
    > >> To: Tomcat Users List
    > >> Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config
    > >>
    > >>
    > >> I don't use IIS, but:
    > >>
    > >> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting
  to
    > >> map
    > >> URI '/localhost/tomcat/isapi_redirect.dll'
    > >> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
    > >> jk_uri_worker_map_t::map_uri_to_worker, done without a match
    > >>
    > >> Looks to me like one of your properties files has a munged up URL
    > path.
    > >> You'll have to post them for us to know more.
    > >>
    > >> John
    > >>
    > >> On Sat, 7 Jun 2003 09:24:03 -0400, Jeffrey Cummings <[EMAIL PROTECTED]>
    > >> wrote:
    > >>
    > >>> I am trying to setup tomcat 4.1.24 with IIS. I get the following >>>
    > message
    > >>>
    > >>>
    > >>> HTTP Status 404 - /tomcat/isapi_redirect.dll
    > >>>
    > >>> _____
    > >>>
    > >>> type Status report
    > >>> message /tomcat/isapi_redirect.dll
    > >>> description The requested resource (/tomcat/isapi_redirect.dll) is
    > not
    > >>> available.
    > >>> _____
    > >>>
    > >>>
    > >>> Apache Tomcat/4.1.24
    > >>>
    > >>> My registry settings
    > >>> Name
    > >>> Data
    > >>> extension_uri
    > >>> /tomcat/isapi_redirector.dll
    > >>> worker_file
    > >>> C:\Jakarta-4.1.24\conf\workers.properties
    > >>> worker_mount_file
    > >>> C:\Jakarta-4.1.24\conf\uriworkermap.properties
    > >>> log_file
    > >>> C:\Jakarta-4.1.24\logs\mod_jk_iis.log
    > >>> log_level
    > >>> debug
    > >>>
    > >>> I have a virtual directory tomcat -> C:\Jakarta-4.1.24\conf
    > >>> (isapi_redirector.dll is in the conf directory)
    > >>> I've set up the filter in the default web site for tomcat ( it has a
    > >>> green
    > >>> arrow)
    > >>> I'm running XP (this is where I test then move to Win2K)
    > >>> By the way, http://localhost:8080/examples/jsp/index.html works fine
    > >>>
    > >>> Here is the isapi log when I make the request for
    > >>> http://localhost/examples/jsp/index.html
    > >>> [jk_isapi_plugin.c (408)]: HttpFilterProc started
    > >>> [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
    > >>> /examples/jsp/index.html
    > >>> [jk_uri_worker_map.c (345)]: Into >>>
    > jk_uri_worker_map_t::map_uri_to_worker
    > >>> [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker,
    > >>> Found a
    > >>> match ajp13
    > >>> [jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html]
    > is
    > >>> a
    > >>> servlet url - should redirect to ajp13
    > >>> [jk_isapi_plugin.c (461)]: HttpFilterProc check if
    > >>> [/examples/jsp/index.html] is points to the web-inf directory
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (766)]:
  HttpFilterProc
    > >>> started
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (829)]: In >>>
    > HttpFilterProc
    > >>> Virtual Host redirection of /localhost/tomcat/isapi_redirect.dll
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
    > >>> jk_uri_worker_map_t::map_uri_to_worker
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting
    > to
    > >>> map
    > >>> URI '/localhost/tomcat/isapi_redirect.dll'
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
    > >>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (835)]: In >>>
    > HttpFilterProc
    > >>> test Default redirection of /tomcat/isapi_redirect.dll
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
    > >>> jk_uri_worker_map_t::map_uri_to_worker
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting
    > to
    > >>> map
    > >>> URI '/tomcat/isapi_redirect.dll'
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
    > >>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (899)]:
  HttpFilterProc
    > >>> [/tomcat/isapi_redirect.dll] is not a servlet url
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (908)]:
  HttpFilterProc
    > >>> check
    > >>> if [/tomcat/isapi_redirect.dll] is points to the web-inf directory
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (948)]: >>>
    > HttpExtensionProc
    > >>> started
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_worker.c (132)]: Into
    > >>> wc_get_worker_for_name
    > >>> ajp13
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_worker.c (136)]: >>>
    > wc_get_worker_for_name,
    > >>> done  found a worker
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (983)]: >>>
    > HttpExtensionProc
    > >>> got
    > >>> a worker for name ajp13
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1404)]: Into
    > >>> jk_worker_t::get_endpoint
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1448)]: In
    > >>> jk_endpoint_t::ajp_get_endpoint, time elapsed since last request =
    > 497
    > >>> seconds
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1116)]: Into
    > >>> jk_endpoint_t::service
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (295)]: Into
    > >>> ajp_marshal_into_msgb
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (432)]:
    > >>> ajp_marshal_into_msgb -
    > >>> Done
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (642)]: sending to
  ajp13
    > >>> #314
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (884)]:
  ajp_send_request
    > >>> 2:
    > >>> request body to send 0 - request body to resend 0
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from
    > >>> ajp13
    > >>> #81
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (483)]:
    > >>> ajp_unmarshal_response:
    > >>> status = 404
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (488)]:
    > >>> ajp_unmarshal_response:
    > >>> Number of headers is = 2
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]:
    > >>> ajp_unmarshal_response:
    > >>> Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]:
    > >>> ajp_unmarshal_response:
    > >>> Header[1] [Content-Language] = [en-US]
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (432)]: Into
    > >>> jk_ws_service_t::start_response
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from
    > >>> ajp13
    > >>> #747
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (566)]: Into
    > >>> jk_ws_service_t::write
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from
    > >>> ajp13
    > >>> #2
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (995)]: >>>
    > HttpExtensionProc
    > >>> service() returned OK
    > >>> [Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1382)]: Into
    > >>> jk_endpoint_t::done, recycling connection
    > >>>
    > >>> What have I missed?
    > >>>
    > >>>
    > >>> Jeff
    > >>>
    > >>>
    > >>>
    > >>
    > >>
    > >>
    > >> --
    > >> Using M2, Opera's revolutionary e-mail client:
    > http://www.opera.com/m2/
    > >>
    > >> ---------------------------------------------------------------------
    > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
    > >> For additional commands, e-mail: [EMAIL PROTECTED]
    > >>
    > >>
    > >> ---------------------------------------------------------------------
    > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
    > >> For additional commands, e-mail: [EMAIL PROTECTED]
    > >>
    > >>
    > >
    > >
    > >
    > > --
    > > Using M2, Opera's revolutionary e-mail client:
  http://www.opera.com/m2/
    > >
    > > ---------------------------------------------------------------------
    > > To unsubscribe, e-mail: [EMAIL PROTECTED]
    > > For additional commands, e-mail: [EMAIL PROTECTED]
    > >
    > >
    > > ---------------------------------------------------------------------
    > > To unsubscribe, e-mail: [EMAIL PROTECTED]
    > > For additional commands, e-mail: [EMAIL PROTECTED]
    > >
    > >
    >
    >
    >
    > -- Using M2, Opera's revolutionary e-mail client:
    > http://www.opera.com/m2/
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: [EMAIL PROTECTED]
    > For additional commands, e-mail: [EMAIL PROTECTED]
    >
    >



    --
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    For additional commands, e-mail: [EMAIL PROTECTED]


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to