[jboss-user] [JBoss Cache Users] - Invalidation mode and state retrieval

2009-12-10 Thread rs1050
Hi, If I have an invalidation cluster: | | | ... | What does stateRetrieval control in this case? Does it still control whether this cache JVM would retrieve all the objects from other cluster members? 2. If i have | | | | ... | Image I fist start a

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-25 Thread rs1050
Thank you, good point. But I in case of invalidation and the situation you described I would expect that the timeoutexception would not be thrown to the caller. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267583#4267583 Reply to the post : http://www.jb

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-21 Thread rs1050
In debugger i see that inside MVCCHelper.acquireLock:159 invocation context's option overrides the value of lockAcquisitionTimeout to zero, even though for testing sake i explicitly set it to non-zero. What is more interesting, is that in the main thread a second later i can still see my correct

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-20 Thread rs1050
In my case i see that two jvms are each trying to update the same set of nodes, however i have lockAcquisitionTimeout="20" so I expected that they would have at least waited that long before freaking out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-17 Thread rs1050
I can't believe I am the only one facing this problem. There has to be some problem with the way jboss cache handles JTA transactions. I was able to get the same problem with running one instance inside resin and enother on jotm. View the original post : http://www.jboss.org/index.html?module=

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-16 Thread rs1050
Hi, Any ideas as to what might be causing it this problem? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265979#4265979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265979 ___

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-14 Thread rs1050
apologies, the log was too long for forum. This is shorter version before the exception: | Nov 14 18:49:13,194 [main] TRACE EvictionInterceptor:registerEvictionEventToRegionManager:254 - Registering event ADD_ELEMENT_EVENT on node /hphRTp4/0:0_2 | Nov 14 18:49:13,194 [main] TRACE TcpDeleg

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-06 Thread rs1050
thank you, it did fix the exception. Here is the log with the JDBC loader, same problem as with TCPDelegatinLoader. | 20:42:38,187 [http--8080-1$23822211] INFO TestUser:getSomething:13 - yoyo: | 20:42:38,189 [http--8080-1$23822211] TRACE ComponentRegistry:invocationsAllowed:877 - Testing

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-06 Thread rs1050
Here is the full config. Commented out section is what i used for TcpDelegatingCacheLoader. | | | http://www.w3.org/2001/XMLSchema-instance"; xmlns="urn:jboss:jbosscache-core:config:3.0"> | | | | | | | | | | | | | | |

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-05 Thread rs1050
No, region based marshalling is not enabled. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207568#4207568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207568 ___ jboss-user

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-05 Thread rs1050
Is there anything that i can try or provide to help investigation? This is an important bug for us. Thank you. RS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207493#4207493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-04 Thread rs1050
sorry for posting twice, i thought the first post got lost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207022#4207022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207022

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-04 Thread rs1050
still getting same exception, same line on VersionAwareMarshaller (334) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207020#4207020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207020 ___

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-04 Thread rs1050
still getting same exception, same line on VersionAwareMarshaller (334) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206923#4206923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206923 ___

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-04 Thread rs1050
the first one (commented out) is the only i had when reporting the error at the beginning of this thread. | | | | | | | | |

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-03 Thread rs1050
I tried using jdbc cacheloader with this config: cache.jdbc.table.name=jbosscache cache.jdbc.table.create=true cache.jdbc.table.drop=true cache.jdbc.table.primarykey=jbosscache_pk cache.jdbc.fqn.column=fqn cache.jdb

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-02-02 Thread rs1050
my previous post and this one uses resin and 3.0.3 snapshot. 20:22:31,403 [http--8080-1$21578710] INFO UserManagerImpl:updateUser:58 - user TX before start of TX: UserTransactionProxy[], status: 6 20:22:31,404 [http--8080-1$21578710] INFO UserManagerImpl:updateUser:63 - started user TX: UserTr

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

2009-01-31 Thread rs1050
I tried using latest 3.0.3 snapshot (from Jan 27) - same problem. I am using resin. Here is the code (cleanup a bit for readability) from the class UserMangerImpl: UserTransaction utx= null; Context context = new InitialContext(); utx = (UserTransaction) context.lookup("java:comp/UserTransactio

[jboss-user] [JBoss Cache: Core Edition] - Far cache problem (3.0.2) tx problems

2009-01-30 Thread rs1050
Hi, I am using 3.0.2 GA. I have a 'far cache' design. What i observed is: 1. I open JTA tx 2. write to local cache (which is hooked to remote cache via TcpDelegatingCacheLoader) 3. write to DB 4. rollback tx 5. get value from local cache Result: 1) the far cache is correct, it never gets the v

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache (TcpCacheServer) configuration

2009-01-02 Thread rs1050
Anyone - any ideas as to what might be causing de-serialization problem? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199287#4199287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199287 __

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache (TcpCacheServer) configuration

2008-12-30 Thread rs1050
After come debugging here is what I see: 1. TCPServer does get request from the 'A' and send back non-empty map (instance of Immutables.ImmutableMapWrapper) for the requested node. 2. TCPDelegatingCacheLoaders does get an empty Immutables.ImmutableMapWrapper even though I see that it actually

[jboss-user] [JBoss Cache: Core Edition] - Far cache (TcpCacheServer) configuration

2008-12-29 Thread rs1050
Hi, I am trying to configure a far cache where the data is stored in stand-alone storage caches (S) exposed via TcpCacheServer. An application (A) uses TcpDelegatingCacheLoader to access remote cache. In the simplest setup i have one 'S' jvm and one 'A' jvm. 'S' has buddy replication. 'A' does

[jboss-user] [JBoss Cache: Core Edition] - No-storage nodes (coherence-like feature) question

2008-12-28 Thread rs1050
Hi, I am trying to assess JBoss Cache capabilities. My app is a web site, and I plan to cache the data in a cluster of external cache jvms (partitioned cache, using coherence language). I would like not to store anything in the app server JVM itself, making it a no-storage enabled node (i.e. i