RE: Having a problem with IIS and Tomcat 4.1.24 config (solved)

2003-07-04 Thread Timothée Pourbaix
Hello Jeff,

I read carrefully the post about your problem and I'm happy that it's
solved.
In fact, you just applied another configuration (jk2) between Tomcat and IIS
and did not solved your initial config.
So, for your info, here is how to solve it:

You missed to create the Virtual Directory in IIS. If you refer to
http://www.onjava.com/lpt/a/2829, it is described in steps 4.6 to 4.10.
In the log you provided in your first post, we could see the connector
trying to find 'tomcat' virtual host:
[Sat Jun 07 09:18:40 2003] [jk_uri_worker_map.c (477)]: Attempting to map
URI '/tomcat/isapi_redirect.dll'

That's it!

Timothée Pourbaix

e-Market Architects
Phone:  +32 (0)3 225 34 50
Fax:+32 (0)3 231 01 55
Mobile: +32 (0)473 340 420


e-Mail: [EMAIL PROTECTED]
Web:www.e-MarketArchitects.com


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



RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-11 Thread David Legg
Jeff,

I downloaded the JK2 binary from: -

 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/bin/win32/

and installed it from the JK2 quick start guide at: -

 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/confi
ghowto.html

However, the only problem I found was the binaries don't come with any
sample configuration files and the JK2 quick start web page mentioned above
makes no reference to the [shm] entry you MUST add to the
workers2.properties file to make it all work.   This is where Dom came to my
rescue by posting his working config files.  So in the spirit of this mail
list here are my working settings: -

jk2.properties 

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# The default port is 8009 but you can use another one
channelSocket.port=8009

# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess


workers2.properties ---

[shm]
file=C:\tomcat4\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



Hope that helps.


David Legg
Webmaster - 3Dlabs
Phone: +44 (0)118 982 8254
http://www.3dlabs.com
mailto:[EMAIL PROTECTED]



-Original Message-
From: Jeff Cummings [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 00:18
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config


Thanks Dav,
That being said - where do I get isapi_redirector2.dll, documentation and
examples of jk2.properties
 workers2.properties files.


Jeff



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



RE: Having a problem with IIS and Tomcat 4.1.24 config (solved)

2003-06-11 Thread Jeff Cummings
Thanks to all. I got things working. I created the registry entries as set
out by
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/insta
llhowto.html . Thanks again.


Jeff


-Original Message-
From: Jeff Cummings [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 7:18 PM
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config

Thanks Dav,
That being said - where do I get isapi_redirector2.dll, documentation and
examples of jk2.properties
 workers2.properties files.


Jeff


-Original Message-
From: David Legg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 4:42 AM
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config

Hi Jeff,

What you need to be aware of (and this took a while to sink in for me) is
there are at least two different connectors out there; JK1 and JK2.  Each
has a different set of files associated with it and the formats are
different too.

JK1 used the following files: -

  uriworkermap.properties
  workers.properties
  isapi_redirector.dll (or isapi_redirect.dll depending which version you
used)

JK2 uses the following files: -

  jk2.properties
  workers2.properties
  isapi_redirector2.dll

So if you are talking about uriworkermap.properties you are probably trying
to use the JK1 connector.  I used JK1 with Tomcat 4.0.3 but I believe you
are supposed to use JK2 for Tomcat 4.1.24.

Dom is right about that shm file entry though in the JK2 file.  The JK2
connector won't work unless you include the entry in the workers2.properties
file.

David Legg
Webmaster - 3Dlabs



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


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 
 

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-10 Thread Dominic Parry
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 

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-10 Thread David Legg
Hi Jeff,

What you need to be aware of (and this took a while to sink in for me) is
there are at least two different connectors out there; JK1 and JK2.  Each
has a different set of files associated with it and the formats are
different too.

JK1 used the following files: -

  uriworkermap.properties
  workers.properties
  isapi_redirector.dll (or isapi_redirect.dll depending which version you
used)

JK2 uses the following files: -

  jk2.properties
  workers2.properties
  isapi_redirector2.dll

So if you are talking about uriworkermap.properties you are probably trying
to use the JK1 connector.  I used JK1 with Tomcat 4.0.3 but I believe you
are supposed to use JK2 for Tomcat 4.1.24.

Dom is right about that shm file entry though in the JK2 file.  The JK2
connector won't work unless you include the entry in the workers2.properties
file.

David Legg
Webmaster - 3Dlabs



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


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
  

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-10 Thread Jeff Cummings
Thanks Dav,
That being said - where do I get isapi_redirector2.dll, documentation and
examples of jk2.properties
 workers2.properties files.


Jeff


-Original Message-
From: David Legg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 4:42 AM
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config

Hi Jeff,

What you need to be aware of (and this took a while to sink in for me) is
there are at least two different connectors out there; JK1 and JK2.  Each
has a different set of files associated with it and the formats are
different too.

JK1 used the following files: -

  uriworkermap.properties
  workers.properties
  isapi_redirector.dll (or isapi_redirect.dll depending which version you
used)

JK2 uses the following files: -

  jk2.properties
  workers2.properties
  isapi_redirector2.dll

So if you are talking about uriworkermap.properties you are probably trying
to use the JK1 connector.  I used JK1 with Tomcat 4.0.3 but I believe you
are supposed to use JK2 for Tomcat 4.1.24.

Dom is right about that shm file entry though in the JK2 file.  The JK2
connector won't work unless you include the entry in the workers2.properties
file.

David Legg
Webmaster - 3Dlabs



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


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)]:

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
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)
Ive set up the filter in the default web site for tomcat ( it has a 
green
arrow)
Im 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)]: 

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Jeffrey Cummings
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)]:
 

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
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 

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Jeffrey Cummings
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]  

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
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] 

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Dominic Parry
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 

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
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 

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Dominic Parry
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.
 

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
Thanks!  Jeffrey, does this help?

John

On Mon, 9 Jun 2003 19:51:39 +0200, Dominic Parry [EMAIL PROTECTED] 
wrote:

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 

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Jeffrey Cummings

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