e that all configuration attributes given explicitly for the
later worker will be ignored")(It also says "This will be logged as a
warning", so if you still have access to the old log, you could check)
Aha! I think this does explain what's happening. I mostly read the
mod_proxy_b
ou had a chance to restore your first
configuration, and just moved the ProxyPass above the block.
(But in the end, I believe that your 2d configuration is more "solid" anyway).
In the end, each httpd add-on module (like mod_proxy and mod_proxy_balancer) is
responsible for its o
All,
I'm setting up mod_proxy_balancer to talk to Tomcat after having only
used mod_jk for a very long time. With a multiple-Tomcat-node situation,
I was finding that sessions didn't seem to be "sticking" and I thought I
had my configuration correct. Something like this:
Bala
All,
I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer.
mod_proxy works fine if the (reverse)Proxying is done to the local Tomcat
Engine rather than going through the balancer. If it goes through the
balancer, then an extra / is added on 302 Redirects after
On 15/09/2011 16:18, Shanti Suresh wrote:
All,
I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer.
mod_proxy works fine if the (reverse)Proxying is done to the local Tomcat
Engine rather than going through the balancer. If it goes through the
balancer
Shanti Suresh wrote:
All,
I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer. mod_proxy works fine if the
(reverse)Proxying is done to the local Tomcat Engine rather than going through the balancer. If it goes through the
balancer, then an extra / is added on 302
Bill Barker wrote:
...
Which gives a third option to the OP, which is to use the useIPVHosts=true
option on the Connector ... /, and only configure Host .../s for the
ones that he wants to allow to connect (and the default Host just returns
404 to every request).
Yes, that possibility was
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/19/2009 4:22 PM, Mark Thomas wrote:
On 19/12/2009 10:45, André Warnier wrote:
If this is too vast as a question, just let me know and point me where
to get started maybe ?
Not at all, although this is heading off topic. I'd start
Mark Thomas wrote:
On 19/12/2009 10:45, André Warnier wrote:
...
To get back to the main issue, as long as I anway get the hang of this
stuff, and have checked out the SVN of Tomcat anyway,
where in the /valves stuff do I find where it actually checks the
remote IP against which
On 20/12/2009 16:04, André Warnier wrote:
In other words : it seems that quite early in the request process, a
decision is taken to *replace* the remote IP address as obtained from
the socket, by the ultimate IP of the client for which this proxy
request is being processed. This casts a doubt
Mark Thomas wrote:
...
This is one of those times where the solution will depend on the
protocol you are using.
The AJP connectors will report the client's IP address so you need an
alternative solution. Using the request.secret attribute is probably
the simplest fix although keep in mind that
On 20.12.2009 21:00, André Warnier wrote:
Mark Thomas wrote:
...
This is one of those times where the solution will depend on the
protocol you are using.
The AJP connectors will report the client's IP address so you need an
alternative solution. Using the request.secret attribute is probably
Mark Thomas ma...@apache.org wrote in message
news:4b2e4e77.3000...@apache.org...
On 20/12/2009 16:04, André Warnier wrote:
In other words : it seems that quite early in the request process, a
decision is taken to *replace* the remote IP address as obtained from
the socket, by the ultimate
Bill Barker wrote:
...
If you have a svn checkout, then the command:
svn diff LocalStrings_fr.properties LocalStrings_fr.properties.patch
will do it. Alternatively, Cygwin has a Unix/Linux like diff utility.
Also, for a translation, it's probably not too bad if you just attach the
fixed
On 19/12/2009 10:45, André Warnier wrote:
Bill Barker wrote:
...
If you have a svn checkout, then the command:
svn diff LocalStrings_fr.properties LocalStrings_fr.properties.patch
will do it. Alternatively, Cygwin has a Unix/Linux like diff utility.
Also, for a translation, it's
André Warnier a...@ice-sa.com wrote in message
news:4b2caede.6070...@ice-sa.com...
Bill Barker wrote:
...
If you have a svn checkout, then the command:
svn diff LocalStrings_fr.properties LocalStrings_fr.properties.patch
will do it. Alternatively, Cygwin has a Unix/Linux like diff
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer
If anyone points me to where the code of the RemoteAddrValve can be
found, I'd like to have a look.
Download the source package, and look
On 18/12/2009 15:20, André Warnier wrote:
By the way, in the file LocalStrings_fr.properties that is in that same
directory, there are quite a few typos. That's more my level, me being
a native French speaker and all.
How do I submit a corrected version, with a minimum of fuss ?
Get the
Mark Thomas wrote:
On 18/12/2009 15:20, André Warnier wrote:
By the way, in the file LocalStrings_fr.properties that is in that same
directory, there are quite a few typos. That's more my level, me being
a native French speaker and all.
How do I submit a corrected version, with a minimum of
On 18/12/2009 16:21, André Warnier wrote:
Mark Thomas wrote:
On 18/12/2009 15:20, André Warnier wrote:
By the way, in the file LocalStrings_fr.properties that is in that same
directory, there are quite a few typos. That's more my level, me being
a native French speaker and all.
How do I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/18/2009 11:42 AM, Mark Thomas wrote:
On 18/12/2009 16:21, André Warnier wrote:
or do I need some
special editor or setting, or do I just convert these codes to their
UTF-8 equivalents and submit it as such ?
You can use:
André Warnier a...@ice-sa.com wrote in message
news:4b2bdc92.9050...@ice-sa.com...
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/18/2009 11:42 AM, Mark Thomas wrote:
On 18/12/2009 16:21, André Warnier wrote:
or do I need some
special editor or
network ACLs and
iptables and mod_jk, but I was really hoping to do mod_proxy_balancer.
While there's some administrative separations between the programmers
and the system administrators that prevent me from writing servlets on
top of Tomcat, this is a nice tip.
All in all, I personally like Bill's lazy
always use network ACLs and
iptables and mod_jk, but I was really hoping to do mod_proxy_balancer.
While there's some administrative separations between the programmers
and the system administrators that prevent me from writing servlets on
top of Tomcat, this is a nice tip.
All in all, I personally
is a gem. Indeed, I can always use network ACLs and
iptables and mod_jk, but I was really hoping to do mod_proxy_balancer.
While there's some administrative separations between the programmers
and the system administrators that prevent me from writing servlets on
top of Tomcat, this is a nice tip.
All
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer
If anyone points me to where the code of the RemoteAddrValve can be
found, I'd like to have a look.
Download the source package, and look in:
apache-tomcat-6.0.20-src/java
Howdy!
I'm trying to ensure that only specific instances of Apache are allowed
to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it
looks like Tomcat is seeing the actual client IP making the original
request to Apache. Does anyone have a configuration that only allows
Martin B. Smith wrote:
Howdy!
I'm trying to ensure that only specific instances of Apache are allowed
to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it
looks like Tomcat is seeing the actual client IP making the original
request to Apache. Does anyone have a configuration
Martin B. Smith wrote:
Howdy!
I'm trying to ensure that only specific instances of Apache are allowed
to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it
looks like Tomcat is seeing the actual client IP making the original
request to Apache. Does anyone have a configuration
André Warnier a...@ice-sa.com wrote in message
news:4b294eb6.4090...@ice-sa.com...
Martin B. Smith wrote:
Howdy!
I'm trying to ensure that only specific instances of Apache are allowed
to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it
looks like Tomcat is seeing the
for the suggestions. I had considered them, but wanted
some additional, more specific protections without going to mod_jk.
Bill, your post is a gem. Indeed, I can always use network ACLs and
iptables and mod_jk, but I was really hoping to do mod_proxy_balancer.
While there's some administrative separations between
?
Or does anybody has a running configuration with apache2.2,
mod_proxy_balancer and tomcat 5.5. where these problems does not occur?
kind regards
Janning
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
errors?
Or does anybody has a running configuration with apache2.2, mod_proxy_balancer
and tomcat 5.5. where these problems does not occur?
kind regards
Janning
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
Hi guys!
I can't find any documentation regarding session affinity using
mod_proxy_balancer (http protocol).
Anyone have or know where i cand find it?
Thanks
On 12.03.2009 10:43, Andrew Hole wrote:
Hi guys!
I can't find any documentation regarding session affinity using
mod_proxy_balancer (http protocol).
Anyone have or know where i cand find it?
Look for route and stickysession on the page
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
On Tue, Oct 14, 2008 at 7:20 AM, AD [EMAIL PROTECTED] wrote:
My issue is that the tomcat app, seems to want to redirect to
/myapp1/some/file.html for a 302 (as an example) which is causing the
issue. is there a way around this ? This path gets back to apache which
gets back to the end
AD schrieb:
Hassan,
Sorry about the copy/paste issue, i meant to use AJP
My issue is that the tomcat app, seems to want to redirect to
/myapp1/some/file.html for a 302 (as an example) which is causing the
issue. is there a way around this ? This path gets back to apache which
gets
Hassan,
Sorry about the copy/paste issue, i meant to use AJP
My issue is that the tomcat app, seems to want to redirect to
/myapp1/some/file.html for a 302 (as an example) which is causing the
issue. is there a way around this ? This path gets back to apache which
gets back to the end user
hello,
If i have a tomcat app deployed at http://localhost:8080/myapp1/ and
http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map /
to each one of these apps, is this possible?
Trying something like
Proxy balancer://app1/
BalancerMember ajp://localhost:8009/app1/
On Mon, Oct 13, 2008 at 7:17 PM, AD [EMAIL PROTECTED] wrote:
If i have a tomcat app deployed at http://localhost:8080/myapp1/ and
http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map /
to each one of these apps, is this possible?
Possible? Sure. Good idea? Probably not.
Rats, sorry, copy/paste failure there, mail sent prematurely ...
Assuming port 8080 --
Proxy balancer://whatever
BalancerMember http://localhost:8080/app1/
BalancerMember http://localhost:8080/app2/
/Proxy
And that would be configured the same for both virtual hosts.
ProxyPass /
Hello,
I just looked at mod_jk2. I was looking for a way to add programmatically a
worker to the balancer with mod_jk or mod_proxy_balancer, but couldn't find a
way. And then I saw in the mod_jk2 documentation:
1. Edit workers2.properties. Add a new channel. If you want, also add a
worker.ajp
frannack Guimard schrieb:
Hello,
I just looked at mod_jk2. I was looking for a way to add programmatically a
worker to the balancer with mod_jk or mod_proxy_balancer, but couldn't find a
way. And then I saw in the mod_jk2 documentation:
1. Edit workers2.properties. Add a new channel. If you
that work a way
or an other to manage my zillion tomcat instances :)
Thank you.
Franck
Date: Fri, 28 Mar 2008 17:16:53 +0100
From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject: Re: jk2 vs mod_jk and mod_proxy_balancer
frannack Guimard schrieb:
Hello,
I just looked
Subject: Re: jk2 vs mod_jk and mod_proxy_balancer
frannack Guimard schrieb:
Hello,
I just looked at mod_jk2. I was looking for a way to add programmatically a
worker to the balancer with mod_jk or mod_proxy_balancer, but couldn't find a
way. And then I saw in the mod_jk2 documentation:
1. Edit
PROTECTED]
To: users@tomcat.apache.org
Subject: Re: jk2 vs mod_jk and mod_proxy_balancer
frannack Guimard schrieb:
Rainer,
Thank you for your input. I send you another e-mail but it looks like you
didn't get. I tried to use apachectl graceful after updating my
worker.properties files
Mladen Turk wrote:
No. It works with any protocol.
Proxy balancer://mycluster
BalancerMember ajp://hotstandby status=disabled
BalancerMember ajp://node1 redirect=hotstandby
BalancerMember ajp://node2 redirect=hotstandby
...
BalancerMember ajp://nodeN redirect=hotstandby
/Proxy
[EMAIL PROTECTED] wrote:
Mladen Turk wrote:
No. It works with any protocol.
Proxy balancer://mycluster
BalancerMember ajp://hotstandby status=disabled
BalancerMember ajp://node1 redirect=hotstandby
BalancerMember ajp://node2 redirect=hotstandby
...
BalancerMember ajp://nodeN
Mladen Turk wrote:
Right, sorry :)
status=d or status=D
(a single letter).
there is additional stopped option (s), so you can
concat those, (eg. status=SD means stopped and disabled).
If you edit httpd.conf and restart apache then you add
+ or - prefixes.
For example if status was disabled you
Hello,
using Apache 2.2.0/mod_proxy_balancer, is it possible to configure a
proxy balancer with two balancer members, where one of the two only gets
the requests, if the other one fails?
In mod_jk that was possible using local_worker_only, but with
mod_proxy_balancer I have not yet understood
PROTECTED] wrote:
Hello,
using Apache 2.2.0/mod_proxy_balancer, is it possible to configure a
proxy balancer with two balancer members, where one of the two only
gets
the requests, if the other one fails?
In mod_jk that was possible using local_worker_only, but with
mod_proxy_balancer I have not yet
[EMAIL PROTECTED] wrote:
Hello,
using Apache 2.2.0/mod_proxy_balancer, is it possible to configure a
proxy balancer with two balancer members, where one of the two only gets
the requests, if the other one fails?
Sure, use status=disabled and redirect=xxx.
So... BalancerMember ajp://xxx
52 matches
Mail list logo