You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sergey Udaltsov <se...@gmail.com> on 2009/08/11 11:08:28 UTC
[users@httpd] Tomcat clustering issue
I have 2 clustered tomcat 5.5 instances running on Windows Server 2003
behind Apache load balancer (using AJP protocol)
For some urls (I cannot get the pattern), I am getting the error on
frontend. In Apache logs, I see the following:
[Thu Aug 06 17:34:19 2009] [error] (OS 10061)No connection could be
made because the target machine actively refused it. : proxy: AJP:
attempt to connect to 127.0.0.1:8009 (localhost) failed
[Thu Aug 06 17:34:19 2009] [error] ap_proxy_connect_backend disabling
worker for (localhost)
[Thu Aug 06 17:34:19 2009] [error] proxy: AJP: failed to make
connection to backend: localhost
In tomcat logs - no errors. Is there any way I could debug the
situation? Any configuration variables to check on apache side?
Changing AJP to HTTP does not change the behaviour.
Thanks for any ideas!
Sergey
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to configure a username with colon?
Posted by matt farey <ma...@gmail.com>.
Hi Wong,
You can have : in the password but not in the userID, see RFC2617:
userid = *<TEXT excluding ":">
password = *TEXT
So by using an encoding hack, you are of course no longer including a : in the userID
Hope that makes sense.
Matt
Sent from my BlackBerry® wireless device
-----Original Message-----
From: "Wong Kok Meng-a17866" <ko...@motorola.com>
Date: Thu, 13 Aug 2009 13:59:44
To: <us...@httpd.apache.org>
Subject: [users@httpd] How to configure a username with colon?
Hi,
I am using Apache 2.0 webserver that comes with Fedora. I enabled HTTP
digest authentication on my webserver by following the steps in
http://httpd.apache.org/docs/2.0/mod/mod_auth.html. It works well with
username without colon. If I have a colon in the username, it doesn't
work. I think the reason is because colons are used as delimiter in the
user file. I tried to percent encode but it still doesn't work.
Is there a way I can have ':' (colon) in my username? Please help. Thank
you very much.
Regards,
Kok Meng
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to configure a username with colon?
Posted by Evan Platt <ev...@espphotography.com>.
At 10:59 PM 8/12/2009, you wrote:
>I am using Apache 2.0 webserver that comes with Fedora. I enabled HTTP
>digest authentication on my webserver by following the steps in
>http://httpd.apache.org/docs/2.0/mod/mod_auth.html. It works well with
>username without colon. If I have a colon in the username, it doesn't
>work. I think the reason is because colons are used as delimiter in the
>user file. I tried to percent encode but it still doesn't work.
>
>Is there a way I can have ':' (colon) in my username? Please help. Thank
>you very much.
I may be way off here, but how about:
"user:name:password" => "user%3Aname:password"
(ie replace : with %3A ? )
Not sure if you'd use the quotes or not - this was from a google
search I found.
Evan
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] How to configure a username with colon?
Posted by Wong Kok Meng-a17866 <ko...@motorola.com>.
Hi,
I am using Apache 2.0 webserver that comes with Fedora. I enabled HTTP
digest authentication on my webserver by following the steps in
http://httpd.apache.org/docs/2.0/mod/mod_auth.html. It works well with
username without colon. If I have a colon in the username, it doesn't
work. I think the reason is because colons are used as delimiter in the
user file. I tried to percent encode but it still doesn't work.
Is there a way I can have ':' (colon) in my username? Please help. Thank
you very much.
Regards,
Kok Meng
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org