[infinispan-dev] Infinispan 5.1 + AS 7.1
Paul Ferraro
paul.ferraro at redhat.com
Mon Oct 17 10:25:39 EDT 2011
Hey Dan,
Any progress on this? I'd like to push the Infinispan/JGroups upgrade
this week if possible, but this is currently blocking my progress.
Thanks,
Paul
On Fri, 2011-10-14 at 15:36 +0300, Dan Berindei wrote:
> Hi Paul
>
> Yeah, I have changed replicated mode's state transfer to transfer
> state in parallel from all the existing nodes and I'm using a
> consistent hash to determine which keys should be pushed by each node.
> This one looks tricky, the transport reports 0 members but it should
> always have at least the current node as a member.
>
> I'll try to run with REPL_ASYNC to see if it changes anything, but I
> don't think it should.
>
> Cheers
> Dan
>
>
> On Fri, Oct 14, 2011 at 1:27 AM, Paul Ferraro <paul.ferraro at redhat.com> wrote:
> > Hey all,
> >
> > I'm a bit stuck with the Infinispan 5.1 upgrade in AS 7.1.
> > I've tried both with BETA1 and a SNAPSHOT build from today.
> >
> > When a deployment forces a cache to start, I see the following
> > stacktrace:
> >
> > 14:06:07,584 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.infinispan.web.repl: org.jboss.msc.service.StartException in service jboss.infinispan.web.repl: Failed to start service
> > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_23]
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_23]
> > at java.lang.Thread.run(Thread.java:679) [:1.6.0_23]
> > Caused by: org.infinispan.CacheException: Unable to invoke method private void org.infinispan.statetransfer.BaseStateTransferManagerImpl.start() throws java.lang.Exception on object
> > at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
> > at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:825)
> > at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:624)
> > at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:527)
> > at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:177)
> > at org.infinispan.CacheImpl.start(CacheImpl.java:462)
> > at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:574)
> > at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:453)
> > at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:467)
> > at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:84)
> > at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:73)
> > at org.jboss.as.clustering.infinispan.subsystem.CacheService.start(CacheService.java:73)
> > at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> > ... 3 more
> > Caused by: java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
> > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_23]
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.6.0_23]
> > at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_23]
> > at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
> > ... 16 more
> > Caused by: java.lang.IllegalArgumentException: Invalid cache list for consistent hash: []
> > at org.infinispan.distribution.ch.AbstractWheelConsistentHash.setCaches(AbstractWheelConsistentHash.java:96)
> > at org.infinispan.distribution.ch.ConsistentHashHelper.createConsistentHash(ConsistentHashHelper.java:122)
> > at org.infinispan.statetransfer.ReplicatedStateTransferManagerImpl.createConsistentHash(ReplicatedStateTransferManagerImpl.java:56)
> > at org.infinispan.statetransfer.BaseStateTransferManagerImpl.start(BaseStateTransferManagerImpl.java:143)
> >
> > What's particularly puzzling is that this is a REPL_ASYNC cache with
> > state transfer enabled. Why are we attempting to create a consistent
> > hash here? Dan, is this related to your work?
> >
> > Thanks in advance,
> >
> > Paul
> >
> > _______________________________________________
> > infinispan-dev mailing list
> > infinispan-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
> >
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list