tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: isapi_redirector.dll Problems - Bad Gateway?
Date Tue, 28 Dec 2010 20:30:16 GMT
amythyst wrote:
> Sorry for all the posts... I have a specific question... I'm reading the
> isapi_redirector.log which shows the errors... it says things like this:
>  shutting down the read side of socket 576 [ ->
> To me, it seems like its trying to connect to tomcat on but
> tomcat is listening on ... does that make a difference?
No.  The essentially means that the Tomcat AJP connector is listening on port

8009, for /all/ this hosts's IP addresses. happens to be one of these addresses, the one corresponding to the "loopback" 
connection, fom this host to this host (and only valid for local in-same-host connections).

To pick up on the previous exchange:
- we have thus established that Tomcat is listening, with an AJP connector, on port 8009.

In isolation, the message above does not tell us much, except that it seems that some 
process at least was having a connection with that Tomcat AJP port.  And if you found that

line in the isapi_redirector log, then it must be that it was the isapi_redirector which 
had that connection, then.

Mmm, the plot thickens.

I have to scroll back a little, to your first post(s), to find out what isn't working.
Are you still getting messages such as these ?

[Thu Dec 16 11:20:10.559 2010] [1508:1800] [error]
ajp_get_reply::jk_ajp_common.c (2058): (worker1) Tomcat is down or refused
connection. No response has been sent to the client (yet)

[Thu Dec 16 11:20:10.559 2010] [1508:1800] [info]
ajp_service::jk_ajp_common.c (2543): (worker1) sending request to tomcat
failed (recoverable), because of protocol error (attempt=1)

[Thu Dec 16 11:20:10.559 2010] [1508:1800] [debug]
ajp_service::jk_ajp_common.c (2400): retry 1, sleeping for 100 ms before

[Thu Dec 16 11:20:10.668 2010] [1508:1800] [debug]
ajp_send_request::jk_ajp_common.c (1572): (worker1) all endpoints are

[Thu Dec 16 11:20:10.668 2010] [1508:1800] [debug]
jk_open_socket::jk_connect.c (484): socket TCP_NODELAY set to On

Ok, let's do something :

a) under the Tomcat top directory, there is a directory called "webapps" (under which 
presumably you already have a subdirectory called "jira").
At the same level as "jira", create another directory called "test", and copy some html 
file into it, which you will rename as "test.html"
So you will have :
                           (many files)

b) in your "" file, add the line


c) then restart Tomcat and IIS

d) then from a browser, try to access :

d1) http://yourhostname:8081/test/test.html
(where 8081 is the port on which Tomcat listens with its HTTP protocol connector)

d2) http://yourhostname:80/test/test.html
(where 80) is the port on which IIS is listening)

Do both work and show the page "test.html" ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message