[
https://issues.jboss.org/browse/ISPN-2255?page=com.atlassian.jira.plugin....
]
Zdenek Henek commented on ISPN-2255:
------------------------------------
some recent emails related to this bug report:
---------- Forwarded message ----------
From: Zdeněk Henek <vrablik(a)gmail.com>
Date: Tue, Dec 18, 2012 at 11:24 PM
Subject: Re: FGAM issue
To: Vladimir Blagojevic <vblagoje(a)redhat.com>
Vladimir,
I have created clean configuration of tomcat. I have there only ispn
and tomcat session manager + the test application.
Using FGAM doesn't cause null values, but when I use loadbalancer and
sending requests I see different cache item states on each cluster
node.
When I change the distribution numOwners to 3 and using three cluster
nodes I get correct results.
I see in cache statistics 2 cache items, which is correct as I have
one cache item for session data and one for session metadata.
Attached is my infinispan and jgroups xml config file and all 3 server
log files. I am using jdbc ping, oracle java 7u5. OS (debian 6 and two
fedora 17 - no virtual machines)
I am using jbosstm version 4.16.0 as I haven't found any jboss
transaction manager jar file in lib folder when I downloaded Beta 6.
All other libraries I have from the Beta 6 zip file:
Libraries I am using:
rw-r--r--. 1 zvrablik zvrablik 15264 Nov 18 17:16 annotations-api.jar
-rw-r--r--. 1 zvrablik zvrablik 54802 Nov 18 17:16 catalina-ant.jar
-rw-r--r--. 1 zvrablik zvrablik 132672 Nov 18 17:16 catalina-ha.jar
-rw-r--r--. 1 zvrablik zvrablik 1559488 Nov 18 17:16 catalina.jar
-rw-r--r--. 1 zvrablik zvrablik 255149 Nov 18 17:16 catalina-tribes.jar
-rw-r--r--. 1 zvrablik zvrablik 1749257 Nov 18 17:16 ecj-3.7.2.jar
-rw-r--r--. 1 zvrablik zvrablik 46085 Nov 18 17:16 el-api.jar
-rw-r--r--. 1 zvrablik zvrablik 2462877 Dec 17 14:05 infinispan-core.jar
-rw-r--r--. 1 zvrablik zvrablik 123207 Nov 18 17:16 jasper-el.jar
-rw-r--r--. 1 zvrablik zvrablik 595507 Nov 18 17:16 jasper.jar
-rw-r--r--. 1 zvrablik zvrablik 1498704 Aug 30 12:44 jbossjts-4.16.0.jar
-rw-r--r--. 1 zvrablik zvrablik 60796 Jul 11 16:23 jboss-logging-3.1.1.GA.jar
-rw-r--r--. 1 zvrablik zvrablik 229949 Jul 12 00:56
jboss-marshalling-1.3.15.GA.jar
-rw-r--r--. 1 zvrablik zvrablik 82089 Jul 12 00:57
jboss-marshalling-river-1.3.15.GA.jar
-rw-r--r--. 1 zvrablik zvrablik 11209 Jul 11 12:48
jboss-transaction-api_1.1_spec-1.0.0.Final.jar
-rw-r--r--. 1 zvrablik zvrablik 3380 Aug 16 16:55 jbossts-properties.xml
-rw-r--r--. 1 zvrablik zvrablik 2254 Jul 11 12:44 jcip-annotations-1.0.jar
-rw-r--r--. 1 zvrablik zvrablik 1985110 Dec 5 12:26 jgroups-3.2.4.Final.jar
-rw-rw-r--. 1 zvrablik zvrablik 4545 Dec 18 22:43 jgroupsConfig.xml
-rw-r--r--. 1 zvrablik zvrablik 88690 Nov 18 17:16 jsp-api.jar
-rw-r--r--. 1 zvrablik zvrablik 20639 Aug 30 12:44 log4j-over-slf4j-1.6.4.jar
-rw-r--r--. 1 zvrablik zvrablik 246707 Aug 30 12:44 logback-classic-1.0.0.jar
-rw-r--r--. 1 zvrablik zvrablik 2725 Sep 5 12:18 logback.content.xml
-rw-r--r--. 1 zvrablik zvrablik 327912 Aug 30 12:44 logback-core-1.0.0.jar
-rw-r--r--. 1 zvrablik zvrablik 349 Jul 23 17:47 logback.xml
-rw-r--r--. 1 zvrablik zvrablik 2095932 Aug 30 12:44 ojdbc5.jar
-rw-r--r--. 1 zvrablik zvrablik 7616 Jul 11 12:43
rhq-pluginAnnotations-3.0.4.jar
-rw-r--r--. 1 zvrablik zvrablik 177567 Nov 18 17:16 servlet-api.jar
-rw-r--r--. 1 zvrablik zvrablik 25962 Aug 30 12:44 slf4j-api-1.6.4.jar
-rw-r--r--. 1 zvrablik zvrablik 182112 Jul 11 12:48 stax2-api-3.1.1.jar
-rw-r--r--. 1 zvrablik zvrablik 36001 Jul 11 12:48 staxmapper-1.1.0.Final.jar
-rw-r--r--. 1 zvrablik zvrablik 534 Aug 10 09:09 test-logback.xml
-rw-r--r--. 1 zvrablik zvrablik 6872 Nov 18 17:16 tomcat-api.jar
-rw-r--r--. 1 zvrablik zvrablik 774470 Nov 18 17:16 tomcat-coyote.jar
-rw-r--r--. 1 zvrablik zvrablik 235410 Nov 18 17:16 tomcat-dbcp.jar
-rw-rw-r--. 1 zvrablik zvrablik 34737 Dec 7 10:41
tomcatDistributedSessionManager-1.0.2.7.0.28-SNAPSHOT.jar
-rw-r--r--. 1 zvrablik zvrablik 77338 Nov 18 17:16 tomcat-i18n-es.jar
-rw-r--r--. 1 zvrablik zvrablik 48669 Nov 18 17:16 tomcat-i18n-fr.jar
-rw-r--r--. 1 zvrablik zvrablik 51642 Nov 18 17:16 tomcat-i18n-ja.jar
-rw-rw-r--. 1 zvrablik zvrablik 9412 Dec 7 10:41 tomcatJBossTM-1.0.jar
-rw-r--r--. 1 zvrablik zvrablik 123582 Nov 18 17:16 tomcat-jdbc.jar
-rw-r--r--. 1 zvrablik zvrablik 23078 Nov 18 17:16 tomcat-util.jar
-rw-r--r--. 1 zvrablik zvrablik 478446 Jul 11 12:48
woodstox-core-asl-4.1.1.jar
I have now ready the test cluster. Let me know if you would like me to
run more tests here locally.
Regards,
Zdenek
On Tue, Dec 18, 2012 at 9:30 PM, Vladimir Blagojevic
<vblagoje(a)redhat.com> wrote:
Zdenek,
Thank you and keep us updated! The test you wrote is very much embedded in
your project and I would rather develop a new one trying to mimic the issue
you discovered. However, if it works we can put writing the test on lower
priority.
Regards,
Vladimir
On 12-12-18 3:27 PM, Zdeněk Henek wrote:
>
> Hi Vladimir,
>
> yes, I am interested and willing to help you and using FGAM would make
> the tomcat session manager quicker as only part of session would be
> locked.
> I am sorry I haven't got much time to test again.
> I am using the AtomicMap instead as you suggested in the forum thread.
>
> I have done upgrade to 5.2 Beta, but I got other exceptions and wasn't
> able to get my configuration running and then I was postponing the
> tests.
>
> I run tests using latest 5.2 release and let you know.
>
> Regards,
> Zdenek
>
> On Tue, Dec 18, 2012 at 8:46 PM, Vladimir Blagojevic
> <vblagoje(a)redhat.com> wrote:
>>
>> Hi Zdenek,
>>
>> I am writing to you regarding FineGrainedAtomicMap issue desribed in
>>
https://community.jboss.org/message/751457#751457
>>
>> Are you still experiencing it? We have made some improvements and I was
>> wondering if you tried it with recent Infinispan releases. Even if you
>> are
>> not interested in this issue any more let me know as I will then try to
>> resolve it on my own.
>>
>> Regards,
>> Vladimir
FineGrainedAtomicMap missing key,value pairs in some cluster nodes in
distributed mode, embedded infinispan cache
-----------------------------------------------------------------------------------------------------------------
Key: ISPN-2255
URL:
https://issues.jboss.org/browse/ISPN-2255
Project: Infinispan
Issue Type: Bug
Components: Fine-grained API
Affects Versions: 5.1.5.FINAL
Environment: Details about cluster:
1. Infinispan 5.1.5
2. java 7u5 64bit
3. linux 64bit (two nodes debian and one node ubuntu)
4. tomcat 7.0.28
5. jbossTM 4.16.0 JTA only
Tomcat integration code is here:
https://github.com/zvrablik/tomcatInfinispanSessionManager/tree/master/to...
6. all machines are on real hw ( no virtual machines), date and time is synchronized and
shouldn't vary more than 1 second
Reporter: Zdenek Henek
Assignee: Vladimir Blagojevic
Fix For: 5.2.0.CR1
I am using FineGrainedAtomicMap to store data into clustering distributed cache. When
clustering set to replicated doesn't cause any issues or at least I haven't run
into any. When I switch to distributed mode I don't see some key,value pairs in some
nodes. This happens randomly. The numOwners is set to two and I have cluster of three
nodes.
more details:
https://community.jboss.org/thread/203420?tstart=60
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira