Ok tried the Dummy Transaction manager and same story, its in the memory of the cache but
not in the DB.
Log is as follows
| 2008-01-24 15:59:05,586 INFO [STDOUT] 2008-01-24 15:59:05,586 DEBUG
[at.sit.cdms.web.actions.ActionFactory] - Looking for bean addItem
|
| 2008-01-24 15:59:05,586 DEBUG [at.sit.cdms.web.actions.ActionFactory] Looking for bean
addItem
|
| 2008-01-24 15:59:05,586 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached
instance of singleton bean 'addItem'
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx if not present for
Thread[http-127.0.0.1-8080-1,5,jboss]
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.transaction.DummyTransaction]
registering synchronization handler
tx=org.jboss.cache.transaction.DummyTransaction@8634933, handlers=[]
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql:
select node from jbosscache where fqn=? (/quotes/2)
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction@8634933,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:2,
tx=org.jboss.cache.transaction.DummyTransaction@8634933)]
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction@8634933,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:2,
tx=org.jboss.cache.transaction.DummyTransaction@8634933)]
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running
commit phase. One phase? false
|
| 2008-01-24 15:59:05,586 DEBUG
[org.jboss.cache.interceptors.OptimisticValidatorInterceptor] Commiting successfully
validated changes for GlobalTransaction GlobalTransaction:<null>:2
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
local commit/rollback method for GlobalTransaction:<null>:2
|
| 2008-01-24 15:59:05,586 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
commit phase
|
| 2008-01-24 15:59:05,586 INFO [STDOUT] 2008-01-24 15:59:05,586 DEBUG
[at.sit.cdms.web.actions.test.AddItem] - Added item with index of 2
|
| 2008-01-24 15:59:05,586 DEBUG [at.sit.cdms.web.actions.test.AddItem] Added item with
index of 2
|
| 2008-01-24 15:59:06,477 INFO [STDOUT] 2008-01-24 15:59:06,477 DEBUG
[at.sit.cdms.web.actions.ActionFactory] - Looking for bean addItem
|
| 2008-01-24 15:59:06,477 DEBUG [at.sit.cdms.web.actions.ActionFactory] Looking for bean
addItem
|
| 2008-01-24 15:59:06,477 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached
instance of singleton bean 'addItem'
|
| 2008-01-24 15:59:06,477 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx if not present for
Thread[http-127.0.0.1-8080-1,5,jboss]
|
| 2008-01-24 15:59:06,477 DEBUG [org.jboss.cache.transaction.DummyTransaction]
registering synchronization handler
tx=org.jboss.cache.transaction.DummyTransaction@32573099, handlers=[]
|
| 2008-01-24 15:59:06,477 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql:
select node from jbosscache where fqn=? (/quotes/3)
|
| 2008-01-24 15:59:06,493 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction@32573099,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:3,
tx=org.jboss.cache.transaction.DummyTransaction@32573099)]
|
| 2008-01-24 15:59:06,493 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction@32573099,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:3,
tx=org.jboss.cache.transaction.DummyTransaction@32573099)]
|
| 2008-01-24 15:59:06,493 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running
commit phase. One phase? false
|
| 2008-01-24 15:59:06,493 DEBUG
[org.jboss.cache.interceptors.OptimisticValidatorInterceptor] Commiting successfully
validated changes for GlobalTransaction GlobalTransaction:<null>:3
|
| 2008-01-24 15:59:06,493 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
local commit/rollback method for GlobalTransaction:<null>:3
|
| 2008-01-24 15:59:06,493 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
commit phase
|
| 2008-01-24 15:59:06,493 INFO [STDOUT] 2008-01-24 15:59:06,493 DEBUG
[at.sit.cdms.web.actions.test.AddItem] - Added item with index of 3
|
| 2008-01-24 15:59:06,493 DEBUG [at.sit.cdms.web.actions.test.AddItem] Added item with
index of 3
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx if not present for
Thread[EvictionTimer-0,5,jboss]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.transaction.DummyTransaction]
registering synchronization handler
tx=org.jboss.cache.transaction.DummyTransaction@16702321, handlers=[]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction@16702321,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:4,
tx=org.jboss.cache.transaction.DummyTransaction@16702321)]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction@16702321,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:4,
tx=org.jboss.cache.transaction.DummyTransaction@16702321)]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running
commit phase. One phase? false
|
| 2008-01-24 15:59:21,930 DEBUG
[org.jboss.cache.interceptors.OptimisticValidatorInterceptor] Commiting successfully
validated changes for GlobalTransaction GlobalTransaction:<null>:4
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
local commit/rollback method for GlobalTransaction:<null>:4
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
commit phase
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local
transaction exists - registering global tx if not present for
Thread[EvictionTimer-0,5,jboss]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.transaction.DummyTransaction]
registering synchronization handler
tx=org.jboss.cache.transaction.DummyTransaction@33097577, handlers=[]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction@33097577,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:5,
tx=org.jboss.cache.transaction.DummyTransaction@33097577)]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction@33097577,
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:5,
tx=org.jboss.cache.transaction.DummyTransaction@33097577)]
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running
commit phase. One phase? false
|
| 2008-01-24 15:59:21,930 DEBUG
[org.jboss.cache.interceptors.OptimisticValidatorInterceptor] Commiting successfully
validated changes for GlobalTransaction GlobalTransaction:<null>:5
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
local commit/rollback method for GlobalTransaction:<null>:5
|
| 2008-01-24 15:59:21,930 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished
commit phase
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123047#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...