2 Replies Latest reply on Apr 9, 2014 7:27 AM by Amit Hora

    org.infinispan.CacheException: Unable to start cache loaders infinispan MongoDB

    Daniel Freitas Newbie

      Hello folks,

       

      I'm writing a web service layer using Resteasy and I tried to configure infinispan as a server side response cache, as described here: http://docs.jboss.org/resteasy/docs/3.0.1.Final/userguide/html_single/index.html#server_cache

       

      Because this layer is stateless and might be deployed on a multitude of nodes on heroku, I wanted to use a mongodb cache loader to store the cache data. This way, the cache would be synched between all nodes.

       

      However, when starting my server in my local machine, I get the following error:

       

      org.infinispan.CacheException: Unable to start cache loaders (full stack trace at the end of this message)

       

      Because RESTEasy uses infinispan 5.1.6 and I needed the mongodb loader (only available on 5.3.0) I added the follwoing dependencies to my gradle script to override the default transitive dependencies:

       

      compile 'org.infinispan:infinispan-core:5.3.0.Final'

      compile 'org.infinispan:infinispan-cachestore-mongodb:5.3.0.Final'

       

      I also configured infinispan.xml following the documentation on the site: https://docs.jboss.org/author/display/ISPN/Cache+Loaders+and+Stores#CacheLoadersandStores-MongoDBcacheloader

       

       

      <?xml version="1.0" encoding="UTF-8"?>
      <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="urn:infinispan:config:5.3
                                    http://www.infinispan.org/schemas/infinispan-config-5.3.xsd
                                    urn:infinispan:config:mongodb:5.3
                                    https://raw.github.com/infinispan/infinispan/5.3.x/cachestore/mongodb/src/main/resources/schema/mongodb-cachestore-config-5.3.xsd"
       xmlns="urn:infinispan:config:5.3">
      
           <namedCache name="nf-demo">
                <eviction strategy="LIRS" maxEntries="10" />
                     <loaders>
                          <mongodbStore xmlns="urn:infinispan:config:mongodb:5.3">
                               <connection host="localhost" port="27017" timeout="2000"
                                    acknowledgment="0" />
                               <storage database="infinispan_test_database" collection="infispan_cachestore" />
                          </mongodbStore>
                     </loaders>
           </namedCache>
      </infinispan>
      
      

       

      I'm not sure if it's a version conflict which is causing the issue or if it is a bug on the mongodb cache laoder. I'm also not sure if there's an additional step I need to perform to register the mongo db loader within infospan config. On another thread, someone had the same error when creating a custom loader because he didn't implement the CacheLoaderConfig.getCacheLoaderClassName(). I fussed around the mongo db loader source code in github but couldn't find any reference to this method. Here's the thread for reference: https://community.jboss.org/thread/218305

       

      Any help would be appreciated. Let me know if you need more info.

       

      Full Stacktrace:

       

      Failed startup of context org.gradle.api.plugins.jetty.internal.JettyPluginWebAppContext@6823bf90{/avivoca,/Users/daniel.freitas/dev/projects/mtl-lp-notification-layer/src/main/webapp}

      org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object of type CacheLoaderManagerImpl

                at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:207)

                at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:889)

                at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:658)

                at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:647)

                at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:550)

                at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:221)

                at org.infinispan.CacheImpl.start(CacheImpl.java:691)

                at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:685)

                at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:648)

                at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:544)

                at org.jboss.resteasy.plugins.cache.server.ServerCacheFeature.getXmlCache(ServerCacheFeature.java:88)

                at org.jboss.resteasy.plugins.cache.server.ServerCacheFeature.getCache(ServerCacheFeature.java:61)

                at org.jboss.resteasy.plugins.cache.server.ServerCacheFeature.configure(ServerCacheFeature.java:36)

                at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:1673)

                at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:1310)

                at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:1232)

                at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:531)

                at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:346)

                at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:241)

                at org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap.contextInitialized(ResteasyBootstrap.java:28)

                at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)

                at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)

                at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)

                at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)

                at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)

                at org.gradle.api.plugins.jetty.internal.JettyPluginWebAppContext.doStart(JettyPluginWebAppContext.java:112)

                at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

                at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)

                at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)

                at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

                at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)

                at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

                at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

                at org.mortbay.jetty.Server.doStart(Server.java:224)

                at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

                at org.gradle.api.plugins.jetty.internal.Jetty6PluginServer.start(Jetty6PluginServer.java:111)

                at org.gradle.api.plugins.jetty.AbstractJettyRunTask.startJettyInternal(AbstractJettyRunTask.java:247)

                at org.gradle.api.plugins.jetty.AbstractJettyRunTask.startJetty(AbstractJettyRunTask.java:198)

                at org.gradle.api.plugins.jetty.AbstractJettyRunTask.start(AbstractJettyRunTask.java:169)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:601)

                at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)

                at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)

                at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)

                at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:216)

                at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:122)

                at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147)

                at org.gradle.api.plugins.jetty.JettyRun_Decorated.invokeMethod(Unknown Source)

                at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)

                at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)

                at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:217)

                at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)

                at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:199)

                at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:526)

                at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:509)

                at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)

                at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)

                at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)

                at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)

                at org.gradle.api.internal.changedetection.state.CacheLockReleasingTaskExecuter$1.run(CacheLockReleasingTaskExecuter.java:35)

                at org.gradle.internal.Factories$1.create(Factories.java:22)

                at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:179)

                at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:232)

                at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunningOperation(DefaultPersistentDirectoryStore.java:142)

                at org.gradle.api.internal.changedetection.state.DefaultTaskArtifactStateCacheAccess.longRunningOperation(DefaultTaskArtifactStateCacheAccess.java:83)

                at org.gradle.api.internal.changedetection.state.CacheLockReleasingTaskExecuter.execute(CacheLockReleasingTaskExecuter.java:33)

                at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:58)

                at org.gradle.api.internal.tasks.execution.ContextualisingTaskExecuter.execute(ContextualisingTaskExecuter.java:34)

                at org.gradle.api.internal.changedetection.state.CacheLockAcquiringTaskExecuter$1.run(CacheLockAcquiringTaskExecuter.java:39)

                at org.gradle.internal.Factories$1.create(Factories.java:22)

                at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:124)

                at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:112)

                at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:134)

                at org.gradle.api.internal.changedetection.state.DefaultTaskArtifactStateCacheAccess.useCache(DefaultTaskArtifactStateCacheAccess.java:79)

                at org.gradle.api.internal.changedetection.state.CacheLockAcquiringTaskExecuter.execute(CacheLockAcquiringTaskExecuter.java:37)

                at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57)

                at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41)

                at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)

                at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52)

                at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42)

                at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:282)

                at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.executeTask(DefaultTaskPlanExecutor.java:48)

                at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.processTask(DefaultTaskPlanExecutor.java:34)

                at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:27)

                at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:89)

                at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)

                at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)

                at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)

                at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)

                at org.gradle.api.internal.changedetection.state.TaskCacheLockHandlingBuildExecuter$1.run(TaskCacheLockHandlingBuildExecuter.java:31)

                at org.gradle.internal.Factories$1.create(Factories.java:22)

                at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:124)

                at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:112)

                at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:134)

                at org.gradle.api.internal.changedetection.state.DefaultTaskArtifactStateCacheAccess.useCache(DefaultTaskArtifactStateCacheAccess.java:79)

                at org.gradle.api.internal.changedetection.state.TaskCacheLockHandlingBuildExecuter.execute(TaskCacheLockHandlingBuildExecuter.java:29)

                at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)

                at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)

                at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)

                at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)

                at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)

                at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54)

                at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:166)

                at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)

                at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)

                at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)

                at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)

                at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)

                at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)

                at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)

                at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)

                at org.gradle.api.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)

                at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)

                at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)

                at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)

                at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)

                at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)

                at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)

                at org.gradle.launcher.Main.doAction(Main.java:48)

                at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)

                at org.gradle.launcher.Main.main(Main.java:39)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:601)

                at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)

                at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)

                at org.gradle.launcher.GradleMain.main(GradleMain.java:26)

      Caused by: org.infinispan.CacheException: Unable to start cache loaders

                at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:163)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:601)

                at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)

                ... 130 more

      Caused by: java.lang.IllegalArgumentException: Cannot load null class!

                at org.infinispan.util.Util.getInstance(Util.java:224)

                at org.infinispan.loaders.CacheLoaderManagerImpl.createCacheLoader(CacheLoaderManagerImpl.java:346)

                at org.infinispan.loaders.CacheLoaderManagerImpl.createCacheLoader(CacheLoaderManagerImpl.java:336)

                at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:149)

                ... 135 more

        • 1. Re: org.infinispan.CacheException: Unable to start cache loaders infinispan MongoDB
          Daniel Freitas Newbie

          I was able to bypass this error by step debugging and setting the cache loader class name in the debugger. I was then able to login to the mongo db instance. However, when trying to add items to the cache, I get the error below. I'm starting to think that I do not have the correct library version at runtime. Or maybe infinispan with mongodb is not yet ready for primetime?

           

          ISPN000136: Execution error

          org.infinispan.marshall.NotSerializableException: Object of type class org.jboss.resteasy.plugins.cache.server.InfinispanCache$CacheEntry expected to be marshallable

          Unknown exception while executing GET /favorites/dmf

          org.infinispan.marshall.NotSerializableException: Object of type class org.jboss.resteasy.plugins.cache.server.InfinispanCache$CacheEntry expected to be marshallable

          /avivoca/api/favorites/dmf

          org.jboss.resteasy.spi.UnhandledException: org.infinispan.marshall.NotSerializableException: Object of type class org.jboss.resteasy.plugins.cache.server.InfinispanCache$CacheEntry expected to be marshallable

                    at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:247)

                    at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149)

                    at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:416)

                    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:376)

                    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)

                    at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)

                    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)

                    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)

                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

                    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

                    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

                    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

                    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

                    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

                    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

                    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

                    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

                    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

                    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

                    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

                    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

                    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)

                    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

                    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

                    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

                    at org.mortbay.jetty.Server.handle(Server.java:326)

                    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

                    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

                    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)

                    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

                    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

                    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

                    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

          Caused by: org.infinispan.marshall.NotSerializableException: Object of type class org.jboss.resteasy.plugins.cache.server.InfinispanCache$CacheEntry expected to be marshallable

          • 2. Re: org.infinispan.CacheException: Unable to start cache loaders infinispan MongoDB
            Amit Hora Newbie

            Hi ,

            I am facing the same issue,how you debugged that and how did you added the name
            can you please share it ,will be of a great help if you can  any pointers in that direction

             

            Regards,