[jboss-user] [JBossCache] - Can I ask a cache for its current size?

2008-02-07 Thread nanreh
I can see the total element count for my cache in a JMX console but I'm wondering if there's any way to ask an instance of Cache for that value without going through JMX. I've looked over the Cache API and I may be missing it. thnx... n View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBossCache] - Re: REPL_ASYN replication question.

2008-02-07 Thread nanreh
Great information, thanks for the replies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127568#4127568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127568 ___ jboss-user m

[jboss-user] [JBossCache] - REPL_ASYN replication question.

2008-02-05 Thread nanreh
Simple question: when using REPL_ASYNC, how long can I expect it to take for a cache to initiate replication after a local transaction commits? I haven't seen this answered in the documentation or this forum. I'm wondering if the cache initiates replication immediately following a local commit

[jboss-user] [JBossCache] - Re: STREAMING_STATE_TRANSFER fails with lots of data.

2007-06-13 Thread nanreh
Thanks for the information and the quick response, setting the LoackAcquisitionTimeout to a bigger value (2 minutes) fixed the issue I was seeing and the state transfer now works fine. I'll lookout for the switch over to InitialStateRetrievalTimeout in a future release but the workaround is fin

[jboss-user] [JBossCache] - Re: STREAMING_STATE_TRANSFER fails with lots of data.

2007-06-12 Thread nanreh
Thanks Bela, I was able to reproduce the issue easily enough and I'll open a JIRA issue in a short while after cleaning up the test case. frank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053740#4053740 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBossCache] - STREAMING_STATE_TRANSFER fails with lots of data.

2007-06-11 Thread nanreh
Setup: I'm using Java 5 and JBossCache CR2.0 on Linux. I have two cache instances with their own BDBJE cache loaders configured to "fetchPersistentState" on startup. This works with a standard STATE_TRANSFER and also works for STREAMING_STATE_TRANSFERs except when I have lots of cache state to

[jboss-user] [JBossCache] - Re: BdbjeCacheLoader exception with JTA distributed transact

2007-06-11 Thread nanreh
Thanks Manik for looking into this issue--I had another forum post which cleared it up for me: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109512 I was running a distributed transaction manager with JBoss Cache and none of my transactions were being committed. I'm now running loca

[jboss-user] [JBossCache] - 2PC question

2007-05-25 Thread nanreh
Hi there, The JBoss Cache 2.0.0 FAQ says: anonymous wrote : | 2.2.1 Does JBoss Cache support XA (2PC) transactions now? | | No, although it is also on our to do list. Our internal implementation does use a procedure similar to 2PC to coordinate a transaction among different instances, b

[jboss-user] [JBossCache] - Re: BdbjeCacheLoader exception with JTA distributed transact

2007-05-23 Thread nanreh
One additional possible hint: when I shut the process down a shutdown hook runs to do an orderly shutdown of jacorb which is being used by JBoss Transactions for distributed transactions. BdbjeCacheLoader throws an exception when it's asked to shutdown apparently due to a lingering open transac

[jboss-user] [JBossCache] - BdbjeCacheLoader exception with JTA distributed transactions

2007-05-23 Thread nanreh
I have a simple cache configuration that specifies a single BdbjeCacheLoader. I'm using JBoss Transactions and specifying transaction boundaries in my code using JTA. Here's one of the two transactional methods in my application: | public byte[] loadData(byte[] key) throws ShardStoreExc