[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-11 Thread [EMAIL PROTECTED]
Thanks, I assigned it to 1.2.4 (next release) in JIRA.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881197#3881197

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881197


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-11 Thread soeren
Hi Bela,

it took me quite some hours today to find the exact problem but finally I was 
able to reproduce it. I have compiled everything together in JBCACHE-192.


Best regards,
Soeren


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881178#3881178

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881178


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-10 Thread [EMAIL PROTECTED]
Locking can be used separately from a TxManager. 

If you have a TxManager *and* you started a TX, then all locks are held until 
the end of the TX.

If you didn't start a TX, or don't have a TxManager installed, the scope of the 
locks is per method call

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881136#3881136

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881136


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-10 Thread soeren
Hi Bela,

"[EMAIL PROTECTED]" wrote : In 1.2.3, running *without* transactions, we 
acquire the locks during a method call, and release them after the call returns.

Sorry to ask you for this detail: Default mode (as the zip from sourceforge 
comes) means "REPEATABLE_READ". This just means a locking strategy but not a 
transaction manager involved? Or does this involve some JBossCache-built-in 
t.m.? I'm a little confused as it looks like for me if the use of a transcation 
manager and the node locking level are not linked together in any way? Coming 
from a database background I know there's always a transaction manager 
somewhere, otherwise locking is quite not possible. I need to be clear with 
this as to reproduce a matching case eventually for this:

"[EMAIL PROTECTED]" wrote : If your locks are not released, then this is a bug, 
or you're not committing your transactions. Create a reproducable unit test and 
a JIRA case and attach it to the JIRA case.

To commit a transaction I must use a transaction manager, correct? So I assume 
that the use of "REPEATABLE_READ" in fact involves a JBossCache provided 
transaction manager BUT THEN I should use something like " tx.begin()" and 
"tx.end()" around each "cache.put(node)" call? This is somewhat surprising me 
as in 1.2.2 I just coded a "cache.put(node)" without any transaction code. So 
probably I've missed something so far in our coding? E.g. the very short demo 
code in chapter 4 of http://docs.jboss.org/jbcache/current/TreeCache/html/ also 
doesn't involve any transactional code.

Currently we're using the - default setting - DummyTransactionManagerLookup as 
Transaction manager. Rereading the docs now it's not clear to me if this is 
suitable for an standalone (outside JBoss) application. We're planning to have 
some 6-10 clients here on different physical hosts and having REPEATABLE_READ 
would be nice but not necessary at all.


Thanks,
Soeren Gerlach


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881121#3881121

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881121


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-10 Thread [EMAIL PROTECTED]
In 1.2.3, running *without* transactions, we acquire the locks during a method 
call, and release them after the call returns.
If your locks are not released, then this is a bug, or you're not committing 
your transactions. Create a reproducable unit test and a JIRA case and attach 
it to the JIRA case.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881112#3881112

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881112


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user