Discussion:
Tomcat ISAPI Redirector for IIS
doepain
2008-02-18 20:13:42 UTC
Permalink
No matter what I try where I go I just keep hitting a wall with this ISAPI
redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.

I tried supplying any useful information for trouble shooting below

Error:
HTTP Status 404 - /jakarta/isapi_redirect.dll
type Status report
message /jakarta/isapi_redirect.dll
description The requested resource (/jakarta/isapi_redirect.dll) is not
available.
Apache Tomcat/5.0.16

uriworkermap.properties File:
# uriworker.properties -
#
# This file provides sample mappings for example
# ajp13w worker defined in workermap.properties.minimal

/jsp-examples/*=ajp13w
/servlet-examples/*=ajp13w

# Now filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)
#!/servlet-examples/*.jpeg=ajp13w

Workers.Properties.Minimal:
# workers.properties.minimal -
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
# The workers that jk should create and work with
# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.

#worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009

Jakarta Isapi Redirector Install path:
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf

Tomcat Install Path:
C:\Program Files\Apache Software Foundation\Tomcat 5.0

IIS V6.0 Settings
The "jakarta" Web Service Extension is Installed, and Allowed.
The ISAPI Filter for "jakarta" in installed, and its Status is "Online"
Priority "High"

Host:
Windows Server 2003 SP2

ISAPI-Redirector Log output:
[Mon Feb 18 13:11:38 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:11:39 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:21:47 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned -3
with errno=54
[Mon Feb 18 13:21:47 2008] [error] ajp_send_request::jk_ajp_common.c (1158):
Error sending request try another pooled connection
[Mon Feb 18 13:21:48 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:21:48 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:21:48 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:21:48 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=0
[Mon Feb 18 13:21:48 2008] [info] ajp_done::jk_ajp_common.c (1947): could
not find empty cache slot from 1 for worker ajp13. Rise worker cachesize
[Mon Feb 18 13:43:40 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned -3
with errno=54
[Mon Feb 18 13:43:40 2008] [error] ajp_send_request::jk_ajp_common.c (1158):
Error sending request try another pooled connection
[Mon Feb 18 13:43:41 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:41 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:41 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:41 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=0
[Mon Feb 18 13:43:42 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:42 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:42 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:42 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=1
[Mon Feb 18 13:43:43 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:43 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:43 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:43 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=2
[Mon Feb 18 13:43:43 2008] [error] ajp_service::jk_ajp_common.c (1673):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
[Mon Feb 18 13:43:43 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(937): service() failed
[Mon Feb 18 13:43:46 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:46 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:46 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:46 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=0
[Mon Feb 18 13:43:47 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:47 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:47 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:47 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=1
[Mon Feb 18 13:43:48 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:48 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:48 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:48 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=2
[Mon Feb 18 13:43:48 2008] [error] ajp_service::jk_ajp_common.c (1673):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
--
View this message in context: http://www.nabble.com/Tomcat-ISAPI-Redirector-for-IIS-tp15548954p15548954.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: ***@tomcat.apache.org
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Tim Whittington
2008-02-18 20:28:20 UTC
Permalink
It looks like you've got more than one thing going on.

The debug log refers to a worker named 'ajp13', which is the default name,
and not the one you've got configured in your
uriworkermap.properties/worker.properties
- This usually points to your filter config and the ISAPI extension DLL
(the one that's sitting in the virtual directory you created) not being
the same file.
- Sometimes this is just IIS being strange - a complete net stop iisadmin;
net start w3svc sometimes sorts it

The debug log also indicates it can't connect to the back end Tomcat
instance, but there's not enough info to tell exactly what's going on.
Change your log level to debug (in isapi_redirect.properties or the
registry if you're using that), do a complete IIS restart and make a
single request - post the resulting log and we can have a look at what's
going on.

cheers
tim

-----Original Message-----
From: doepain [mailto:***@gmail.com]
Sent: Tuesday, 19 February 2008 9:14 a.m.
To: ***@tomcat.apache.org
Subject: Tomcat ISAPI Redirector for IIS


No matter what I try where I go I just keep hitting a wall with this ISAPI
redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.

I tried supplying any useful information for trouble shooting below

Error:
HTTP Status 404 - /jakarta/isapi_redirect.dll
type Status report
message /jakarta/isapi_redirect.dll
description The requested resource (/jakarta/isapi_redirect.dll)
is not available.
Apache Tomcat/5.0.16

uriworkermap.properties File:
# uriworker.properties -
#
# This file provides sample mappings for example # ajp13w worker defined
in workermap.properties.minimal

/jsp-examples/*=ajp13w
/servlet-examples/*=ajp13w

# Now filter out all .jpeg files inside that context # For no mapping the
url has to start with exclamation (!) #!/servlet-examples/*.jpeg=ajp13w

Workers.Properties.Minimal:
# workers.properties.minimal -
# This file provides minimal jk configuration properties needed to #
connect to Tomcat.
# The workers that jk should create and work with # Defining a worker
named ajp13w and of type ajp13 # Note that the name and the type do not
have to match.

#worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009

Jakarta Isapi Redirector Install path:
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf

Tomcat Install Path:
C:\Program Files\Apache Software Foundation\Tomcat 5.0

IIS V6.0 Settings
The "jakarta" Web Service Extension is Installed, and Allowed.
The ISAPI Filter for "jakarta" in installed, and its Status is "Online"
Priority "High"

Host:
Windows Server 2003 SP2

ISAPI-Redirector Log output:
[Mon Feb 18 13:11:38 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13 [Mon Feb 18 13:11:39 2008]
[error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13 [Mon Feb 18 13:21:47 2008]
[error] ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull
returned -3 with errno=54 [Mon Feb 18 13:21:47 2008] [error]
ajp_send_request::jk_ajp_common.c (1158):
Error sending request try another pooled connection [Mon Feb 18 13:21:48
2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:21:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:21:48 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:21:48 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=0 [Mon
Feb 18 13:21:48 2008] [info] ajp_done::jk_ajp_common.c (1947): could not
find empty cache slot from 1 for worker ajp13. Rise worker cachesize [Mon
Feb 18 13:43:40 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned
-3 with errno=54 [Mon Feb 18 13:43:40 2008] [error]
ajp_send_request::jk_ajp_common.c (1158):
Error sending request try another pooled connection [Mon Feb 18 13:43:41
2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:41 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:43:41 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:41 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=0 [Mon
Feb 18 13:43:42 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:42 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:43:42 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:42 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=1 [Mon
Feb 18 13:43:43 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:43 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:43:43 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:43 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=2 [Mon
Feb 18 13:43:43 2008] [error] ajp_service::jk_ajp_common.c (1673):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61 [Mon Feb 18 13:43:43
2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(937): service() failed
[Mon Feb 18 13:43:46 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:46 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:43:46 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:46 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=0 [Mon
Feb 18 13:43:47 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:47 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:43:47 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:47 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=1 [Mon
Feb 18 13:43:48 2008] [info] jk_open_socket::jk_connect.c (183):
connect() failed errno = 61
[Mon Feb 18 13:43:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Feb 18 13:43:48 2008] [info] ajp_send_request::jk_ajp_common.c (1186):
Error connecting to the Tomcat process.
[Mon Feb 18 13:43:48 2008] [info] ajp_service::jk_ajp_common.c (1665):
Sending request to tomcat failed, recoverable operation attempt=2 [Mon
Feb 18 13:43:48 2008] [error] ajp_service::jk_ajp_common.c (1673):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61

--
View this message in context:
http://www.nabble.com/Tomcat-ISAPI-Redirector-for-IIS-tp15548954p15548954.
html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: ***@tomcat.apache.org
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
m***@hotmail.com
2008-02-18 21:06:32 UTC
Permalink
agreed...
if by *Strange* you mean *you dont understand* then I would advise you to
take a look at Mladen Turks paper on fronting Tomcat with IIS
http://people.apache.org/~mturk/docs/article/ftwai.html
I would specifically note the built-in restrictions of Windows Workstation
products to managing <=10 connections without Windows Network LoadBalancer
Also the complexity of the system goes up as you have 4 systems to configure
to work together..
Windows Network Load Balancer
1..n IIS servers
mod_jk connectors to TC
1..n*2 Tomcat nodes

HTH/
M-
----- Original Message -----
Wrom: VWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVI
To: "'Tomcat Users List'" <***@tomcat.apache.org>
Sent: Monday, February 18, 2008 3:28 PM
Subject: RE: Tomcat ISAPI Redirector for IIS
Post by Tim Whittington
It looks like you've got more than one thing going on.
The debug log refers to a worker named 'ajp13', which is the default name,
and not the one you've got configured in your
uriworkermap.properties/worker.properties
- This usually points to your filter config and the ISAPI extension DLL
(the one that's sitting in the virtual directory you created) not being
the same file.
- Sometimes this is just IIS being strange - a complete net stop iisadmin;
net start w3svc sometimes sorts it
The debug log also indicates it can't connect to the back end Tomcat
instance, but there's not enough info to tell exactly what's going on.
Change your log level to debug (in isapi_redirect.properties or the
registry if you're using that), do a complete IIS restart and make a
single request - post the resulting log and we can have a look at what's
going on.
cheers
tim
-----Original Message-----
Wrom: BGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRW
Sent: Tuesday, 19 February 2008 9:14 a.m.
Subject: Tomcat ISAPI Redirector for IIS
No matter what I try where I go I just keep hitting a wall with this ISAPI
redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.
I tried supplying any useful information for trouble shooting below
HTTP Status 404 - /jakarta/isapi_redirect.dll
type Status report
message /jakarta/isapi_redirect.dll
description The requested resource (/jakarta/isapi_redirect.dll)
is not available.
Apache Tomcat/5.0.16
# uriworker.properties -
#
# This file provides sample mappings for example # ajp13w worker defined
in workermap.properties.minimal
/jsp-examples/*=ajp13w
/servlet-examples/*=ajp13w
# Now filter out all .jpeg files inside that context # For no mapping the
url has to start with exclamation (!) #!/servlet-examples/*.jpeg=ajp13w
# workers.properties.minimal -
# This file provides minimal jk configuration properties needed to #
connect to Tomcat.
# The workers that jk should create and work with # Defining a worker
named ajp13w and of type ajp13 # Note that the name and the type do not
have to match.
#worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf
C:\Program Files\Apache Software Foundation\Tomcat 5.0
IIS V6.0 Settings
The "jakarta" Web Service Extension is Installed, and Allowed.
The ISAPI Filter for "jakarta" in installed, and its Status is "Online"
Priority "High"
Windows Server 2003 SP2
[Mon Feb 18 13:11:38 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13 [Mon Feb 18 13:11:39 2008]
[error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13 [Mon Feb 18 13:21:47 2008]
[error] ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull
returned -3 with errno=54 [Mon Feb 18 13:21:47 2008] [error]
Error sending request try another pooled connection [Mon Feb 18 13:21:48
connect() failed errno = 61
[Mon Feb 18 13:21:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0 [Mon
Feb 18 13:21:48 2008] [info] ajp_done::jk_ajp_common.c (1947): could not
find empty cache slot from 1 for worker ajp13. Rise worker cachesize [Mon
Feb 18 13:43:40 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned
-3 with errno=54 [Mon Feb 18 13:43:40 2008] [error]
Error sending request try another pooled connection [Mon Feb 18 13:43:41
connect() failed errno = 61
[Mon Feb 18 13:43:41 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0 [Mon
connect() failed errno = 61
[Mon Feb 18 13:43:42 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1 [Mon
connect() failed errno = 61
[Mon Feb 18 13:43:43 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2 [Mon
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61 [Mon Feb 18 13:43:43
2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(937): service() failed
connect() failed errno = 61
[Mon Feb 18 13:43:46 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0 [Mon
connect() failed errno = 61
[Mon Feb 18 13:43:47 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1 [Mon
connect() failed errno = 61
[Mon Feb 18 13:43:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2 [Mon
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
--
http://www.nabble.com/Tomcat-ISAPI-Redirector-for-IIS-tp15548954p15548954.
html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
---------------------------------------------------------------------
To start a new topic, e-mail: ***@tomcat.apache.org
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
Rainer Jung
2008-02-18 22:49:11 UTC
Permalink
Start fixing it by *not* commenting out the worker.list=ajp13w and set
your connection pool size to something reasonable (default is 1, start
with let's say 50).

Then follow Tim's adviceand please also tell us which isapi redirector
version you are using.

Regards,

Rainer
Post by doepain
No matter what I try where I go I just keep hitting a wall with this ISAPI
redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.
I tried supplying any useful information for trouble shooting below
HTTP Status 404 - /jakarta/isapi_redirect.dll
type Status report
message /jakarta/isapi_redirect.dll
description The requested resource (/jakarta/isapi_redirect.dll) is not
available.
Apache Tomcat/5.0.16
# uriworker.properties -
#
# This file provides sample mappings for example
# ajp13w worker defined in workermap.properties.minimal
/jsp-examples/*=ajp13w
/servlet-examples/*=ajp13w
# Now filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)
#!/servlet-examples/*.jpeg=ajp13w
# workers.properties.minimal -
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
# The workers that jk should create and work with
# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.
#worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf
C:\Program Files\Apache Software Foundation\Tomcat 5.0
IIS V6.0 Settings
The "jakarta" Web Service Extension is Installed, and Allowed.
The ISAPI Filter for "jakarta" in installed, and its Status is "Online"
Priority "High"
Windows Server 2003 SP2
[Mon Feb 18 13:11:38 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:11:39 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:21:47 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned -3
with errno=54
Error sending request try another pooled connection
connect() failed errno = 61
[Mon Feb 18 13:21:48 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
[Mon Feb 18 13:21:48 2008] [info] ajp_done::jk_ajp_common.c (1947): could
not find empty cache slot from 1 for worker ajp13. Rise worker cachesize
[Mon Feb 18 13:43:40 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned -3
with errno=54
Error sending request try another pooled connection
connect() failed errno = 61
[Mon Feb 18 13:43:41 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
connect() failed errno = 61
[Mon Feb 18 13:43:42 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1
connect() failed errno = 61
[Mon Feb 18 13:43:43 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
[Mon Feb 18 13:43:43 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(937): service() failed
connect() failed errno = 61
[Mon Feb 18 13:43:46 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
connect() failed errno = 61
[Mon Feb 18 13:43:47 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1
connect() failed errno = 61
[Mon Feb 18 13:43:48 2008] [info] ajp_connect_to_endpoint::jk_ajp_common.c
(862): Failed connecting to tomcat. Tomcat is probably not started or is
listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61
Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
---------------------------------------------------------------------
To start a new topic, e-mail: ***@tomcat.apache.org
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
andoridyou2010
2010-08-25 18:13:17 UTC
Permalink
check the fitler vs extension

here is one post
http://androidyou.blogspot.com/2010/08/could-not-get-worker-for-name-ajp13.html
Post by doepain
No matter what I try where I go I just keep hitting a wall with this ISAPI
redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.
I tried supplying any useful information for trouble shooting below
HTTP Status 404 - /jakarta/isapi_redirect.dll
type Status report
message /jakarta/isapi_redirect.dll
description The requested resource (/jakarta/isapi_redirect.dll) is not
available.
Apache Tomcat/5.0.16
# uriworker.properties -
#
# This file provides sample mappings for example
# ajp13w worker defined in workermap.properties.minimal
/jsp-examples/*=ajp13w
/servlet-examples/*=ajp13w
# Now filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)
#!/servlet-examples/*.jpeg=ajp13w
# workers.properties.minimal -
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
# The workers that jk should create and work with
# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.
#worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf
C:\Program Files\Apache Software Foundation\Tomcat 5.0
Tomcat Status is "Started".
IIS V6.0 Settings
The "jakarta" Web Service Extension is Installed, and Allowed.
The ISAPI Filter for "jakarta" in installed, and its Status is "Online"
Priority "High"
Windows Server 2003 SP2
[Mon Feb 18 13:11:38 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:11:39 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:21:47 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned
-3 with errno=54
[Mon Feb 18 13:21:47 2008] [error] ajp_send_request::jk_ajp_common.c
(1158): Error sending request try another pooled connection
connect() failed errno = 61
[Mon Feb 18 13:21:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:21:48 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
[Mon Feb 18 13:21:48 2008] [info] ajp_done::jk_ajp_common.c (1947): could
not find empty cache slot from 1 for worker ajp13. Rise worker cachesize
[Mon Feb 18 13:43:40 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned
-3 with errno=54
[Mon Feb 18 13:43:40 2008] [error] ajp_send_request::jk_ajp_common.c
(1158): Error sending request try another pooled connection
connect() failed errno = 61
[Mon Feb 18 13:43:41 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:41 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
connect() failed errno = 61
[Mon Feb 18 13:43:42 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:42 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1
connect() failed errno = 61
[Mon Feb 18 13:43:43 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:43 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
[Mon Feb 18 13:43:43 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(937): service() failed
connect() failed errno = 61
[Mon Feb 18 13:43:46 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:46 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
connect() failed errno = 61
[Mon Feb 18 13:43:47 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:47 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1
connect() failed errno = 61
[Mon Feb 18 13:43:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:48 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13 failed errno = 61
--
View this message in context: http://old.nabble.com/Tomcat-ISAPI-Redirector-for-IIS-tp15548954p29535109.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
andoridyou2010
2010-08-25 18:13:46 UTC
Permalink
http://androidyou.blogspot.com/2010/08/using-iis-7-75-tracing-features-to.html
Post by andoridyou2010
check the fitler vs extension
here is one post
http://androidyou.blogspot.com/2010/08/could-not-get-worker-for-name-ajp13.html
Post by doepain
No matter what I try where I go I just keep hitting a wall with this
ISAPI redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.
I tried supplying any useful information for trouble shooting below
HTTP Status 404 - /jakarta/isapi_redirect.dll
type Status report
message /jakarta/isapi_redirect.dll
description The requested resource (/jakarta/isapi_redirect.dll) is not
available.
Apache Tomcat/5.0.16
# uriworker.properties -
#
# This file provides sample mappings for example
# ajp13w worker defined in workermap.properties.minimal
/jsp-examples/*=ajp13w
/servlet-examples/*=ajp13w
# Now filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)
#!/servlet-examples/*.jpeg=ajp13w
# workers.properties.minimal -
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
# The workers that jk should create and work with
# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.
#worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf
C:\Program Files\Apache Software Foundation\Tomcat 5.0
Tomcat Status is "Started".
IIS V6.0 Settings
The "jakarta" Web Service Extension is Installed, and Allowed.
The ISAPI Filter for "jakarta" in installed, and its Status is "Online"
Priority "High"
Windows Server 2003 SP2
[Mon Feb 18 13:11:38 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:11:39 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(944): could not get a worker for name ajp13
[Mon Feb 18 13:21:47 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned
-3 with errno=54
[Mon Feb 18 13:21:47 2008] [error] ajp_send_request::jk_ajp_common.c
(1158): Error sending request try another pooled connection
connect() failed errno = 61
[Mon Feb 18 13:21:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:21:48 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
could not find empty cache slot from 1 for worker ajp13. Rise worker
cachesize
[Mon Feb 18 13:43:40 2008] [error]
ajp_connection_tcp_send_message::jk_ajp_common.c (902): sendfull returned
-3 with errno=54
[Mon Feb 18 13:43:40 2008] [error] ajp_send_request::jk_ajp_common.c
(1158): Error sending request try another pooled connection
connect() failed errno = 61
[Mon Feb 18 13:43:41 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:41 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
connect() failed errno = 61
[Mon Feb 18 13:43:42 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:42 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1
connect() failed errno = 61
[Mon Feb 18 13:43:43 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:43 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2
Error connecting to tomcat. Tomcat is probably not started or is
listening on the wrong port. worker=ajp13 failed errno = 61
[Mon Feb 18 13:43:43 2008] [error] HttpExtensionProc::jk_isapi_plugin.c
(937): service() failed
connect() failed errno = 61
[Mon Feb 18 13:43:46 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:46 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=0
connect() failed errno = 61
[Mon Feb 18 13:43:47 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:47 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=1
connect() failed errno = 61
[Mon Feb 18 13:43:48 2008] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:8009). Failed errno = 61
[Mon Feb 18 13:43:48 2008] [info] ajp_send_request::jk_ajp_common.c
(1186): Error connecting to the Tomcat process.
Sending request to tomcat failed, recoverable operation attempt=2
Error connecting to tomcat. Tomcat is probably not started or is
listening on the wrong port. worker=ajp13 failed errno = 61
--
View this message in context: http://old.nabble.com/Tomcat-ISAPI-Redirector-for-IIS-tp15548954p29535114.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
Loading...