I have not defined its value. It works fine if I do, however, I am
expecting it to use the default instead.
Sincerely,
Manak Bisht
On Thu, 21 Mar 2024, 19:18 Christopher Schultz, <
ch...@christopherschultz.net> wrote:
> Manak,
>
> On 3/21/24 05:38, Manak Bisht wrote:
> > Th
org.apache.catalina.tribes.group.ChannelInterceptorBase.heartbeat(ChannelInterceptorBase.java:98)
at
org.apache.catalina.tribes.group.GroupChannel.heartbeat(GroupChannel.java:154)
at
org.apache.catalina.tribes.group.GroupChannel$HeartbeatThread.run(GroupChannel.java:692)
Sincerely,
Manak Bisht
wever, I also think that this should be looked into deeper to solve the
actual problem.
I understand that this discussion might be more fit for the dev mailing
list, please let me know if you think the above holds merit, and I will
move it there.
Sincerely,
Manak Bisht
y appreciate it.
Sincerely,
Manak Bisht
On Mon, Feb 12, 2024 at 9:07 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Manak,
>
> On 2/12/24 10:33, Manak Bisht wrote:
> > Chris,
> >
> > On Mon, 12 Feb 2024, 20:52 Christopher Schultz, <
> > ch...@
ferent machines)
in my main deployment. I just reproduced the problem on the same host to
rule out network issues.
Sincerely,
Manak Bisht
ully -
java.net.InetAddress bind = java.net.InetAddress.getByName("tomcat");
System.out.println(bind); // Output: tomcat/ip
Sincerely,
Manak Bisht
I think I have narrowed down the problem. For Tomcat 9 (v9.0.85), using
0.0.0.0 for the local member and receiver works fine. However, the same
does not work in Tomcat 8.5 (v8.5.98).
Sincerely,
Manak Bisht
On Fri, Feb 2, 2024 at 9:41 PM Mark Thomas wrote:
> On 31/01/2024 13:33, Manak Bi
you please share your server.xml? Did you make any other changes?
Sincerely,
Manak Bisht
>
I want to obfuscate values of query params for certain URLs, however, I
would still like to log the request. Therefore, I cannot use the existing
conditionif/conditionunless attributes that AccessLogValve provides.
Sincerely,
Manak Bisht
On Fri, Jan 26, 2024 at 6:18 PM Mark Thomas wrote:
>
Hi,
I am trying to extend the AccessLogValve to modify logging behaviour for
certain URLs. However, I don't have access to the request object in the
AccessLogValve API. So, I am left with regex matching on the CharArrayWriter
message object. Is there a better way to do this?
Sincerely,
Hi Mark,
I tried running your *cluster-test* war example on a stock 8.5.98
installation, however, I am facing the same issue. Session sync does not
trigger on restarting a node. Could you please share your configuration?
Sincerely,
Manak Bisht
version available. I know I am playing very fast and loose with the
definition of EOL when the current version is 8.5.98. Since the
StaticMembershipInterceptor has been available for a long time, I thought I
could make it work without those two features.
Sincerely,
Manak Bisht
On Tue, Jan 23, 2024 at 3
ease let me know if
any more information is required to help debug this issue.
Sincerely,
Manak Bisht
On Sun, Jan 14, 2024 at 11:09 PM Manak Bisht wrote:
> Hi,
> I am using DeltaManager (static membership) with non-sticky load balancing
> on two nodes. I have observed even load, and req
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}) -
Any help would be greatly appreciated.
Sincerely,
Manak Bisht
Hi, is it possible to use values passed as arguments through
*JAVA_OPTS *or *CATALINA_OPTS
*in the *server.xml*?
Sincerely
Manak Bisht
* according to the Tomcat 9.0 documentation (
https://tomcat.apache.org/tomcat-9.0-doc/config/cluster.html).
Why does this distinction exist?
Sincerely
Manak Bisht
t; Why channelStartOptions=3 ? I think this shoudl use the default.
I am still not sure why this distinction exists.
Sincerely
Manak Bisht
Hi Mark
Could you please clarify this?
On Fri, Dec 1, 2023 at 3:40 PM Manak Bisht wrote:
> The channelStartOptions setting is from the documentation
> https://tomcat.apache.org/tomcat-8.5-doc/config/cluster.html
> *"To start a channel without multicasting, you would want to
ders: *In the previous email, I *incorrectly* mentioned
that the tag (in the *web.xml*) had been deprecated. The
documentation is referring to the *distributable *attribute of the *Manager
*component.
Sincerely
Manak Bisht
noticed a lot
of load imbalance on my servers due to user usage patterns. I haven't been
able to figure out an alternate way to solve that.
My session object is also fully/largely immutable, so I am thinking that I
won't encounter the parallel requests problem.
Sincerely
Manak Bisht
s with "0.0.0.0" fixed the issue.
Thanks for pointing that out.
Sincerely
Manak Bisht
Sorry, I forgot to mention, but I am using Tomcat 8.5
Sincerely
Manak Bisht
On Fri, Dec 1, 2023 at 3:40 PM Manak Bisht wrote:
> Thanks for the reply Mark.
>
> The channelStartOptions setting is from the documentation
> https://tomcat.apache.org/tomcat-8.5-doc/config/cluster.html
&g
o says that the *distributable *tag is
deprecated and ignored since Tomcat 8 (https://tomcat.apache.org/migration-9
)
*"The distributable attribute has been deprecated in 8.0 and specified
value is ignored."*
Sincerely
Manak Bisht
On Fri, Dec 1, 2023 at 2:21 PM Mark Thomas wrote:
> On 01/12/2
*
*Node_2*
What am I doing wrong here? Any help would be greatly appreciated.
Sincerely
Manak Bisht
Is it not possible to extract the sessions from the servlet container in my
application code? I could elect a node to schedule a periodic serialization
to a data store. On restarts, I could deserialize from this store to inject
the sessions back into the servlet container. I would handle the sessio
some case where both of them need to be used together?
Sincerely
Manak Bisht
On Tue, Jun 13, 2023 at 1:26 AM Mark Thomas wrote:
> Try https://people.apache.org/~markt/dev/cluster-test.war instead.
>
> Mark
>
Sure, I will give that a try. But is there some issue with the
*carts.jsp *example?
Or is it not meant for this purpose?
Thank you for the clarification. Sorry, it took me a while to understand
your point.
I have successfully changed the cluster settings,
For node with http port 8090
```
Thanks for the response! I did follow this example
https://people.apache.org/~markt/dev/server-static-cluster-example.xml. The
only difference being that I am using tomcat 8.5 so I am using the
StaticMembershipInterceptor instead. In my second email, I have followed
this configuration, however I en
I am using the DeltaManager to support non-sticky sessions. Every node has
a copy of the session information, therefore, there's no issues with this
setup in a live application.
However, sometimes, in a new build, there are changes which require
downtime on all nodes (certain db changes for example
I am not sure if the receiver port should be the same or different from the
localmember port. However, changing that to 4001 for node with localmember
at 8090 and to 4002 for node with localmember at 8190, I am encountering
the following error -
```
12-Jun-2023 15:00:29.885 INFO [main]
org.apache.c
On Mon, Jun 12, 2023 at 1:50 PM Mark Thomas wrote:
> On 10/06/2023 18:11, Manak Bisht wrote:
> > I am trying to run the carts example (*/examples/jsp/sessions/carts.jsp*)
> > with two nodes, on ports 8090 and 8190. The nodes are working fine
> > individually. However, I
at 8.5
<https://tomcat.apache.org/tomcat-8.5-doc/api/org/apache/catalina/tribes/membership/package-summary.html>.
A similar such service exists for multicast (McastService) in both
versions. How am I supposed to use static clusters in tomcat 8.5 then? Any
help would be greatly appreciated.
Sin
I am trying to run the carts example (*/examples/jsp/sessions/carts.jsp*)
with two nodes, on ports 8090 and 8190. The nodes are working fine
individually. However, I am trying to create a cluster with static members
(without multicast), but I keep encountering the following error -
09-Jun-2023 22:
34 matches
Mail list logo