[jboss-user] [JBossCache] - Re: TCP replication conf issue ?

oew do-not-reply at jboss.com
Fri Jan 12 09:52:20 EST 2007


Hi Manik,

Use of TcpDelegatingCacheLoader is my final intention , but it will come later  I do this step after step.

regarding the jgroups version i use the on shipped with the cache distribution in both cases (1.4.0 & 1.4.1)

here is jbosscache.log when i use 1.4.1 :

  | 2007-01-12 15:06:42,492 INFO  [org.jboss.cache.PropertyConfigurator] (main) Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at a17083
  | 2007-01-12 15:06:42,492 INFO  [org.jboss.cache.PropertyConfigurator] (main) attribute size: 15
  | 2007-01-12 15:06:42,648 INFO  [org.jboss.cache.factories.InterceptorChainFactory] (main) interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 2007-01-12 15:06:46,975 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|0] [10.32.2.48:7800]
  | 2007-01-12 15:06:47,022 INFO  [org.jboss.cache.TreeCache] (main) TreeCache local address is 10.32.2.48:7800
  | 2007-01-12 15:06:47,022 INFO  [org.jboss.cache.TreeCache] (main) State could not be retrieved (we are the first member in group)
  | 2007-01-12 15:06:47,100 INFO  [org.jboss.cache.TreeCache] (main) parseConfig(): PojoCacheConfig is empty
  | 2007-01-12 15:06:47,100 INFO  [org.jboss.cache.PropertyConfigurator] (main) Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 197bb7
  | 2007-01-12 15:06:47,116 INFO  [org.jboss.cache.PropertyConfigurator] (main) attribute size: 15
  | 2007-01-12 15:06:47,131 INFO  [org.jboss.cache.factories.InterceptorChainFactory] (main) interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 2007-01-12 15:06:50,864 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7801|0] [10.32.2.48:7801]
  | 2007-01-12 15:06:50,864 INFO  [org.jboss.cache.TreeCache] (main) TreeCache local address is 10.32.2.48:7801
  | 2007-01-12 15:06:50,864 INFO  [org.jboss.cache.TreeCache] (main) State could not be retrieved (we are the first member in group)
  | 2007-01-12 15:06:50,896 INFO  [org.jboss.cache.TreeCache] (main) parseConfig(): PojoCacheConfig is empty
  | 2007-01-12 15:06:50,896 INFO  [org.jboss.cache.PropertyConfigurator] (main) Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 80cac9
  | 2007-01-12 15:06:50,911 INFO  [org.jboss.cache.PropertyConfigurator] (main) attribute size: 15
  | 2007-01-12 15:06:50,943 INFO  [org.jboss.cache.factories.InterceptorChainFactory] (main) interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 2007-01-12 15:06:51,177 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7801|1] [10.32.2.48:7801, 10.32.2.48:7802]
  | 2007-01-12 15:06:51,177 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7801|1] [10.32.2.48:7801, 10.32.2.48:7802]
  | 2007-01-12 15:06:51,177 INFO  [org.jboss.cache.TreeCache] (main) TreeCache local address is 10.32.2.48:7802
  | 2007-01-12 15:06:51,224 INFO  [org.jboss.cache.statetransfer.StateTransferGenerator_140] (UpHandler (STATE_TRANSFER)) returning the state for tree rooted in /(5619 bytes)
  | 2007-01-12 15:06:51,224 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) received the state (size=5619 bytes)
  | 2007-01-12 15:06:51,317 INFO  [org.jboss.cache.TreeCache] (main) state was retrieved successfully (in 140 milliseconds)
  | 2007-01-12 15:06:51,317 INFO  [org.jboss.cache.TreeCache] (main) parseConfig(): PojoCacheConfig is empty
  | 

7800 & 7801 do not see each other,  the test case inserts in 7800 and reads from 7801 & 7802 , of course it fails

and here is the log when running with 1.4.0 :

  | 
  | 2007-01-12 15:04:22,474 INFO  [org.jboss.cache.PropertyConfigurator] (main) Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at c88440
  | 2007-01-12 15:04:22,490 INFO  [org.jboss.cache.PropertyConfigurator] (main) attribute size: 15
  | 2007-01-12 15:04:22,615 INFO  [org.jboss.cache.factories.InterceptorChainFactory] (main) interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 2007-01-12 15:04:27,051 INFO  [org.jboss.cache.TreeCache] (main) TreeCache local address is 10.32.2.48:7800
  | 2007-01-12 15:04:27,051 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|0] [10.32.2.48:7800]
  | 2007-01-12 15:04:27,082 INFO  [org.jboss.cache.TreeCache] (main) State could not be retrieved (we are the first member in group)
  | 2007-01-12 15:04:27,192 INFO  [org.jboss.cache.TreeCache] (main) parseConfig(): PojoCacheConfig is empty
  | 2007-01-12 15:04:27,192 INFO  [org.jboss.cache.PropertyConfigurator] (main) Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 1a918d5
  | 2007-01-12 15:04:27,207 INFO  [org.jboss.cache.PropertyConfigurator] (main) attribute size: 15
  | 2007-01-12 15:04:27,207 INFO  [org.jboss.cache.factories.InterceptorChainFactory] (main) interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 2007-01-12 15:04:30,909 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|1] [10.32.2.48:7800, 10.32.2.48:7801]
  | 2007-01-12 15:04:30,909 INFO  [org.jboss.cache.TreeCache] (main) TreeCache local address is 10.32.2.48:7801
  | 2007-01-12 15:04:30,909 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|1] [10.32.2.48:7800, 10.32.2.48:7801]
  | 2007-01-12 15:04:30,972 INFO  [org.jboss.cache.statetransfer.StateTransferGenerator_140] (UpHandler (STATE_TRANSFER)) returning the state for tree rooted in /(5619 bytes)
  | 2007-01-12 15:04:30,972 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) received the state (size=5619 bytes)
  | 2007-01-12 15:04:31,081 INFO  [org.jboss.cache.TreeCache] (main) state was retrieved successfully (in 172 milliseconds)
  | 2007-01-12 15:04:31,097 INFO  [org.jboss.cache.TreeCache] (main) parseConfig(): PojoCacheConfig is empty
  | 2007-01-12 15:04:31,097 INFO  [org.jboss.cache.PropertyConfigurator] (main) Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 5bb966
  | 2007-01-12 15:04:31,112 INFO  [org.jboss.cache.PropertyConfigurator] (main) attribute size: 15
  | 2007-01-12 15:04:31,144 INFO  [org.jboss.cache.factories.InterceptorChainFactory] (main) interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.CacheStoreInterceptor
  | class org.jboss.cache.interceptors.CacheLoaderInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 2007-01-12 15:04:31,300 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|2] [10.32.2.48:7800, 10.32.2.48:7801, 10.32.2.48:7802]
  | 2007-01-12 15:04:31,300 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|2] [10.32.2.48:7800, 10.32.2.48:7801, 10.32.2.48:7802]
  | 2007-01-12 15:04:31,300 INFO  [org.jboss.cache.TreeCache] (main) TreeCache local address is 10.32.2.48:7802
  | 2007-01-12 15:04:31,300 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) viewAccepted(): [10.32.2.48:7800|2] [10.32.2.48:7800, 10.32.2.48:7801, 10.32.2.48:7802]
  | 2007-01-12 15:04:31,300 INFO  [org.jboss.cache.statetransfer.StateTransferGenerator_140] (UpHandler (STATE_TRANSFER)) returning the state for tree rooted in /(5619 bytes)
  | 2007-01-12 15:04:31,315 INFO  [org.jboss.cache.TreeCache] (UpHandler (STATE_TRANSFER)) received the state (size=5619 bytes)
  | 2007-01-12 15:04:31,362 INFO  [org.jboss.cache.TreeCache] (main) state was retrieved successfully (in 62 milliseconds)
  | 2007-01-12 15:04:31,362 INFO  [org.jboss.cache.TreeCache] (main) parseConfig(): PojoCacheConfig is empty
  | 

same code produces these 2 files!  just libs are different



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

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



More information about the jboss-user mailing list