Hello Filip
You solved my issue! Thank you very much!
Thanks everyone
João
Joao,
try channelSendOptions="6"
this will mean that
1. You wish to use ACK's (option 2)
2. You wish the ACK to be synchronous
If you don't have the 0x0002 option enabled, it wont use ACKs at all.
Filip
On Thu, Jul 3, 2014 at 4:44 PM, João Sávio wrote:
> If I set channelSendOptions="8" (def
If I set channelSendOptions="8" (default value = asynchronous), the % of
errors increase (as expected)
Regards
João
2014-07-03 19:43 GMT-03:00 João Sávio :
> I don't think so.
>
> Here it is: http://pastebin.com/qYCzmECb (server.xml - node1)
>
> Regards
> João
>
--
http://joaosavio.wordpre
I don't think so.
Here it is: http://pastebin.com/qYCzmECb (server.xml - node1)
Regards
João
did you post your server.xml cause I can't find it?
On Thu, Jul 3, 2014 at 4:25 PM, João Sávio wrote:
> Hello Filip
>
> I'm using channelSendOptions="4", which is supposed to be synchronous
>
> Regards
> João
>
Hello Filip
I'm using channelSendOptions="4", which is supposed to be synchronous
Regards
João
A race condition could happen if you set replication to happen async. But I
do have a memory of the configuration specifying synchronous replication,
which would guarantee that the replication changes have happened before the
request is complete.
On Thu, Jul 3, 2014 at 3:51 PM, Christopher Schu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mark,
On 7/3/14, 2:19 PM, Mark Eggers wrote:
> João,
>
> This list has a convention of posting either inline or at the end
> of the message you're replying to.
>
> See here for mailing list notes:
>
> http://tomcat.apache.org/lists.html#tomcat-us
Ok, at least the stack trace is clear. The session has been invalidated
somehow.
We would need to figure out when and how this happens, is it possible that
you are doing a clean shutdown of a tomcat instance and that instance
expires all the sessions? If that is the case, kill the tomcat with 'kill
Hello Mark
In fact, I'm not explicit invalidating session on this two requests.
Regards
João
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 7/3/2014 12:11 PM, Filip Hanik wrote:
> 1. are your machines in time sync? If they are not, a session can
> get timed out. 2. 3. SEVERE: Manager [localhost#/myApp]: Unable to
> receive message through TCP channel 4.
> java.lang.IllegalStateE
Hello Filip
The nodes are in the same machine!
Regards
João
1. are your machines in time sync? If they are not, a session can get
timed out.
2.
3. SEVERE: Manager [localhost#/myApp]: Unable to receive message through
TCP channel
4. java.lang.IllegalStateException: setAttribute: Session [
DEC3612CF763194E7953DB3FD2C433E0] has already bee
Hi everyone
I ran my test (total of 1k requests, total of 100 threads) against two
nodes with default VM settings. I've just set heap size. I had about 15% of
errors.
cluster.log - node1 - http://pastebin.com/cpX900Qw
cluster.log - node2 - http://pastebin.com/qCSzMaU6
Running for a long time (to
you mention NIO and say maxThreads, that sounds like the
configuration, but the BIO receiver is on the cluster, and it a completely
different component that also has an applicable NIO configuration.
are you confusing the two?
I'm saying that you should use the NIO receiver on the cluster componen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
João,
This list has a convention of posting either inline or at the end of
the message you're replying to.
See here for mailing list notes:
http://tomcat.apache.org/lists.html#tomcat-users
On 7/3/2014 10:24 AM, João Sávio wrote:
> Hello
>
> Some p
Hello
Some points below:
** What is "on time"?*
In my application, a group of users should always hit the same node after
the first request. So, in first request each group of users will receive an
specific cookie, and LB will perform the load balancing based on this
cookie. In first request, a u
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 7/3/2014 9:12 AM, João Sávio wrote:
> cluster.log -> http://pastebin.com/c98WhnmG
>
>
> 2014-07-03 13:04 GMT-03:00 João Sávio :
>
>> Hello!
>>
>> Using NIO (with channelSendOptions="4", i.e., synchronous), with
>> lightly load, my tests pass 100
On Thu, Jul 3, 2014 at 12:04 PM, João Sávio wrote:
> Hello!
>
> Using NIO (with channelSendOptions="4", i.e., synchronous), with lightly
> load, my tests pass 100%. But, on heavy load, not all sessions are
> replicated on time,
>
Define "on time".
> and I have about 20% of errors.
>
Can you e
cluster.log -> http://pastebin.com/c98WhnmG
2014-07-03 13:04 GMT-03:00 João Sávio :
> Hello!
>
> Using NIO (with channelSendOptions="4", i.e., synchronous), with lightly
> load, my tests pass 100%. But, on heavy load, not all sessions are
> replicated on time, and I have about 20% of errors. If
Hello!
Using NIO (with channelSendOptions="4", i.e., synchronous), with lightly
load, my tests pass 100%. But, on heavy load, not all sessions are
replicated on time, and I have about 20% of errors. If I increase
maxThreads to 400, I have about 15% of errors.
More information:
* I am not performi
I'd be more inclined to continue down the path of the NIO connector, it has
been tested and used more. What are the errors you get when running with
NIO?
On Thu, Jul 3, 2014 at 8:51 AM, Konstantin Kolinko
wrote:
> 2014-07-03 18:46 GMT+04:00 João Sávio :
> > Unfortunately it's not working yet
>
2014-07-03 18:46 GMT+04:00 João Sávio :
> Unfortunately it's not working yet
>
> I increased the log level as you suggested. Log attached
>
> Thanks
>
Please read numbers 6. and 7. here:
http://tomcat.apache.org/lists.html#tomcat-users
The attachment was thrown away by the mail server.
-
Unfortunately it's not working yet
I increased the log level as you suggested. Log attached
Thanks
2014-07-03 11:10 GMT-03:00 João Sávio :
> Hello Mark
>
> Thanks for your answer. I put the new information and cluster works (maybe
> because I reboot my machine)
>
> Indeed, I'm trying BIO beca
Hello Mark
Thanks for your answer. I put the new information and cluster works (maybe
because I reboot my machine)
Indeed, I'm trying BIO because NIO is causing session replication issues on
load tests. Using NIO, I've already tried to increase maxThreads, and this
minimizes the problem, but don'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 7/2/2014 6:37 AM, João Sávio wrote:
> ?
>
>
> 2014-06-30 18:38 GMT-03:00 João Sávio :
>
>> Hello people
>>
>> This is my first message on this group! I'm trying to set up a
>> Tomcat clustering using BIO receiver but I've been receiving the
>> f
?
2014-06-30 18:38 GMT-03:00 João Sávio :
> Hello people
>
> This is my first message on this group! I'm trying to set up a Tomcat
> clustering using BIO receiver but I've been receiving the following error
> when I started two nodes and tried to enter on my application:
>
> Jun 30, 2014 9:25:12
Hello people
This is my first message on this group! I'm trying to set up a Tomcat
clustering using BIO receiver but I've been receiving the following error
when I started two nodes and tried to enter on my application:
Jun 30, 2014 9:25:12 PM
org.apache.catalina.tribes.transport.bio.BioReplicati
28 matches
Mail list logo