[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1266) Startup errors due to replicated addChild calls
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Jan 15 00:21:24 EST 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1266?page=all ]
Brian Stansberry closed JBCACHE-1266.
-------------------------------------
Resolution: Done
Fixed by replacing the Node.addChild(Fqn) calls with Cache.put(Fqn, null).
> Startup errors due to replicated addChild calls
> -----------------------------------------------
>
> Key: JBCACHE-1266
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1266
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Buddy Replication
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: 2.1.0.CR3
>
>
> JBCACHE-1265 is causing problems as a local-only node addition is getting replicated:
> First, in buddy group formation,
> 2008-01-14 16:59:35,104 DEBUG [org.jboss.cache.CacheImpl.DefaultPartition-SFSBCache.127_0_0_1:33296] Recieved exception'org.jboss.cache.CacheException: Cannot make a backup Fqn from a backup Fqn! Attempting to create a backup of /_BUDDY_BACKUP_/127.0.0.1_33296' from 192.168.1.145:33302
> 2008-01-14 16:59:35,104 ERROR [org.jboss.cache.buddyreplication.BuddyManager] Unable to communicate with Buddy for some reason
> org.jboss.cache.CacheException: Cannot make a backup Fqn from a backup Fqn! Attempting to create a backup of /_BUDDY_BACKUP_/127.0.0.1_33296
> at org.jboss.cache.buddyreplication.BuddyManager.getBackupFqn(BuddyManager.java:627)
> at org.jboss.cache.buddyreplication.BuddyManager.getBackupFqn(BuddyManager.java:1042)
> at org.jboss.cache.buddyreplication.BuddyManager.handleArgs(BuddyManager.java:1029)
> at org.jboss.cache.buddyreplication.BuddyManager.transformFqns(BuddyManager.java:691)
> at org.jboss.cache.buddyreplication.BuddyManager.transformFqns(BuddyManager.java:683)
> at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:104)
> at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:80)
> at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:75)
> at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:219)
> at org.jboss.cache.interceptors.ReplicationInterceptor.handlePutDataMethod(ReplicationInterceptor.java:119)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:72)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:62)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:452)
> at org.jboss.cache.interceptors.TxInterceptor.handlePutDataMethod(TxInterceptor.java:275)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:72)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.CacheMgmtInterceptor.handlePutData(CacheMgmtInterceptor.java:112)
> at org.jboss.cache.interceptors.CacheMgmtInterceptor.handlePutDataMethod(CacheMgmtInterceptor.java:99)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:72)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:73)
> at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:123)
> at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
> at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:474)
> at org.jboss.cache.invocation.NodeInvocationDelegate.addChild(NodeInvocationDelegate.java:279)
> at org.jboss.cache.buddyreplication.BuddyManager.handleAssignToBuddyGroup(BuddyManager.java:541)
> at org.jboss.cache.invocation.RemoteCacheInvocationDelegate.assignToBuddyGroup(RemoteCacheInvocationDelegate.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
> at org.jboss.cache.marshall.InactiveRegionAwareRpcDispatcher.handle(InactiveRegionAwareRpcDispatcher.java:77)
> at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:624)
> at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:533)
> at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:365)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:746)
> at org.jgroups.JChannel.up(JChannel.java:1151)
> .....
> Next, in region activation:
> 2008-01-14 17:25:50,158 ERROR [org.jboss.cache.RegionManager] failed to activate /JSESSION/localhost/http-field-pass
> org.jboss.cache.CacheException: Cannot make a backup Fqn from a backup Fqn! Attempting to create a backup of /_BUDDY_BACKUP_/192.168.1.145_33313/JSESSION/localhost/http-field-pass
> at org.jboss.cache.buddyreplication.BuddyManager.getBackupFqn(BuddyManager.java:627)
> at org.jboss.cache.buddyreplication.BuddyManager.getBackupFqn(BuddyManager.java:1042)
> at org.jboss.cache.buddyreplication.BuddyManager.handleArgs(BuddyManager.java:1029)
> at org.jboss.cache.buddyreplication.BuddyManager.transformFqns(BuddyManager.java:691)
> at org.jboss.cache.buddyreplication.BuddyManager.transformFqns(BuddyManager.java:683)
> at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:104)
> at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:80)
> at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:75)
> at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:213)
> at org.jboss.cache.interceptors.ReplicationInterceptor.handlePutDataMethod(ReplicationInterceptor.java:119)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:72)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:62)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:452)
> at org.jboss.cache.interceptors.TxInterceptor.handlePutDataMethod(TxInterceptor.java:275)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:72)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.CacheMgmtInterceptor.handlePutData(CacheMgmtInterceptor.java:112)
> at org.jboss.cache.interceptors.CacheMgmtInterceptor.handlePutDataMethod(CacheMgmtInterceptor.java:99)
> at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:72)
> at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
> at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:73)
> at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:123)
> at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
> at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:474)
> at org.jboss.cache.invocation.NodeInvocationDelegate.addChild(NodeInvocationDelegate.java:279)
> at org.jboss.cache.RegionManager.activateRegion(RegionManager.java:436)
> at org.jboss.cache.RegionManager.activate(RegionManager.java:325)
> at org.jboss.cache.RegionManager.activate(RegionManager.java:288)
> at org.jboss.cache.RegionImpl.activate(RegionImpl.java:82)
> at org.jboss.web.tomcat.service.session.JBossCacheService.start(JBossCacheService.java:218)
> ......
> I'm raising this as a separate issue to ensure we find workarounds if JBCACHE-1265 can't be solved for CR3.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list