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 [EMAIL PROTECTED], 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 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:2,
 [EMAIL PROTECTED])]
  | 
  | 2008-01-24 15:59:05,586 DEBUG 
[org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:2,
 [EMAIL PROTECTED])]
  | 
  | 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 [EMAIL PROTECTED], 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 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:3,
 [EMAIL PROTECTED])]
  | 
  | 2008-01-24 15:59:06,493 DEBUG 
[org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:3,
 [EMAIL PROTECTED])]
  | 
  | 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 [EMAIL PROTECTED], handlers=[]
  | 
  | 2008-01-24 15:59:21,930 DEBUG 
[org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:4,
 [EMAIL PROTECTED])]
  | 
  | 2008-01-24 15:59:21,930 DEBUG 
[org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:4,
 [EMAIL PROTECTED])]
  | 
  | 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 [EMAIL PROTECTED], handlers=[]
  | 
  | 2008-01-24 15:59:21,930 DEBUG 
[org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:5,
 [EMAIL PROTECTED])]
  | 
  | 2008-01-24 15:59:21,930 DEBUG 
[org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for 
[EMAIL PROTECTED], 
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<null>:5,
 [EMAIL PROTECTED])]
  | 
  | 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#4123047

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123047
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to