"Note 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 rea
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 own inter
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:
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 "
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 t
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
-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 st
Bill Barker wrote:
...
Which gives a third option to the OP, which is to use the useIPVHosts="true"
option on the , and only configure 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 kind of nagging at me s
"Mark Thomas" 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 IP of the
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 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 tha
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 do
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 RemoteAddres
"André Warnier" 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 utility.
>
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,
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 fi
"André Warnier" 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 edi
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 setting, or do I just convert these codes to their
UTF-8 equivalents and submit it as such ?
-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:
>
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.
>>
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 fus
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 l
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 lo
> 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:
apac
uot;secret" is not amongst them.
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 the programmers
and the system administrators that prevent me fr
t amongst them.
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 the programmers
and the system administrators that prevent me from writing servlets
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 the programmers
and the system administrators that prevent me from writing servlets on
top of T
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
André, thank you for the suggestions. I had considered them, but wante
"André Warnier" 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 actua
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 t
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 t
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
specifi
nse on "prefork". max should be 1 with prefork
> model. But i think this is not the reason.
>
> if max=100 is not effective, there "could" be situations where MaxClients
> of 300 all go to one tomcat beca
se of session affinity. But this is rather
theoretical.
Maybe i can't use keepalive on the tomcat side. But it seems to work. But
honestly: i am clueless.
Do you have any hints why i do encounter these connection errors?
Or does anybody has a running configuration with apache2.2, mod_pro
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/do
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
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
>
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 en
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 w
Rats, sorry, copy/paste failure there, mail sent prematurely ...
Assuming port 8080 --
BalancerMember http://localhost:8080/app1/
BalancerMember http://localhost:8080/app2/
And that would be configured the same for both virtual hosts.
ProxyPass / balancer://whatever/
ProxyPassReverse
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
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
BalancerMember ajp://localhost:8009/app1/
BalancerMember ajp://loc
gt; From: [EMAIL 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
rs@tomcat.apache.org
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_j
make 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:
>
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. I
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
worke
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
[EMAIL PROTECTED] wrote:
Mladen Turk wrote:
No. It works with any protocol.
BalancerMember ajp://hotstandby status=disabled
BalancerMember ajp://node1 redirect=hotstandby
BalancerMember ajp://node2 redirect=hotstandby
...
BalancerMember ajp://nodeN redirect=hotstandby
The only p
> Mladen Turk wrote:
> No. It works with any protocol.
>
>
> BalancerMember ajp://hotstandby status=disabled
> BalancerMember ajp://node1 redirect=hotstandby
> BalancerMember ajp://node2 redirect=hotstandby
> ...
> BalancerMember ajp://nodeN redirect=hotstandby
>
>
> The only problem
[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... Bala
M, <[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?
In mod_jk that was possible using "local_worker_only", but with
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 ha
53 matches
Mail list logo