Discussion:
Desperate for help with isapi_redirect.dll
David Thielen
2006-02-01 16:34:52 UTC
Permalink
Hi;



Is there anyone on this list that know isapi_redirect? I have this bad
feeling that there is only 1 person who knows this code (the one who wrote
it) and that he/she is not on this list. If I have to pay for support that's
fine but I really need to get this answered (or we'll be forced to switch to
WebLogic and that's a giant PITA).

1. Where is the latest isapi_redirect.dll & documentation? (There are
several of both on the apache website and it's not clear which is the most
recent. What I thought was the most recent documentation has dead links so
I'm guessing that is not it.)
2. When demo.faces is requested from my website, it is displayed in the
IIS logfile. On a submit of that form demo_license.faces is requested and
watching the http requests, a request is sent to IIS for demo_license.faces.
However, that request is never displayed in the IIS logfile.
(demo_license.faces does have a link to windward.css and the IIS logfile
does show that request and shows demo_license.faces as the page requesting
it.) How do I get this request to display in the log file? We need it for
our web tracking software.
3. I consistently get the following in the isapi_redirect.log file
(removed duplicates):

[Fri Jan 27 12:40:39 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1029): could not get a worker for name ajp13

[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c (1178):
Socket 616 is not connected any more (errno=-1)

[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c (1225):
All endpoints are disconnected or dead

[Fri Jan 27 13:53:06 2006] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=1

[Fri Jan 27 13:53:07 2006] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=61

[Fri Jan 27 13:53:07 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8009) with (errno=61)

[Fri Jan 27 13:53:07 2006] [info] ajp_send_request::jk_ajp_common.c (1248):
Error connecting to the Tomcat process.

[Fri Jan 27 13:53:08 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed

[Fri Jan 27 13:53:08 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1022): service() failed



Help please - thanks - dave





David Thielen

<http://www.windwardreports.com> www.windwardreports.com

303-499-2544
Earnie Dyke
2006-02-01 16:53:25 UTC
Permalink
-----Original Message-----
From: David Thielen [mailto:***@windward.net]
Sent: Wednesday, February 01, 2006 11:35 AM
To: tomcat-***@jakarta.apache.org
Subject: Desperate for help with isapi_redirect.dll


Hi;

David,

As I understand it, you want the jk version 1.2.x NOT jk2. jk2 was a splitter effort that sputtered.

As for your IIS log file problem, I have the same problem. We working with web trends to try to get the to be able to read the Apache log format from Tomcat.

I am presuming you are running your app locally or at least on the same server as IIS. Correct? It does not appear your Tomcat is listening on port 8009. Are you sure it is started and stays up? Do you have a firewall on the machine that may be hosing the connections?

Earnie!


Is there anyone on this list that know isapi_redirect? I have this bad
feeling that there is only 1 person who knows this code (the one who wrote
it) and that he/she is not on this list. If I have to pay for support that's
fine but I really need to get this answered (or we'll be forced to switch to
WebLogic and that's a giant PITA).

1. Where is the latest isapi_redirect.dll & documentation? (There are
several of both on the apache website and it's not clear which is the most
recent. What I thought was the most recent documentation has dead links so
I'm guessing that is not it.)
2. When demo.faces is requested from my website, it is displayed in the
IIS logfile. On a submit of that form demo_license.faces is requested and
watching the http requests, a request is sent to IIS for demo_license.faces.
However, that request is never displayed in the IIS logfile.
(demo_license.faces does have a link to windward.css and the IIS logfile
does show that request and shows demo_license.faces as the page requesting
it.) How do I get this request to display in the log file? We need it for
our web tracking software.
3. I consistently get the following in the isapi_redirect.log file
(removed duplicates):

[Fri Jan 27 12:40:39 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1029): could not get a worker for name ajp13

[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c (1178):
Socket 616 is not connected any more (errno=-1)

[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c (1225):
All endpoints are disconnected or dead

[Fri Jan 27 13:53:06 2006] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=1

[Fri Jan 27 13:53:07 2006] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=61

[Fri Jan 27 13:53:07 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8009) with (errno=61)

[Fri Jan 27 13:53:07 2006] [info] ajp_send_request::jk_ajp_common.c (1248):
Error connecting to the Tomcat process.

[Fri Jan 27 13:53:08 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed

[Fri Jan 27 13:53:08 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1022): service() failed



Help please - thanks - dave





David Thielen

<http://www.windwardreports.com> www.windwardreports.com

303-499-2544
David Thielen
2006-02-01 20:27:52 UTC
Permalink
Hello;

I am using 1.2.14 so that's not the problem. And yes, Tomcat is on the same
box as IIS and so they can talk. Port 8009 is blocked by our corporate
firewall but is not blocked internally.

And it works - you can go to
http://www.windwardreports.com/store/pages/demo.faces and that is served up
by Tomcat.

Have you had any luck finding out how to get the requested urls listed in
the IIS log? Or finding anyone who knows what is going on inside
isapi_redirect?

Thanks - dave


David Thielen
www.windwardreports.com
303-499-2544

-----Original Message-----
From: Earnie Dyke [mailto:***@vrs.state.va.us]
Sent: Wednesday, February 01, 2006 9:53 AM
To: Tomcat Users List
Subject: RE: Desperate for help with isapi_redirect.dll



-----Original Message-----
From: David Thielen [mailto:***@windward.net]
Sent: Wednesday, February 01, 2006 11:35 AM
To: tomcat-***@jakarta.apache.org
Subject: Desperate for help with isapi_redirect.dll


Hi;

David,

As I understand it, you want the jk version 1.2.x NOT jk2. jk2 was a
splitter effort that sputtered.

As for your IIS log file problem, I have the same problem. We working with
web trends to try to get the to be able to read the Apache log format from
Tomcat.

I am presuming you are running your app locally or at least on the same
server as IIS. Correct? It does not appear your Tomcat is listening on port
8009. Are you sure it is started and stays up? Do you have a firewall on the
machine that may be hosing the connections?

Earnie!


Is there anyone on this list that know isapi_redirect? I have this bad
feeling that there is only 1 person who knows this code (the one who wrote
it) and that he/she is not on this list. If I have to pay for support that's
fine but I really need to get this answered (or we'll be forced to switch to
WebLogic and that's a giant PITA).

1. Where is the latest isapi_redirect.dll & documentation? (There are
several of both on the apache website and it's not clear which is the most
recent. What I thought was the most recent documentation has dead links so
I'm guessing that is not it.)
2. When demo.faces is requested from my website, it is displayed in the
IIS logfile. On a submit of that form demo_license.faces is requested and
watching the http requests, a request is sent to IIS for demo_license.faces.
However, that request is never displayed in the IIS logfile.
(demo_license.faces does have a link to windward.css and the IIS logfile
does show that request and shows demo_license.faces as the page requesting
it.) How do I get this request to display in the log file? We need it for
our web tracking software.
3. I consistently get the following in the isapi_redirect.log file
(removed duplicates):

[Fri Jan 27 12:40:39 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1029): could not get a worker for name ajp13

[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c (1178):
Socket 616 is not connected any more (errno=-1)

[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c (1225):
All endpoints are disconnected or dead

[Fri Jan 27 13:53:06 2006] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=1

[Fri Jan 27 13:53:07 2006] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=61

[Fri Jan 27 13:53:07 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8009) with (errno=61)

[Fri Jan 27 13:53:07 2006] [info] ajp_send_request::jk_ajp_common.c (1248):
Error connecting to the Tomcat process.

[Fri Jan 27 13:53:08 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed

[Fri Jan 27 13:53:08 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1022): service() failed



Help please - thanks - dave





David Thielen

<http://www.windwardreports.com> www.windwardreports.com

303-499-2544




---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Mark Thomas
2006-02-01 20:42:36 UTC
Permalink
Post by David Thielen
Hello;
I am using 1.2.14 so that's not the problem. And yes, Tomcat is on the same
box as IIS and so they can talk. Port 8009 is blocked by our corporate
firewall but is not blocked internally.
And it works - you can go to
http://www.windwardreports.com/store/pages/demo.faces and that is served up
by Tomcat.
Have you had any luck finding out how to get the requested urls listed in
the IIS log? Or finding anyone who knows what is going on inside
isapi_redirect?
Thanks - dave
Can you create the simplest possible web-app that exhibits this
problem? That way, at least, I will be able to confirm (or not) that I
can reproduce the issue you are seeing. *If* I can reproduce it then I
can *try* debugging may way through the code to try and work out what
is going on. If I can't reproduce it, we can start to look at
configuration options.

You will need to send the war directly to me rather than to the list
as it will get stripped out.

Mark
Mark Thomas
2006-02-02 00:06:45 UTC
Permalink
Post by Mark Thomas
You will need to send the war directly to me rather than to the list
as it will get stripped out.
OK. Test war received. IIS installed (I'd be lost without VMWare).
ISAPI 1.2.15 installed. ISAPI configured to talk to Tomcat 5.5.x HEAD.
I can reproduce the problem. (So far so good ;)

Next steps are to see if I can build the .dll locally and then try the
windows equivalent of remote debug.

I warn you now the last time I did anything with C at all was at uni
and that was a long time ago. It was much simpler than the ISAPI code.
It might take me a little while to figure things out.

I'll start looking at this with a fresh pair of eyes tomorrow.

In the mean time, if anyone can point me at a copy of the ISAPI filter
interface spec on the web I would be grateful.

Mark
Bill Barker
2006-02-02 08:14:51 UTC
Permalink
Post by Mark Thomas
Post by Mark Thomas
You will need to send the war directly to me rather than to the list
as it will get stripped out.
OK. Test war received. IIS installed (I'd be lost without VMWare).
ISAPI 1.2.15 installed. ISAPI configured to talk to Tomcat 5.5.x HEAD.
I can reproduce the problem. (So far so good ;)
Next steps are to see if I can build the .dll locally and then try the
windows equivalent of remote debug.
Building the dll should be easy enough, if you have access to MSVC.
Attaching the debugger is a PITA.
Post by Mark Thomas
I warn you now the last time I did anything with C at all was at uni
and that was a long time ago. It was much simpler than the ISAPI code.
It might take me a little while to figure things out.
Probably easier to add lots of debugging logging statements than to attach
the debugger to IIS. But it's your hair ;-).
Post by Mark Thomas
I'll start looking at this with a fresh pair of eyes tomorrow.
In the mean time, if anyone can point me at a copy of the ISAPI filter
interface spec on the web I would be grateful.
Urm, go to http://msdn.microsoft.com and type isapi into the search box? It
will tell you way more than you ever wanted to know :).
Post by Mark Thomas
Mark
Mark Thomas
2006-02-03 20:23:43 UTC
Permalink
Post by Bill Barker
Building the dll should be easy enough, if you have access to MSVC.
Attaching the debugger is a PITA.
Thanks for the hint about the debugger. I would have wasted hours on
it I am sure.
Post by Bill Barker
Probably easier to add lots of debugging logging statements than to attach
the debugger to IIS. But it's your hair ;-).
True. And I like the amount I have. More debug statements worked a treat.
Post by Bill Barker
Urm, go to http://msdn.microsoft.com and type isapi into the search box? It
will tell you way more than you ever wanted to know :).
Yeah, I know but I never have got on that well with MSDN. I am sure
all the information is there, I can just never find it.

Mark
Mark Thomas
2006-02-05 18:50:03 UTC
Permalink
This (the logging problem) is now fixed in SVN.

Many thanks to David for providing the test case and to Bill and Bruno
for their hints and tips along the way.

Mark
Bruno Georges
2006-02-02 08:19:46 UTC
Permalink
Mark

The are few good, comprehensive ressources on the web for ISAPI filters,
MSDN provides API documentation and code examples, but the most helpful was
[for my problems] to look at the .h [isapi, winnet,..] from visual studio.

There is a guy from MS whose online blog helped me a lot when writing ISAPI
filters, David Wang, you can find him on:
http://blogs.msdn.com/david.wang/default.aspx

Hopes this helps.

With Best Regards
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|---------+--------------------------->
| | Mark Thomas |
| | <***@apache.or|
| | g> |
| | |
| | 02.02.06 01:06 |
| | Please respond |
| | to "Tomcat Users|
| | List" |
| | |
|---------+--------------------------->
----------------------------------------------------------------------------------------------------------------------|
| |
| To: Tomcat Users List <***@tomcat.apache.org> |
| cc: |
| Subject: Re: Desperate for help with isapi_redirect.dll |
| |
|Distribute: |
|Personal? |-------| |
| | [ ] x | |
| |-------| |
| |
----------------------------------------------------------------------------------------------------------------------|
You will need to send the war directly to me rather than to the list
as it will get stripped out.
OK. Test war received. IIS installed (I'd be lost without VMWare).
ISAPI 1.2.15 installed. ISAPI configured to talk to Tomcat 5.5.x HEAD.
I can reproduce the problem. (So far so good ;)

Next steps are to see if I can build the .dll locally and then try the
windows equivalent of remote debug.

I warn you now the last time I did anything with C at all was at uni
and that was a long time ago. It was much simpler than the ISAPI code.
It might take me a little while to figure things out.

I'll start looking at this with a fresh pair of eyes tomorrow.

In the mean time, if anyone can point me at a copy of the ISAPI filter
interface spec on the web I would be grateful.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org




LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word "misdirected" as the message and delete this
e-mail from your system.
Mark Thomas
2006-02-03 20:24:54 UTC
Permalink
Post by Bruno Georges
There is a guy from MS whose online blog helped me a lot when writing ISAPI
http://blogs.msdn.com/david.wang/default.aspx
Many thanks for this tip. This guy's blog has been incredibly useful.
I highly recommend it for anyone looking at ISAPI filters.

Mark
Mark Thomas
2006-02-12 18:43:18 UTC
Permalink
Post by David Thielen
3. I consistently get the following in the isapi_redirect.log file
[Fri Jan 27 12:40:39 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1029): could not get a worker for name ajp13
Socket 616 is not connected any more (errno=-1)
All endpoints are disconnected or dead
Sending request to tomcat failed, recoverable operation attempt=1
connect to 127.0.0.1:8009 failed with errno=61
[Fri Jan 27 13:53:07 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8009) with (errno=61)
Error connecting to the Tomcat process.
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed
[Fri Jan 27 13:53:08 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1022): service() failed
Hmm. 61 is connection refused according to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/windows_sockets_error_codes_2.asp

Have a look a Mladen's reply to a similar problem:
http://marc.theaimsgroup.com/?l=tomcat-user&m=102553922207529&w=2

It essentially says, set
worker.ajp13.cachesize=100

Looking at the docs
(http://tomcat.apache.org/connectors-doc/config/workers.html) the
default cachesize value for IIS is ten. I am pretty sure this is
because non-server versions of windows limit the number of incoming
connections to 10. On a server edition of Windows there is no limit so
this will need to be higher.

Mark
David Thielen
2006-02-13 04:54:47 UTC
Permalink
Hello;

Ok, I upped the cachesize and now have a new problem

First, it seems to not write all of the log entries. The final line is:
[Sun Feb 12 21:14:08 2006] [warn] jk_uri_worker_map.c (42

Second, I am now getting this:
[Sun Feb 12 13:34:23 2006] [error] jk_isapi_plugin.c (1049): could not get a
worker for name ajp13
[Sun Feb 12 14:31:39 2006] [error] jk_isapi_plugin.c (1049): could not get a
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c (1049): could not get a
worker for name ajp13
[Sun Feb 12 21:14:01 2006] [warn] jk_uri_worker_map.c (429): Uri
http://www.page2stage.com is invalid. Uri must start with /
[Sun Feb 12 21:14:02 2006] [warn] jk_uri_worker_map.c (429): Uri
http://www.page2stage.com/reviews/index.htm is invalid. Uri must start with
/
... more page2stage.com pages listed ...

Which is not in my properties file at all. I just tried
http://www.page2stage.com/reviews/index.htm and other pages and it comes up
ok. But it looks like it is having a problem with this.

This is with Mark's latest version - not the official release.

Uriworkermap.properties is:
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardReportsJsp/*=ajp13w
/*.jsp=ajp13w
/*.faces=ajp13w

Any ideas?

Thanks - dave



David Thielen
www.windwardreports.com
303-499-2544

-----Original Message-----
From: Mark Thomas [mailto:***@apache.org]
Sent: Sunday, February 12, 2006 11:43 AM
To: Tomcat Users List
Subject: Re: Desperate for help with isapi_redirect.dll
Post by David Thielen
3. I consistently get the following in the isapi_redirect.log file
[Fri Jan 27 12:40:39 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1029): could not get a worker for name ajp13
Socket 616 is not connected any more (errno=-1)
All endpoints are disconnected or dead
Sending request to tomcat failed, recoverable operation attempt=1
connect to 127.0.0.1:8009 failed with errno=61
[Fri Jan 27 13:53:07 2006] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
Post by David Thielen
(889): Failed opening socket to (127.0.0.1:8009) with (errno=61)
Error connecting to the Tomcat process.
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed
[Fri Jan 27 13:53:08 2006] [error] HttpExtensionProc::jk_isapi_plugin.c
(1022): service() failed
Hmm. 61 is connection refused according to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/win
sock/windows_sockets_error_codes_2.asp

Have a look a Mladen's reply to a similar problem:
http://marc.theaimsgroup.com/?l=tomcat-user&m=102553922207529&w=2

It essentially says, set
worker.ajp13.cachesize=100

Looking at the docs
(http://tomcat.apache.org/connectors-doc/config/workers.html) the
default cachesize value for IIS is ten. I am pretty sure this is
because non-server versions of windows limit the number of incoming
connections to 10. On a server edition of Windows there is no limit so
this will need to be higher.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Paul Hamer
2006-02-13 09:35:20 UTC
Permalink
Hi David,
Post by David Thielen
First, it seems to not write all of the log entries. The
[Sun Feb 12 21:14:08 2006] [warn] jk_uri_worker_map.c (42
This, I think, is normal. The logentries appear to be cached, and may
therefore seem incomplete at any given time. Just wait a couple of minutes
and you will find the line has been completed.
Post by David Thielen
could not get a worker for name ajp13
I've been having this error myself too. It seems that you MUST have a worker
listed in "worker.list" called "ajp13". I used to have one loadbalancing
worker called "wlb", which balanced between two workers "ajp13" and
"backup". Still I kept getting this error. Finally I renamed the "ajp13"
worker to "ajp13w" and the loadbalancing worker from "wlb" to "ajp13" and
the error dissappeared. Looks like a bug to me.

I've been "Googling" a lot for this error, and many forums contain posts
reporting the same error, yet none of them have *any* replies.

Regards,
Paul Hamer

management & development
***@tohave.nl

toHAVE websolutions
www.tohave.nl
Post by David Thielen
-----Original Message-----
Sent: Monday, 13 February, 2006 05:55
To: 'Tomcat Users List'
Subject: RE: Desperate for help with isapi_redirect.dll
Hello;
Ok, I upped the cachesize and now have a new problem
First, it seems to not write all of the log entries. The
[Sun Feb 12 21:14:08 2006] [warn] jk_uri_worker_map.c (42
could not get a
worker for name ajp13
could not get a
worker for name ajp13
could not get a
worker for name ajp13
[Sun Feb 12 21:14:01 2006] [warn] jk_uri_worker_map.c (429): Uri
http://www.page2stage.com is invalid. Uri must start with /
[Sun Feb 12 21:14:02 2006] [warn] jk_uri_worker_map.c (429): Uri
http://www.page2stage.com/reviews/index.htm is invalid. Uri
must start with
/
... more page2stage.com pages listed ...
Which is not in my properties file at all. I just tried
http://www.page2stage.com/reviews/index.htm and other pages
and it comes up
ok. But it looks like it is having a problem with this.
This is with Mark's latest version - not the official release.
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardReportsJsp/*=ajp13w
/*.jsp=ajp13w
/*.faces=ajp13w
Any ideas?
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-----Original Message-----
Sent: Sunday, February 12, 2006 11:43 AM
To: Tomcat Users List
Subject: Re: Desperate for help with isapi_redirect.dll
Post by David Thielen
3. I consistently get the following in the isapi_redirect.log file
[Fri Jan 27 12:40:39 2006] [error]
HttpExtensionProc::jk_isapi_plugin.c
Post by David Thielen
(1029): could not get a worker for name ajp13
[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c
Socket 616 is not connected any more (errno=-1)
[Fri Jan 27 13:53:06 2006] [info] ajp_send_request::jk_ajp_common.c
All endpoints are disconnected or dead
[Fri Jan 27 13:53:06 2006] [info]
Sending request to tomcat failed, recoverable operation attempt=1
[Fri Jan 27 13:53:07 2006] [info]
connect to 127.0.0.1:8009 failed with errno=61
[Fri Jan 27 13:53:07 2006] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
Post by David Thielen
(889): Failed opening socket to (127.0.0.1:8009) with (errno=61)
[Fri Jan 27 13:53:07 2006] [info] ajp_send_request::jk_ajp_common.c
Error connecting to the Tomcat process.
[Fri Jan 27 13:53:08 2006] [error]
Error connecting to tomcat. Tomcat is probably not started
or is listening
Post by David Thielen
on the wrong port. worker=ajp13w failed
[Fri Jan 27 13:53:08 2006] [error]
HttpExtensionProc::jk_isapi_plugin.c
Post by David Thielen
(1022): service() failed
Hmm. 61 is connection refused according to
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/winsock/win
sock/windows_sockets_error_codes_2.asp
http://marc.theaimsgroup.com/?l=tomcat-user&m=102553922207529&w=2
It essentially says, set
worker.ajp13.cachesize=100
Looking at the docs
(http://tomcat.apache.org/connectors-doc/config/workers.html) the
default cachesize value for IIS is ten. I am pretty sure this is
because non-server versions of windows limit the number of incoming
connections to 10. On a server edition of Windows there is no limit so
this will need to be higher.
Mark
---------------------------------------------------------------------
---------------------------------------------------------------------
Mladen Turk
2006-02-13 09:42:55 UTC
Permalink
Post by David Thielen
Hello;
Ok, I upped the cachesize and now have a new problem
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c (1049): could not get a
worker for name ajp13
Post your workers.properties file.

Regards,
Mladen.
David Thielen
2006-02-13 14:15:36 UTC
Permalink
worker.properties.minimal:
worker.list=ajp13w
worker.ajp13.cachesize=100
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009

uriworkermap.properties:
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardReportsJsp/*=ajp13w
/*.jsp=ajp13w
/*.faces=ajp13w

Thanks - dave

David Thielen
www.windwardreports.com
303-499-2544

-----Original Message-----
From: Mladen Turk [mailto:***@jboss.com]
Sent: Monday, February 13, 2006 2:43 AM
To: Tomcat Users List
Subject: Re: Desperate for help with isapi_redirect.dll
Post by David Thielen
Hello;
Ok, I upped the cachesize and now have a new problem
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c (1049): could not get a
worker for name ajp13
Post your workers.properties file.

Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Paul Hamer
2006-02-13 14:40:12 UTC
Permalink
Hiya David,

You have a typo (forgot a "w") in the cachesize line of your
worker.properties...
worker.ajp13w.cachesize=100
Should fix most of y'r problems :)

Greetz,
Paul Hamer

management & development
***@tohave.nl

toHAVE websolutions
www.tohave.nl
-----Original Message-----
Sent: Monday, 13 February, 2006 15:16
To: 'Tomcat Users List'
Subject: RE: Desperate for help with isapi_redirect.dll
worker.list=ajp13w
worker.ajp13.cachesize=100
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardReportsJsp/*=ajp13w
/*.jsp=ajp13w
/*.faces=ajp13w
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-----Original Message-----
Sent: Monday, February 13, 2006 2:43 AM
To: Tomcat Users List
Subject: Re: Desperate for help with isapi_redirect.dll
Post by David Thielen
Hello;
Ok, I upped the cachesize and now have a new problem
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c
(1049): could not get
a
Post by David Thielen
worker for name ajp13
Post your workers.properties file.
Regards,
Mladen.
---------------------------------------------------------------------
---------------------------------------------------------------------
Ian Buzer
2006-02-13 14:43:11 UTC
Permalink
:)

Should be

worker.ajp13w.cachesize=100
Post by Earnie Dyke
-----Original Message-----
Sent: 13 February 2006 15:16
To: 'Tomcat Users List'
Subject: RE: Desperate for help with isapi_redirect.dll
worker.list=ajp13w
worker.ajp13.cachesize=100
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardReportsJsp/*=ajp13w
/*.jsp=ajp13w
/*.faces=ajp13w
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-----Original Message-----
Sent: Monday, February 13, 2006 2:43 AM
To: Tomcat Users List
Subject: Re: Desperate for help with isapi_redirect.dll
Post by David Thielen
Hello;
Ok, I upped the cachesize and now have a new problem
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c
(1049): could not get
a
Post by David Thielen
worker for name ajp13
Post your workers.properties file.
Regards,
Mladen.
---------------------------------------------------------------------
---------------------------------------------------------------------
David Thielen
2006-02-13 14:58:52 UTC
Permalink
First off, thank you.

Second, if there is someone who knows isapi_redir very very well, I would be
happy to rewrite the docs for it if I can ask him/her questions so I can get
all of it fully documented.

Thanks - dave


David Thielen
www.windwardreports.com
303-499-2544

-----Original Message-----
From: Ian Buzer [mailto:***@buzer.co.uk]
Sent: Monday, February 13, 2006 7:43 AM
To: 'Tomcat Users List'
Subject: RE: Desperate for help with isapi_redirect.dll

:)

Should be

worker.ajp13w.cachesize=100
Post by Earnie Dyke
-----Original Message-----
Sent: 13 February 2006 15:16
To: 'Tomcat Users List'
Subject: RE: Desperate for help with isapi_redirect.dll
worker.list=ajp13w
worker.ajp13.cachesize=100
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardReportsJsp/*=ajp13w
/*.jsp=ajp13w
/*.faces=ajp13w
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-----Original Message-----
Sent: Monday, February 13, 2006 2:43 AM
To: Tomcat Users List
Subject: Re: Desperate for help with isapi_redirect.dll
Post by David Thielen
Hello;
Ok, I upped the cachesize and now have a new problem
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c
(1049): could not get
a
Post by David Thielen
worker for name ajp13
Post your workers.properties file.
Regards,
Mladen.
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org

Loading...