3 Replies Latest reply on Nov 8, 2011 11:26 AM by Kumaran Raj

    Infinispan 5.0 on Jboss 6

    Kumaran Raj Newbie

      I recently upgraded the infinispan 4.2 to 5.0 on Jboss 6, and everything is working fine in a clustered environment. But when starting the Jboss Server, it logs the following warning. Will it causes any issue? Are there any ways to stop this?

       

      2011-11-02 10:40:28,959 WARN  [org.infinispan.manager.DefaultCacheManager] (Thread-2) ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront.

        • 1. Re: Infinispan 5.0 on Jboss 6
          Sanne Grinovero Master

          it's not required anymore to start all caches in parallel since 5.1, so you could consider upgrading.

          If you start you caches all in a short window of time, you shouldn't have any practical issues; there's no way to remove the warning other than configuring your logger.

          • 3. Re: Infinispan 5.0 on Jboss 6
            Kumaran Raj Newbie

            When the ejb is passivating, I get the following error. Are there any fix for this problem?

             

            21:41:34,463 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] ISPN000136: Execution error: org.infinispan.loaders.CacheLoaderException: Error while reading from file

                    at org.infinispan.loaders.file.FileCacheStore.loadBucket(FileCacheStore.java:299) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.file.FileCacheStore.loadBucket(FileCacheStore.java:268) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:60) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:49) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.LockSupportCacheStore.load(LockSupportCacheStore.java:130) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:149) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeededAndUpdateStats(CacheLoaderInterceptor.java:218) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:90) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.ActivationInterceptor.visitGetKeyValueCommand(ActivationInterceptor.java:91) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:133) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:90) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.MarshalledValueInterceptor.visitGetKeyValueCommand(MarshalledValueInterceptor.java:189) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:201) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:192) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:84) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:104) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:64) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:90) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:133) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:90) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.IsMarshallableInterceptor.visitGetKeyValueCommand(IsMarshallableInterceptor.java:80) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:77) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:90) [:5.0.0-SNAPSHOT]

                    at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [:5.0.0-SNAPSHOT]

                    at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:274) [:5.0.0-SNAPSHOT]

                    at org.infinispan.CacheImpl.get(CacheImpl.java:242) [:5.0.0-SNAPSHOT]

                    at org.jboss.ejb3.cache.infinispan.InfinispanStatefulCache$2.invoke(InfinispanStatefulCache.java:238) [:1.0.0-alpha-4]

                    at org.jboss.ejb3.cache.infinispan.InfinispanStatefulCache$2.invoke(InfinispanStatefulCache.java:234) [:1.0.0-alpha-4]

                    at org.jboss.ha.ispn.invoker.RetryingCacheInvoker.invoke(RetryingCacheInvoker.java:69) [:1.0.0.Final]

                    at org.jboss.ejb3.cache.infinispan.InfinispanStatefulCache.remove(InfinispanStatefulCache.java:247) [:1.0.0-alpha-4]

                    at org.jboss.ejb3.cache.infinispan.InfinispanStatefulCache$RemoveTask.call(InfinispanStatefulCache.java:700) [:1.0.0-alpha-4]

                    at org.jboss.ejb3.cache.infinispan.InfinispanStatefulCache$RemoveTask.call(InfinispanStatefulCache.java:686) [:1.0.0-alpha-4]

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_27]

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_27]

                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [:1.6.0_27]

                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [:1.6.0_27]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]

            Caused by: java.io.EOFException: The stream ended unexpectedly.  Please check whether the source of the stream encountered any issues generating the stream.

                    at org.infinispan.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:193) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.file.FileCacheStore.objectFromInputStreamInReentrantMode(FileCacheStore.java:418) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.file.FileCacheStore.loadBucket(FileCacheStore.java:294) [:5.0.0-SNAPSHOT]

                    ... 52 more

            Caused by: java.io.EOFException: Read past end of file

                    at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126) [:1.3.0.GA]

                    at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:263) [:1.3.0.GA]

                    at org.jboss.marshalling.SimpleDataInput.readIntDirect(SimpleDataInput.java:306) [:1.3.0.GA]

                    at org.jboss.marshalling.SimpleDataInput.readInt(SimpleDataInput.java:285) [:1.3.0.GA]

                    at org.infinispan.marshall.MarshalledValue$Externalizer.readObject(MarshalledValue.java:325) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.MarshalledValue$Externalizer.readObject(MarshalledValue.java:305) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:356) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:244) [:5.0.0-SNAPSHOT]

                    at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351) [:1.3.0.GA]

                    at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [:1.3.0.GA]

                    at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37) [:1.3.0.GA]

                    at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:132) [:5.0.0-SNAPSHOT]

                    at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:123) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:356) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:244) [:5.0.0-SNAPSHOT]

                    at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351) [:1.3.0.GA]

                    at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [:1.3.0.GA]

                    at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37) [:1.3.0.GA]

                    at org.infinispan.loaders.bucket.Bucket$Externalizer.readObject(Bucket.java:151) [:5.0.0-SNAPSHOT]

                    at org.infinispan.loaders.bucket.Bucket$Externalizer.readObject(Bucket.java:133) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:356) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:244) [:5.0.0-SNAPSHOT]

                    at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351) [:1.3.0.GA]

                    at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [:1.3.0.GA]

                    at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37) [:1.3.0.GA]

                    at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectFromObjectStream(GenericJBossMarshaller.java:194) [:5.0.0-SNAPSHOT]

                    at org.infinispan.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:191) [:5.0.0-SNAPSHOT]

                    ... 54 more