So, I tried what you suggested, and here's what I see in the logs. In
particular, I'm seeing a message on Server B (the server replicated to) that
says:
Suppressing invocation of method
commit(GlobalTransaction:<192.168.1.174:33972>:1) on cache.
Could this be the problem, and if so, what could possibly cause this? I've
included the entire set of log statements below.
27 Jun 2006 13:48:55,107 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor -
PessimisticLockInterceptor invoked for method
prepare(GlobalTransaction:<192.168.1.174:33972>:1,
[_put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend, dummy,
dummy, true), _put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend,
AOPInstance, [EMAIL PROTECTED], true),
_put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend,
__jboss:internal:class__, class com.gifts.business.MerchantDailyAccount, true),
_put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend,
{test_double=0.0, test_boolean=true, testDouble=0.0, testString=null,
test_int=0, testBoolean=false, testInteger=0}, true),
_remove(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend, dummy,
true)], 192.168.1.174:33972, false)
27 Jun 2006 13:48:55,107 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor - bypassed locking as
method prepare() doesn't require locking
27 Jun 2006 13:48:55,108 DEBUG[] org.jboss.cache.interceptors.CallInterceptor -
Suppressing invocation of method
prepare(GlobalTransaction:<192.168.1.174:33972>:1,
[_put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend, dummy,
dummy, true), _put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend,
AOPInstance, [EMAIL PROTECTED], true),
_put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend,
__jboss:internal:class__, class com.gifts.business.MerchantDailyAccount, true),
_put(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend,
{test_double=0.0, test_boolean=true, testDouble=0.0, testString=null,
test_int=0, testBoolean=false, testInteger=0}, true),
_remove(GlobalTransaction:<192.168.1.174:33972>:1, /test/dailySpend, dummy,
true)], 192.168.1.174:33972, false) on cache.
27 Jun 2006 13:48:55,108 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Are we running a 1-phase commit? false
27 Jun 2006 13:48:55,108 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Finished remote prepare GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,134 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
(192.168.1.184:33307) call on method
[commit(GlobalTransaction:<192.168.1.174:33972>:1)]
27 Jun 2006 13:48:55,134 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Got gtx from method call GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,135 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Found local [EMAIL PROTECTED], global
TX=GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,135 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
executing commit(GlobalTransaction:<192.168.1.174:33972>:1)() with local TX
[EMAIL PROTECTED] under global tx GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,135 DEBUG[] org.jboss.cache.transaction.DummyTransaction -
processing beforeCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.RemoteSynchronizationHandler(gtx=GlobalTransaction:<192.168.1.174:33972>:1,
[EMAIL PROTECTED])]
27 Jun 2006 13:48:55,135 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Running beforeCompletion on gtx GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,135 DEBUG[] org.jboss.cache.transaction.DummyTransaction -
processing afterCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.RemoteSynchronizationHandler(gtx=GlobalTransaction:<192.168.1.174:33972>:1,
[EMAIL PROTECTED])]
27 Jun 2006 13:48:55,135 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
calling aftercompletion for GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,136 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Running commit phase. One phase? false
27 Jun 2006 13:48:55,136 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
running commit for GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,136 DEBUG[]
org.jboss.cache.interceptors.ReplicationInterceptor -
IsLocalCommitOrRollback=false
27 Jun 2006 13:48:55,136 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor -
PessimisticLockInterceptor invoked for method
commit(GlobalTransaction:<192.168.1.174:33972>:1)
27 Jun 2006 13:48:55,136 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor - committing cache with
gtx GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,136 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor - releasing lock for
/test/dailySpend (write owner=GlobalTransaction:<192.168.1.174:33972>:1)
27 Jun 2006 13:48:55,136 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor - releasing lock for
/test (read owners=[GlobalTransaction:<192.168.1.174:33972>:1])
27 Jun 2006 13:48:55,137 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor - removing local
transaction [EMAIL PROTECTED] and global transaction
GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,137 DEBUG[]
org.jboss.cache.interceptors.PessimisticLockInterceptor - bypassed locking as
method commit() doesn't require locking
27 Jun 2006 13:48:55,137 DEBUG[] org.jboss.cache.interceptors.CallInterceptor -
Suppressing invocation of method
commit(GlobalTransaction:<192.168.1.174:33972>:1) on cache.
27 Jun 2006 13:48:55,137 DEBUG[] org.jboss.cache.interceptors.UnlockInterceptor
- Attempting to release locks on current thread. Lock table is {}
27 Jun 2006 13:48:55,137 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Finished local commit/rollback method for
GlobalTransaction:<192.168.1.174:33972>:1
27 Jun 2006 13:48:55,137 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Finished commit phase
27 Jun 2006 13:48:55,137 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Resuming suspended transaction null
27 Jun 2006 13:48:55,137 DEBUG[] org.jboss.cache.interceptors.TxInterceptor -
Finished remote commit/rollback method for
GlobalTransaction:<192.168.1.174:33972>:1
Thank you so much for your help!
Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953804#3953804
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953804
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user